summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2017-09-11 13:12:31 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2017-09-11 13:12:31 +0000
commit728284dc39410bba74c0935c834ea6e803f183e5 (patch)
tree3b7e68c54b73bf62991367f9160fa08bf733c258 /llvm
parentc6ea4deb6de2a5a28a02880b49da05f3d680cf5b (diff)
downloadbcm5719-llvm-728284dc39410bba74c0935c834ea6e803f183e5.tar.gz
bcm5719-llvm-728284dc39410bba74c0935c834ea6e803f183e5.zip
[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
Diffstat (limited to 'llvm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud