diff options
| author | Ted Kremenek <kremenek@apple.com> | 2009-03-02 19:39:50 +0000 | 
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2009-03-02 19:39:50 +0000 | 
| commit | 1f8140d3d4cf5ac750e5a99a4cd2c6e05498716f (patch) | |
| tree | 1e512e2613771b56b86c81654119d44be1429506 /clang/lib/Analysis | |
| parent | 8ae22cba416463214982083c45615470fce13bfb (diff) | |
| download | bcm5719-llvm-1f8140d3d4cf5ac750e5a99a4cd2c6e05498716f.tar.gz bcm5719-llvm-1f8140d3d4cf5ac750e5a99a4cd2c6e05498716f.zip | |
For now, do not output the 'DisplayHint' in plist files.
llvm-svn: 65860
Diffstat (limited to 'clang/lib/Analysis')
| -rw-r--r-- | clang/lib/Analysis/PathDiagnostic.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/clang/lib/Analysis/PathDiagnostic.cpp b/clang/lib/Analysis/PathDiagnostic.cpp index d1120ef2d16..818c5480ee9 100644 --- a/clang/lib/Analysis/PathDiagnostic.cpp +++ b/clang/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; | 

