Adding NOLINT for typedefs.h and common_types.h

Now that we have moved WebRTC from src/webrtc to src/, common_types.h
and typedefs.h are triggering a cpplint error.

The cpplint complaint is:
Include the directory when naming .h files  [build/include] [4]

This CL disables the error but we have to remove these two headers
from the root directory.

NOPRESUBMIT=true

Bug: webrtc:5876
Change-Id: I08e1b69aadcc4b28ab83bf25e3819d135d41d333
Reviewed-on: https://webrtc-review.googlesource.com/1577
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Henrik Kjellander <kjellander@google.com>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19859}
This commit is contained in:
Mirko Bonadei
2017-09-15 13:58:09 +02:00
committed by Commit Bot
parent 563934e726
commit 7120742701
549 changed files with 595 additions and 595 deletions

View File

@ -16,7 +16,7 @@
#include "modules/audio_coding/neteq/audio_multi_vector.h"
#include "modules/audio_coding/neteq/time_stretch.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -16,7 +16,7 @@
#include "api/audio_codecs/audio_decoder.h"
#include "modules/audio_coding/neteq/neteq_decoder_enum.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
#ifdef WEBRTC_CODEC_G722
#include "modules/audio_coding/codecs/g722/g722_interface.h"

View File

@ -15,7 +15,7 @@
#include <algorithm>
#include "rtc_base/checks.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -17,7 +17,7 @@
#include "modules/audio_coding/neteq/audio_vector.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -16,7 +16,7 @@
#include <string>
#include "test/gtest.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -16,7 +16,7 @@
#include <memory>
#include "rtc_base/checks.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -16,7 +16,7 @@
#include "rtc_base/checks.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -16,7 +16,7 @@
#include <string>
#include "test/gtest.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -17,7 +17,7 @@
#include "modules/audio_coding/neteq/audio_multi_vector.h"
#include "modules/audio_coding/neteq/include/neteq.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -13,7 +13,7 @@
#include "modules/audio_coding/neteq/audio_multi_vector.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -11,7 +11,7 @@
#ifndef MODULES_AUDIO_CODING_NETEQ_CROSS_CORRELATION_H_
#define MODULES_AUDIO_CODING_NETEQ_CROSS_CORRELATION_H_
#include "common_types.h"
#include "common_types.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -15,7 +15,7 @@
#include "modules/audio_coding/neteq/include/neteq.h"
#include "modules/audio_coding/neteq/tick_timer.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -13,7 +13,7 @@
#include "modules/audio_coding/neteq/decision_logic.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -13,7 +13,7 @@
#include "modules/audio_coding/neteq/decision_logic.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -17,13 +17,13 @@
#include "api/audio_codecs/audio_decoder_factory.h"
#include "api/audio_codecs/audio_format.h"
#include "common_types.h" // NULL
#include "common_types.h" // NOLINT(build/include) // NULL
#include "modules/audio_coding/codecs/cng/webrtc_cng.h"
#include "modules/audio_coding/neteq/audio_decoder_impl.h"
#include "modules/audio_coding/neteq/packet.h"
#include "rtc_base/constructormagic.h"
#include "rtc_base/scoped_ref_ptr.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -19,7 +19,7 @@
#include "modules/audio_coding/neteq/audio_decoder_impl.h"
#include "modules/audio_coding/neteq/tick_timer.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -15,7 +15,7 @@
#include "modules/audio_coding/neteq/audio_multi_vector.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -12,7 +12,7 @@
#include "modules/audio_coding/neteq/audio_multi_vector.h"
#include "test/gtest.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -15,7 +15,7 @@
#include <string> // size_t
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -13,7 +13,7 @@
#include "modules/audio_coding/neteq/audio_multi_vector.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -16,7 +16,7 @@
#include "modules/audio_coding/neteq/audio_multi_vector.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -17,11 +17,11 @@
#include <vector>
#include "api/optional.h"
#include "common_types.h"
#include "common_types.h" // NOLINT(build/include)
#include "modules/audio_coding/neteq/audio_decoder_impl.h"
#include "rtc_base/constructormagic.h"
#include "rtc_base/scoped_ref_ptr.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -15,7 +15,7 @@
#include "modules/audio_coding/neteq/audio_multi_vector.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -15,7 +15,7 @@
#include "modules/audio_coding/codecs/pcm16b/pcm16b.h"
#include "rtc_base/constructormagic.h"
#include "test/gmock.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -17,7 +17,7 @@
#include "modules/audio_coding/include/audio_coding_module_typedefs.h"
#include "test/gtest.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
namespace {

View File

@ -13,7 +13,7 @@
#include <memory>
#include "api/audio_codecs/builtin_audio_decoder_factory.h"
#include "common_types.h"
#include "common_types.h" // NOLINT(build/include)
#include "modules/audio_coding/neteq/mock/mock_external_decoder_pcm16b.h"
#include "modules/audio_coding/neteq/tools/input_audio_file.h"
#include "modules/audio_coding/neteq/tools/neteq_external_decoder_test.h"

View File

@ -27,7 +27,7 @@
#include "rtc_base/constructormagic.h"
#include "rtc_base/criticalsection.h"
#include "rtc_base/thread_annotations.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -11,7 +11,7 @@
#include <memory>
#include "api/audio_codecs/builtin_audio_decoder_factory.h"
#include "common_types.h"
#include "common_types.h" // NOLINT(build/include)
#include "modules/audio_coding/neteq/accelerate.h"
#include "modules/audio_coding/neteq/expand.h"
#include "modules/audio_coding/neteq/include/neteq.h"

View File

@ -10,7 +10,7 @@
#include <memory>
#include "common_types.h"
#include "common_types.h" // NOLINT(build/include)
#include "modules/audio_coding/neteq/tools/neteq_external_decoder_test.h"
#include "modules/audio_coding/neteq/tools/rtp_generator.h"
#include "modules/include/module_common_types.h"

View File

@ -16,7 +16,7 @@
#include <list>
#include "api/audio_codecs/builtin_audio_decoder_factory.h"
#include "common_types.h"
#include "common_types.h" // NOLINT(build/include)
#include "modules/audio_coding/codecs/pcm16b/pcm16b.h"
#include "modules/audio_coding/neteq/include/neteq.h"
#include "modules/audio_coding/neteq/tools/input_audio_file.h"

View File

@ -21,7 +21,7 @@
#include <vector>
#include "api/audio_codecs/builtin_audio_decoder_factory.h"
#include "common_types.h"
#include "common_types.h" // NOLINT(build/include)
#include "modules/audio_coding/codecs/pcm16b/pcm16b.h"
#include "modules/audio_coding/neteq/tools/audio_loop.h"
#include "modules/audio_coding/neteq/tools/rtp_file_source.h"
@ -33,7 +33,7 @@
#include "rtc_base/stringencode.h"
#include "test/gtest.h"
#include "test/testsupport/fileutils.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
#ifdef WEBRTC_NETEQ_UNITTEST_BITEXACT
RTC_PUSH_IGNORING_WUNDEF()

View File

@ -20,7 +20,7 @@
#include "rtc_base/checks.h"
#include "rtc_base/constructormagic.h"
#include "rtc_base/safe_conversions.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -17,7 +17,7 @@
#include "api/audio_codecs/audio_decoder.h"
#include "modules/audio_coding/neteq/tick_timer.h"
#include "rtc_base/buffer.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -15,7 +15,7 @@
#include "modules/audio_coding/neteq/packet.h"
#include "modules/include/module_common_types.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -15,11 +15,11 @@
#include "api/audio_codecs/audio_decoder.h"
#include "common_audio/vad/include/webrtc_vad.h"
#include "common_types.h" // NULL
#include "common_types.h" // NOLINT(build/include) // NULL
#include "modules/audio_coding/neteq/defines.h"
#include "modules/audio_coding/neteq/packet.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -16,7 +16,7 @@
#include "modules/audio_coding/neteq/audio_multi_vector.h"
#include "modules/audio_coding/neteq/time_stretch.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -14,7 +14,7 @@
#include <string.h> // size_t
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -13,7 +13,7 @@
#include "modules/audio_coding/neteq/include/neteq.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -16,7 +16,7 @@
#include "modules/audio_coding/neteq/include/neteq.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -14,7 +14,7 @@
#include "modules/audio_coding/neteq/audio_multi_vector.h"
#include "modules/include/module_common_types.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -13,7 +13,7 @@
#include <map>
#include <stdio.h>
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
#include "modules/include/module_common_types.h"
enum stereoModes {

View File

@ -26,7 +26,7 @@
#include <algorithm>
#include "rtc_base/checks.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
// needed for NetEqDecoder
#include "modules/audio_coding/neteq/audio_decoder_impl.h"

View File

@ -26,7 +26,7 @@
#include <assert.h>
#include "test/gtest.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
/*********************/
/* Misc. definitions */

View File

@ -11,7 +11,7 @@
#include "modules/audio_coding/neteq/tools/neteq_performance_test.h"
#include "test/gtest.h"
#include "test/testsupport/perf_test.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
#include "system_wrappers/include/field_trial.h"
// Runs a test with 10% packet losses and 10% clock drift, to exercise

View File

@ -15,7 +15,7 @@
#include "modules/audio_coding/neteq/tools/neteq_performance_test.h"
#include "rtc_base/flags.h"
#include "test/testsupport/fileutils.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
// Define command line flags.
DEFINE_int(runtime_ms, 10000, "Simulated runtime in ms.");

View File

@ -15,7 +15,7 @@
#include "rtc_base/checks.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -16,7 +16,7 @@
#include "modules/audio_coding/neteq/audio_multi_vector.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -13,7 +13,7 @@
#include "modules/audio_coding/neteq/packet.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -17,7 +17,7 @@
#include "rtc_base/constructormagic.h"
#include "rtc_base/md5digest.h"
#include "rtc_base/stringencode.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
namespace test {

View File

@ -16,7 +16,7 @@
#include "api/array_view.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
namespace test {

View File

@ -13,7 +13,7 @@
#include "modules/include/module_common_types.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
namespace test {

View File

@ -14,7 +14,7 @@
#include <stdio.h>
#include <string>
#include "common_types.h"
#include "common_types.h" // NOLINT(build/include)
#include "modules/audio_coding/neteq/tools/packet_source.h"
#include "rtc_base/constructormagic.h"

View File

@ -16,7 +16,7 @@
#include <string>
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
namespace test {

View File

@ -19,7 +19,7 @@
#include "api/optional.h"
#include "modules/audio_coding/neteq/tools/neteq_input.h"
#include "modules/audio_coding/neteq/tools/neteq_test.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
namespace test {

View File

@ -15,7 +15,7 @@
#include <string>
#include "api/audio_codecs/audio_decoder.h"
#include "common_types.h"
#include "common_types.h" // NOLINT(build/include)
#include "modules/audio_coding/neteq/include/neteq.h"
#include "modules/include/module_common_types.h"

View File

@ -16,7 +16,7 @@
#include <string>
#include "api/optional.h"
#include "common_types.h"
#include "common_types.h" // NOLINT(build/include)
#include "modules/audio_coding/neteq/tools/packet.h"
#include "modules/audio_coding/neteq/tools/packet_source.h"
#include "rtc_base/buffer.h"

View File

@ -11,7 +11,7 @@
#include "modules/audio_coding/neteq/tools/neteq_performance_test.h"
#include "api/audio_codecs/builtin_audio_decoder_factory.h"
#include "common_types.h"
#include "common_types.h" // NOLINT(build/include)
#include "modules/audio_coding/codecs/pcm16b/pcm16b.h"
#include "modules/audio_coding/neteq/include/neteq.h"
#include "modules/audio_coding/neteq/tools/audio_loop.h"
@ -20,7 +20,7 @@
#include "rtc_base/checks.h"
#include "system_wrappers/include/clock.h"
#include "test/testsupport/fileutils.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
using webrtc::NetEq;
using webrtc::test::AudioLoop;

View File

@ -11,7 +11,7 @@
#ifndef MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_PERFORMANCE_TEST_H_
#define MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_PERFORMANCE_TEST_H_
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
namespace test {

View File

@ -14,7 +14,7 @@
#include <fstream>
#include <memory>
#include "common_types.h"
#include "common_types.h" // NOLINT(build/include)
#include "modules/audio_coding/neteq/include/neteq.h"
#include "modules/audio_coding/neteq/tools/audio_sink.h"
#include "modules/audio_coding/neteq/tools/input_audio_file.h"
@ -22,7 +22,7 @@
#include "modules/include/module_common_types.h"
#include "rtc_base/flags.h"
#include "test/gtest.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
namespace test {

View File

@ -36,7 +36,7 @@
#include "rtc_base/checks.h"
#include "rtc_base/flags.h"
#include "test/testsupport/fileutils.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
namespace test {

View File

@ -14,9 +14,9 @@
#include <list>
#include <memory>
#include "common_types.h"
#include "common_types.h" // NOLINT(build/include)
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -16,7 +16,7 @@
#include "modules/audio_coding/neteq/tools/packet.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
namespace test {

View File

@ -16,7 +16,7 @@
#include "common_audio/resampler/include/resampler.h"
#include "modules/audio_coding/neteq/tools/input_audio_file.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
namespace test {

View File

@ -16,7 +16,7 @@
#include <memory>
#include <string>
#include "common_types.h"
#include "common_types.h" // NOLINT(build/include)
#include "modules/audio_coding/neteq/tools/packet_source.h"
#include "modules/rtp_rtcp/include/rtp_rtcp_defines.h"
#include "rtc_base/constructormagic.h"

View File

@ -11,9 +11,9 @@
#ifndef MODULES_AUDIO_CODING_NETEQ_TOOLS_RTP_GENERATOR_H_
#define MODULES_AUDIO_CODING_NETEQ_TOOLS_RTP_GENERATOR_H_
#include "common_types.h"
#include "common_types.h" // NOLINT(build/include)
#include "rtc_base/constructormagic.h"
#include "typedefs.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
namespace test {