Enable clang::find_bad_constructs for audio_coding (part 1/2).
This CL removes //build/config/clang:find_bad_constructs from the suppressed_configs list, which means that clang:find_bad_constructs is now enabled on these translation units. Bug: webrtc:9251, webrtc:163 Change-Id: I6a7d4964723a5e195189aac30a83d9e924e61dd7 Reviewed-on: https://webrtc-review.googlesource.com/89743 Reviewed-by: Oskar Sundbom <ossu@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24053}
This commit is contained in:
committed by
Commit Bot
parent
5e6dcb2e64
commit
682aac5103
@ -100,16 +100,16 @@ class AudioDecoderTest : public ::testing::Test {
|
||||
payload_type_(17),
|
||||
decoder_(NULL) {}
|
||||
|
||||
virtual ~AudioDecoderTest() {}
|
||||
~AudioDecoderTest() override {}
|
||||
|
||||
virtual void SetUp() {
|
||||
void SetUp() override {
|
||||
if (audio_encoder_)
|
||||
codec_input_rate_hz_ = audio_encoder_->SampleRateHz();
|
||||
// Create arrays.
|
||||
ASSERT_GT(data_length_, 0u) << "The test must set data_length_ > 0";
|
||||
}
|
||||
|
||||
virtual void TearDown() {
|
||||
void TearDown() override {
|
||||
delete decoder_;
|
||||
decoder_ = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user