aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-02-23 20:23:45 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-02-23 20:23:45 +0000
commit32141c8f69a6a51d7cf95a18229cd335ecd59903 (patch)
tree91e22e854e3c22fe2b2ec9886be34fc9703fa080 /tools
parent09b6897d967c50db36ad83b910060ea7d68a21bc (diff)
Fix bogus diagnostic format string.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96978 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/CIndex/CIndex.cpp2
-rw-r--r--tools/CIndex/CIndexCodeCompletion.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/CIndex/CIndex.cpp b/tools/CIndex/CIndex.cpp
index d95aaee770..df89d73ba8 100644
--- a/tools/CIndex/CIndex.cpp
+++ b/tools/CIndex/CIndex.cpp
@@ -1103,7 +1103,7 @@ clang_createTranslationUnitFromSourceFile(CXIndex CIdx,
AllArgs += *I;
}
- Diags->Report(diag::err_fe_clang) << AllArgs << ErrMsg;
+ Diags->Report(diag::err_fe_invoking) << AllArgs << ErrMsg;
}
ASTUnit *ATU = ASTUnit::LoadFromPCHFile(astTmpFile, *Diags,
diff --git a/tools/CIndex/CIndexCodeCompletion.cpp b/tools/CIndex/CIndexCodeCompletion.cpp
index b646474c81..3b7674ec0d 100644
--- a/tools/CIndex/CIndexCodeCompletion.cpp
+++ b/tools/CIndex/CIndexCodeCompletion.cpp
@@ -330,7 +330,7 @@ CXCodeCompleteResults *clang_codeComplete(CXIndex CIdx,
AllArgs += *I;
}
- Diags->Report(diag::err_fe_clang) << AllArgs << ErrMsg;
+ Diags->Report(diag::err_fe_invoking) << AllArgs << ErrMsg;
}
// Parse the resulting source file to find code-completion results.