summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/google/UnnamedNamespaceInHeaderCheck.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clang-tdiy] Add header file extension configuration support.Haojian Wu2016-02-051-6/+20
| | | | | | | | | | | | Summary: * Add a `HeaderFileExtensions` check option in misc-definitions-in-headers, google-build-namespaces and google-global-names-in-headers. Reviewers: aaron.ballman, alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D16113 llvm-svn: 259879
* [clang-tidy] Use proper capitalization and punctuation for diagnostic messages.Alexander Kornienko2016-01-081-1/+1
| | | | | | Use diagnostic parameters where possible instead of string concatenation. llvm-svn: 257176
* Disable clang-tidy Google checkers when not compiling in C++ mode. None of ↵Aaron Ballman2015-09-021-2/+5
| | | | | | the checkers require additional testing as the tests will not compile for other languages or modes, or the checkers would never match a valid construct. llvm-svn: 246663
* We no longer need a custom matcher for this; use the builtin AST matcher ↵Aaron Ballman2015-08-181-8/+2
| | | | | | instead. NFC, and existing tests should cover this change. llvm-svn: 245340
* [clang-tidy] Move user-defined matches to unnamed namespaces to prevent ODR ↵Alexander Kornienko2015-06-171-2/+2
| | | | | | violations. llvm-svn: 239904
* [clang-tidy] Refactor: Move google clang-tidy checks to namespace ↵Alexander Kornienko2015-03-051-0/+2
| | | | | | | | | | clang::tidy::google http://reviews.llvm.org/D7994 Patch by Richard Thomson! llvm-svn: 231364
* [cleanup] Re-sort the #include lines with llvm/utils/sort_includes.pyChandler Carruth2015-01-141-1/+1
| | | | | | | No functionality changed, this is just a mechanical cleanup to keep the order of #include lines consistent across the project. llvm-svn: 225976
* [clang-tidy] Add namespaces checkers.Benjamin Kramer2014-07-161-0/+51
This change contains of two checkers that warn about 1. anonymous namespaces in header files. 2. 'using namespace' directives everywhere. Differential Revision: http://reviews.llvm.org/D4523 llvm-svn: 213153
OpenPOWER on IntegriCloud