[PATCH] D62829: [clang-tidy] Check for dynamically initialized statics in headers.
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 3 15:57:54 PDT 2019
lebedev.ri added inline comments.
================
Comment at: clang-tools-extra/clang-tidy/bugprone/DynamicStaticInitializersCheck.cpp:40
+ return;
+ Finder->addMatcher(varDecl().bind("var"), this);
+}
----------------
Most of the matching should be done here, not in `check()`.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62829/new/
https://reviews.llvm.org/D62829
More information about the cfe-commits
mailing list