]> granicus.if.org Git - clang/commitdiff
Fix a typo in a diag name.
authorSebastian Redl <sebastian.redl@getdesigned.at>
Tue, 17 Aug 2010 17:55:38 +0000 (17:55 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Tue, 17 Aug 2010 17:55:38 +0000 (17:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111257 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticFrontendKinds.td
lib/Frontend/FrontendActions.cpp

index 989ec38d29500d05623137577bcaeb974044a9ab..7c74bf458e58f6a62225ef0b5638b6831e1e15aa 100644 (file)
@@ -99,7 +99,7 @@ def warn_fixit_no_changes : Note<
 def err_fe_invoking : Error<"error invoking%0: %1">, DefaultFatal;
 
 // PCH reader
-def err_relocatable_without_without_isysroot : Error<
+def err_relocatable_without_isysroot : Error<
     "must specify system root with -isysroot when building a relocatable "
     "PCH file">;
 def warn_pch_target_triple : Error<
index 08639b6590f86ee37570b2da2502f3c3dcba5bf2..0a03ab4c847758f936cd4ccc99dbf4cab6417dfd 100644 (file)
@@ -89,7 +89,7 @@ bool GeneratePCHAction::ComputeASTConsumerArguments(CompilerInstance &CI,
                                                     bool &Chaining) {
   Sysroot = CI.getHeaderSearchOpts().Sysroot;
   if (CI.getFrontendOpts().RelocatablePCH && Sysroot.empty()) {
-    CI.getDiagnostics().Report(diag::err_relocatable_without_without_isysroot);
+    CI.getDiagnostics().Report(diag::err_relocatable_without_isysroot);
     return true;
   }