]> granicus.if.org Git - clang/commit
[analyzer] Fix a crash triggered by printing a note on a default argument
authorAnna Zaks <ganna@apple.com>
Tue, 7 May 2013 17:42:42 +0000 (17:42 +0000)
committerAnna Zaks <ganna@apple.com>
Tue, 7 May 2013 17:42:42 +0000 (17:42 +0000)
commit636478e288b88396d860f6b01b48b47953e3d5e9
tree0f341f810806e4a6702ec24fa60e0170fa2cd80c
parente2f7337958f21802e98777f441fe20ef7ba2adff
[analyzer] Fix a crash triggered by printing a note on a default argument

Instead, use the location of the call to print the note.

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