diff options
| author | Ted Kremenek <kremenek@apple.com> | 2013-05-07 07:30:00 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2013-05-07 07:30:00 +0000 |
| commit | 868b55336e66a16df6ced00133a5fc82aef24f93 (patch) | |
| tree | 7be6ec96d9d75291b1566a70c3a25217fde33291 | |
| parent | 8b5b3607818ed57cc8a3966dd24f513046a5a821 (diff) | |
| download | llvm-868b55336e66a16df6ced00133a5fc82aef24f93.zip llvm-868b55336e66a16df6ced00133a5fc82aef24f93.tar.gz llvm-868b55336e66a16df6ced00133a5fc82aef24f93.tar.bz2 | |
[analyzer; alternate arrows] use the terminator condition as the location for 'entering loop body'
llvm-svn: 181291
| -rw-r--r-- | clang/lib/StaticAnalyzer/Core/BugReporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp index 2120101..b438a0f 100644 --- a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp @@ -1770,7 +1770,7 @@ GenerateAlternateExtensivePathDiagnostic(PathDiagnostic& PD, } if (str) { - PathDiagnosticLocation L(Term, SM, PDB.LC); + PathDiagnosticLocation L(TermCond, SM, PDB.LC); PathDiagnosticEventPiece *PE = new PathDiagnosticEventPiece(L, str); EventCategory[PE] = EC; |
