[PATCH] D46421: [analyzer][CrossTU] Extend CTU to VarDecls with initializer
Rafael Stahl via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 11 06:57:42 PST 2019
r.stahl added inline comments.
================
Comment at: lib/CrossTU/CrossTranslationUnit.cpp:120
+}
+template <typename T> static bool hasDefinition(const T *D) {
+ const T *Unused;
----------------
martong wrote:
> `hasDefinitionOrInit` ?
I simply made it `hasBodyOrInit` now to be as clear as possible
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D46421/new/
https://reviews.llvm.org/D46421
More information about the cfe-commits
mailing list