aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/PathDiagnostic.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-03-02 19:39:50 +0000
committerTed Kremenek <kremenek@apple.com>2009-03-02 19:39:50 +0000
commite3ce2656790523fd8c70653ee1ec41e5898f82eb (patch)
tree65c66bed4a6517757aefe625e877ec42c7651ac6 /lib/Analysis/PathDiagnostic.cpp
parent78c39c76103a36e37a05b1e40da93850ea64647b (diff)
For now, do not output the 'DisplayHint' in plist files.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65860 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/PathDiagnostic.cpp')
-rw-r--r--lib/Analysis/PathDiagnostic.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Analysis/PathDiagnostic.cpp b/lib/Analysis/PathDiagnostic.cpp
index d1120ef2d1..818c5480ee 100644
--- a/lib/Analysis/PathDiagnostic.cpp
+++ b/lib/Analysis/PathDiagnostic.cpp
@@ -35,13 +35,13 @@ static inline size_t GetNumCharsToLastNonPeriod(const std::string &s) {
PathDiagnosticPiece::PathDiagnosticPiece(FullSourceLoc pos,
const std::string& s,
- DisplayHint hint)
- : Pos(pos), str(s, 0, GetNumCharsToLastNonPeriod(s)), Hint(hint) {}
+ Kind k, DisplayHint hint)
+ : Pos(pos), str(s, 0, GetNumCharsToLastNonPeriod(s)), kind(k), Hint(hint) {}
PathDiagnosticPiece::PathDiagnosticPiece(FullSourceLoc pos,
- const char* s,
+ const char* s, Kind k,
DisplayHint hint)
- : Pos(pos), str(s, GetNumCharsToLastNonPeriod(s)), Hint(hint) {}
+ : Pos(pos), str(s, GetNumCharsToLastNonPeriod(s)), kind(k), Hint(hint) {}
PathDiagnostic::~PathDiagnostic() {
for (iterator I = begin(), E = end(); I != E; ++I) delete &*I;