]> granicus.if.org Git - clang/commit
[analyzer] Don't crash when a path goes through a 'delete' destructor call.
authorJordan Rose <jordan_rose@apple.com>
Thu, 31 Oct 2013 18:41:15 +0000 (18:41 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 31 Oct 2013 18:41:15 +0000 (18:41 +0000)
commit2a648169f9ad854536814515cba1780fd02586d2
tree2adceb60354d9f2cea5b83af44e5102ac357574c
parente5849ca603014f6fd421872fff76cf5e0949bb3b
[analyzer] Don't crash when a path goes through a 'delete' destructor call.

This was just left unimplemnted from r191381; the fix is to report this call
location as the location of the 'delete' expr.

PR17746

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193783 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/PathDiagnostic.cpp
test/Analysis/inlining/path-notes.cpp