aboutsummaryrefslogtreecommitdiff
path: root/pp-trace
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
commit65938c9a4f07f0d45050ee1915389e2621e2d5f2 (patch)
treeeeceaa46999e7860723936f2a7c9d9bb063082dc /pp-trace
parent7ec7900d463e55fff750909b257a6338e6f0694c (diff)
downloadclang-tools-extra-65938c9a4f07f0d45050ee1915389e2621e2d5f2.tar.gz
[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. git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@312912 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'pp-trace')
0 files changed, 0 insertions, 0 deletions