summaryrefslogtreecommitdiffstats
path: root/clang/tools/CIndex
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-31 17:46:05 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-31 17:46:05 +0000
commita771f46c82d7986ba0ceb0a8b656de1b28eacf49 (patch)
tree1d52ccd9051ed70479f9d0b30e33e9473960cc5e /clang/tools/CIndex
parentc1d2d8a0143f6b8466f5c02932d0ad0021e479fc (diff)
downloadbcm5719-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/tools/CIndex')
-rw-r--r--clang/tools/CIndex/CIndexDiagnostic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/CIndex/CIndexDiagnostic.cpp b/clang/tools/CIndex/CIndexDiagnostic.cpp
index f4454d46f67..0314a67d07d 100644
--- a/clang/tools/CIndex/CIndexDiagnostic.cpp
+++ b/clang/tools/CIndex/CIndexDiagnostic.cpp
@@ -201,7 +201,7 @@ CXString clang_getDiagnosticFixIt(CXDiagnostic Diagnostic, unsigned FixIt,
return createCXString("");
}
- const CodeModificationHint &Hint = StoredDiag->Diag.fixit_begin()[FixIt];
+ const FixItHint &Hint = StoredDiag->Diag.fixit_begin()[FixIt];
if (ReplacementRange) {
if (Hint.RemoveRange.isInvalid()) {
// Create an empty range that refers to a single source
OpenPOWER on IntegriCloud