[PATCH] D47044: [analyzer] Ensure that we only visit a destructor for a reference if type information is available.
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 12 15:14:51 PDT 2018
NoQ accepted this revision.
NoQ added a comment.
I'm still curious whether this also works:
void foo() {
const A &x = B();
bar();
}
void bar() {
for (int i = 0; i < 10; ++i) {}
}
Though we can land this patch and deal with this later.
Repository:
rC Clang
https://reviews.llvm.org/D47044
More information about the cfe-commits
mailing list