[PATCH] [analyzer] Improve handling of noreturn destructors
Jordan Rose
jordan_rose at apple.com
Mon Jul 1 09:36:15 PDT 2013
Good catch! You should fix the rest of the function not to do redundant work, though: rather than checking for `noreturn` again and then checking function names, just drop the first part and use CallEvent::getCalleeIdentifier for the second. (You should probably check CallEvent::isGlobalCFunction before running through the StringSwitch, to avoid matching things like MyContext::exit.)
http://llvm-reviews.chandlerc.com/D1056
BRANCH
master
ARCANIST PROJECT
clang
More information about the cfe-commits
mailing list