aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2013-01-08 00:25:22 +0000
committerAnna Zaks <ganna@apple.com>2013-01-08 00:25:22 +0000
commitc1c6a4981a4b50476d71c88f8dac81a1430885ed (patch)
tree789b00201bf7afb44e9f4eb3cdf685742535eb16 /lib/StaticAnalyzer/Core
parent9da34f900b1651dfa83ec7e552a287879542691e (diff)
[analyzer] Plist: change the type of issue_hash from int to string.
This gives more flexibility to what could be stored as issue_hash. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171824 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core')
-rw-r--r--lib/StaticAnalyzer/Core/PlistDiagnostics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp b/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
index 326b624d5e..f340509268 100644
--- a/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
+++ b/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
@@ -498,9 +498,9 @@ void PlistDiagnostics::FlushDiagnosticsImpl(
FullSourceLoc Loc(SM->getExpansionLoc(D->getLocation().asLocation()),
*SM);
FullSourceLoc FunLoc(SM->getExpansionLoc(Body->getLocStart()), *SM);
- o << " <key>issue_hash</key><integer>"
+ o << " <key>issue_hash</key><string>"
<< Loc.getExpansionLineNumber() - FunLoc.getExpansionLineNumber()
- << "</integer>\n";
+ << "</string>\n";
}
}
}