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
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to