commit | 07189521a15d9c088216b943649cb9fe231cbb57 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Wed Apr 04 18:11:35 2012 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Wed Apr 04 18:11:35 2012 +0000 |
tree | 649cd12e68237a26ec96485b1ed9ccdde7bf4c83 | |
parent | f54486acc1cadf2791c3916ece66fded1e57ba0b [diff] [blame] |
Include the "issue context" (e.g. function or method) where a static analyzer issue occurred in the plist output. Fixes <rdar://problem/11004527> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154030 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp b/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp index c076c1e..d7321fa 100644 --- a/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp +++ b/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp
@@ -70,7 +70,8 @@ PathDiagnosticLocation::createBegin(MethDerived, BR.getSourceManager()); - BR.EmitBasicReport("Incompatible instance method return type", + BR.EmitBasicReport(MethDerived, + "Incompatible instance method return type", os.str(), MethDLoc); } }