llvm-project/clang-tools-extra/clang-tidy/google
Samuel Benzaquen 59c8aa92b8 Add clang-tidy check google-global-names-in-headers.
Summary:
google-global-names-in-headers flags global namespace pollution in header files.
Right now it only triggers on using declarations and directives.

Reviewers: alexfh

Subscribers: curdeius

Differential Revision: http://reviews.llvm.org/D7563

llvm-svn: 228875
2015-02-11 21:21:05 +00:00
..
AvoidCStyleCastsCheck.cpp [clang-tidy] Fix some false positives in google-readability-casting 2015-01-29 15:17:13 +00:00
AvoidCStyleCastsCheck.h Implemented clang-tidy-check-specific options. 2014-09-12 08:53:36 +00:00
CMakeLists.txt Add clang-tidy check google-global-names-in-headers. 2015-02-11 21:21:05 +00:00
ExplicitConstructorCheck.cpp [clang-tidy] Detect dependent initializer_lists in google-explicit-constructor. 2015-02-05 12:49:07 +00:00
ExplicitConstructorCheck.h Implemented clang-tidy-check-specific options. 2014-09-12 08:53:36 +00:00
ExplicitMakePairCheck.cpp [cleanup] Re-sort the #include lines with llvm/utils/sort_includes.py 2015-01-14 11:24:38 +00:00
ExplicitMakePairCheck.h Implemented clang-tidy-check-specific options. 2014-09-12 08:53:36 +00:00
GlobalNamesInHeadersCheck.cpp Add clang-tidy check google-global-names-in-headers. 2015-02-11 21:21:05 +00:00
GlobalNamesInHeadersCheck.h Add clang-tidy check google-global-names-in-headers. 2015-02-11 21:21:05 +00:00
GoogleTidyModule.cpp Add clang-tidy check google-global-names-in-headers. 2015-02-11 21:21:05 +00:00
IntegerTypesCheck.cpp [cleanup] Re-sort the #include lines with llvm/utils/sort_includes.py 2015-01-14 11:24:38 +00:00
IntegerTypesCheck.h Implemented clang-tidy-check-specific options. 2014-09-12 08:53:36 +00:00
Makefile
MemsetZeroLengthCheck.cpp [cleanup] Re-sort the #include lines with llvm/utils/sort_includes.py 2015-01-14 11:24:38 +00:00
MemsetZeroLengthCheck.h Implemented clang-tidy-check-specific options. 2014-09-12 08:53:36 +00:00
NamedParameterCheck.cpp [cleanup] Re-sort the #include lines with llvm/utils/sort_includes.py 2015-01-14 11:24:38 +00:00
NamedParameterCheck.h Implemented clang-tidy-check-specific options. 2014-09-12 08:53:36 +00:00
OverloadedUnaryAndCheck.cpp [cleanup] Re-sort the #include lines with llvm/utils/sort_includes.py 2015-01-14 11:24:38 +00:00
OverloadedUnaryAndCheck.h Implemented clang-tidy-check-specific options. 2014-09-12 08:53:36 +00:00
StringReferenceMemberCheck.cpp [cleanup] Re-sort the #include lines with llvm/utils/sort_includes.py 2015-01-14 11:24:38 +00:00
StringReferenceMemberCheck.h Implemented clang-tidy-check-specific options. 2014-09-12 08:53:36 +00:00
TodoCommentCheck.cpp [clang-tidy] Allow space between "TODO" and "(user)" 2014-10-05 23:40:30 +00:00
TodoCommentCheck.h Provide user name in ClangTidyOptions. 2014-09-24 18:36:03 +00:00
UnnamedNamespaceInHeaderCheck.cpp [cleanup] Re-sort the #include lines with llvm/utils/sort_includes.py 2015-01-14 11:24:38 +00:00
UnnamedNamespaceInHeaderCheck.h Implemented clang-tidy-check-specific options. 2014-09-12 08:53:36 +00:00
UsingNamespaceDirectiveCheck.cpp [cleanup] Re-sort the #include lines with llvm/utils/sort_includes.py 2015-01-14 11:24:38 +00:00
UsingNamespaceDirectiveCheck.h Implemented clang-tidy-check-specific options. 2014-09-12 08:53:36 +00:00