summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/HTMLDiagnostics.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-31 15:31:50 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-31 15:31:50 +0000
commit3baad0d4f7afc2b8ac6ddfd983fa48b1a0d2f387 (patch)
tree6b423cc55b74358cc2d1fe4efb05947538140850 /clang/lib/Frontend/HTMLDiagnostics.cpp
parent9e2e1c9024d58fdf5ba8bd856a01e08266c52a05 (diff)
downloadbcm5719-llvm-3baad0d4f7afc2b8ac6ddfd983fa48b1a0d2f387.tar.gz
bcm5719-llvm-3baad0d4f7afc2b8ac6ddfd983fa48b1a0d2f387.zip
Rename CodeModificationHint to FixItHint, since we've been using the
term "fix-it" everywhere and even *I* get tired of long names sometimes. No functionality change. llvm-svn: 100008
Diffstat (limited to 'clang/lib/Frontend/HTMLDiagnostics.cpp')
-rw-r--r--clang/lib/Frontend/HTMLDiagnostics.cpp3
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,
OpenPOWER on IntegriCloud