[PATCH] D18649: [clang-tidy] cppcoreguidelines-interfaces-global-init
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 5 07:43:37 PDT 2016
aaron.ballman added a subscriber: aaron.ballman.
aaron.ballman added a reviewer: aaron.ballman.
================
Comment at: clang-tidy/cppcoreguidelines/InterfacesGlobalInitCheck.cpp:27
@@ +26,3 @@
+ unless(isConstexpr()));
+ const auto IsNotDefined = unless(isDefinition());
+
----------------
This can be moved into `ReferencesUndefinedGlobalVar`
http://reviews.llvm.org/D18649
More information about the cfe-commits
mailing list