llvm-project/clang-tools-extra/clang-tidy
Roman Lebedev 728284dc39 [clang-tidy] FunctionSizeCheck: wrap FunctionASTVisitor into anon namespace, NFC
This check is relatively simple, and is often being used
as an example. I'm aware of at least two cases, when
simply copying the FunctionASTVisitor class to a new
check resulted in a rather unobvious segfault. Having it
in anonymous namespace prevents such a problem.

No functionality change, so i opted to avoid phabricator,
especially since clang-tidy reviews are seriously jammed.

llvm-svn: 312912
2017-09-11 13:12:31 +00:00
..
android [clang-tidy] Remove unused static variable. 2017-08-16 21:00:06 +00:00
boost [clang-tidy] boost-use-to-string arg expr location bugfix 2016-06-28 08:16:20 +00:00
bugprone [clang-tidy] bugprone-undefined-memory-manipulation: include type into the message 2017-08-24 12:11:05 +00:00
cert [clang-tidy] When" -fno-exceptions is used", this warning is better to be suppressed. 2017-06-07 17:41:59 +00:00
cppcoreguidelines [cppcoreguidelines] Don't rely on SmallPtrSet iteration order. 2017-08-30 20:18:40 +00:00
google Adapt clang-tidy checks to changing semantics of hasDeclaration. 2017-08-02 13:13:11 +00:00
hicpp [clang-tidy] add more aliases for the hicpp module 2017-09-11 09:20:07 +00:00
llvm [clang-tidy] Unify the way IncludeStyle and HeaderFileExtesions options are used 2017-07-20 12:02:03 +00:00
misc [clang-tidy] Fix 'misc-misplaced-widening-cast' assertion error. 2017-08-29 06:25:24 +00:00
modernize [clang-tidy] A follow-up fix of braced-init-list constructors in make-unique check. 2017-08-24 13:35:55 +00:00
mpi modernize-use-auto NFC fixes 2016-12-14 15:29:23 +00:00
performance [clang-tidy] 'implicit cast' -> 'implicit conversion' 2017-08-08 14:53:52 +00:00
plugin [clang-tidy][Part1] Add a new module Android and three new checks. 2017-06-23 21:37:29 +00:00
readability [clang-tidy] FunctionSizeCheck: wrap FunctionASTVisitor into anon namespace, NFC 2017-09-11 13:12:31 +00:00
tool Update for PrintHelpMessage not calling exit. 2017-09-08 00:33:39 +00:00
utils [clang-tidy] Unify the way IncludeStyle and HeaderFileExtesions options are used 2017-07-20 12:02:03 +00:00
CMakeLists.txt [clang-tidy] Add bugprone-suspicious-memset-usage check 2017-07-14 12:15:55 +00:00
ClangTidy.cpp Change getChecksFilter() interface to hide implementation details. 2017-05-17 14:39:47 +00:00
ClangTidy.h [clang-tidy] Add FormatStyle configuration option. 2017-04-06 13:41:29 +00:00
ClangTidyDiagnosticConsumer.cpp [clang-tidy] Ignore newlines in checks list 2017-08-09 16:00:31 +00:00
ClangTidyDiagnosticConsumer.h [clang-tidy] Optimize GlobList::contains 2017-05-18 01:13:51 +00:00
ClangTidyModule.cpp Change getChecksFilter() interface to hide implementation details. 2017-05-17 14:39:47 +00:00
ClangTidyModule.h [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
ClangTidyModuleRegistry.h Reapply r276973 "Adjust Registry interface to not require plugins to export a registry" 2016-08-05 11:01:08 +00:00
ClangTidyOptions.cpp Fix ODR violations due to abuse of LLVM_YAML_IS_(FLOW_)?SEQUENCE_VECTOR 2017-06-30 20:57:16 +00:00
ClangTidyOptions.h [clang-tidy] Add FormatStyle configuration option. 2017-04-06 13:41:29 +00:00
add_new_check.py [clang-tidy] add_new_check.py updates ReleaseNotes.rst now 2017-07-12 13:13:41 +00:00
rename_check.py [clang-tidy] Improve rename_check.py. 2016-11-08 11:43:50 +00:00