diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-03-31 17:25:35 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-03-31 17:25:35 +0000 |
| commit | 30e631862f647b5eb7c05b25248d960d7ecae20b (patch) | |
| tree | a32c221a34079b6bdfd525ef601fbdb717212875 /clang/lib/Checker/PathDiagnostic.cpp | |
| parent | 4cd5866f8ead15aa2634bd63bff4975aa2e395fb (diff) | |
| download | bcm5719-llvm-30e631862f647b5eb7c05b25248d960d7ecae20b.tar.gz bcm5719-llvm-30e631862f647b5eb7c05b25248d960d7ecae20b.zip | |
Revert r100008, which inexplicably breaks the clang-i686-darwin10 builder
llvm-svn: 100018
Diffstat (limited to 'clang/lib/Checker/PathDiagnostic.cpp')
| -rw-r--r-- | clang/lib/Checker/PathDiagnostic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Checker/PathDiagnostic.cpp b/clang/lib/Checker/PathDiagnostic.cpp index 963923c9ad1..97500d95785 100644 --- a/clang/lib/Checker/PathDiagnostic.cpp +++ b/clang/lib/Checker/PathDiagnostic.cpp @@ -108,8 +108,8 @@ void PathDiagnosticClient::HandleDiagnostic(Diagnostic::Level DiagLevel, for (unsigned i = 0, e = Info.getNumRanges(); i != e; ++i) P->addRange(Info.getRange(i)); - for (unsigned i = 0, e = Info.getNumFixItHints(); i != e; ++i) - P->addFixItHint(Info.getFixItHint(i)); + for (unsigned i = 0, e = Info.getNumCodeModificationHints(); i != e; ++i) + P->addCodeModificationHint(Info.getCodeModificationHint(i)); D->push_front(P); HandlePathDiagnostic(D); |

