From e3ce2656790523fd8c70653ee1ec41e5898f82eb Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Mon, 2 Mar 2009 19:39:50 +0000 Subject: [PATCH] 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 --- lib/Analysis/PathDiagnostic.cpp | 8 ++++---- 1 file 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; -- 2.40.0