diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-03-31 17:46:05 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-03-31 17:46:05 +0000 |
commit | a771f46c82d7986ba0ceb0a8b656de1b28eacf49 (patch) | |
tree | 1d52ccd9051ed70479f9d0b30e33e9473960cc5e /clang/lib/Frontend/HTMLDiagnostics.cpp | |
parent | c1d2d8a0143f6b8466f5c02932d0ad0021e479fc (diff) | |
download | bcm5719-llvm-a771f46c82d7986ba0ceb0a8b656de1b28eacf49.tar.gz bcm5719-llvm-a771f46c82d7986ba0ceb0a8b656de1b28eacf49.zip |
Reinstate my CodeModificationHint -> FixItHint renaming patch, without
the C-only "optimization".
llvm-svn: 100022
Diffstat (limited to 'clang/lib/Frontend/HTMLDiagnostics.cpp')
-rw-r--r-- | clang/lib/Frontend/HTMLDiagnostics.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Frontend/HTMLDiagnostics.cpp b/clang/lib/Frontend/HTMLDiagnostics.cpp index da99cb8b7b8..022a34d0bd4 100644 --- a/clang/lib/Frontend/HTMLDiagnostics.cpp +++ b/clang/lib/Frontend/HTMLDiagnostics.cpp @@ -484,8 +484,7 @@ void HTMLDiagnostics::HandlePiece(Rewriter& R, FileID BugFileID, // FIXME: This code is disabled because it seems to mangle the HTML // output. I'm leaving it here because it's generally the right idea, // but needs some help from someone more familiar with the rewriter. - for (const CodeModificationHint *Hint = P.code_modifications_begin(), - *HintEnd = P.code_modifications_end(); + for (const FixItHint *Hint = P.fixit_begin(), *HintEnd = P.fixit_end(); Hint != HintEnd; ++Hint) { if (Hint->RemoveRange.isValid()) { HighlightRange(R, LPosInfo.first, Hint->RemoveRange, |