summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-06 19:18:03 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-06 19:18:03 +0000
commitfe2fb0af5a5759ca180ea47af9435dc42ae84faa (patch)
treea37835dedac466e3f6835f333c2e0c3c5ef06328 /clang/lib/CodeGen/CodeGenModule.cpp
parentab8e4425a34f930829adbff94da9a25a7e099720 (diff)
downloadbcm5719-llvm-fe2fb0af5a5759ca180ea47af9435dc42ae84faa.tar.gz
bcm5719-llvm-fe2fb0af5a5759ca180ea47af9435dc42ae84faa.zip
Use 'compile' instead of 'codegen' when reporting error to user.
llvm-svn: 63952
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index af70a9c8464..7b939e29706 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -112,7 +112,7 @@ void CodeGenModule::ErrorUnsupported(const Stmt *S, const char *Type,
if (OmitOnError && getDiags().hasErrorOccurred())
return;
unsigned DiagID = getDiags().getCustomDiagID(Diagnostic::Error,
- "cannot codegen this %0 yet");
+ "cannot compile this %0 yet");
std::string Msg = Type;
getDiags().Report(Context.getFullLoc(S->getLocStart()), DiagID)
<< Msg << S->getSourceRange();
@@ -125,7 +125,7 @@ void CodeGenModule::ErrorUnsupported(const Decl *D, const char *Type,
if (OmitOnError && getDiags().hasErrorOccurred())
return;
unsigned DiagID = getDiags().getCustomDiagID(Diagnostic::Error,
- "cannot codegen this %0 yet");
+ "cannot compile this %0 yet");
std::string Msg = Type;
getDiags().Report(Context.getFullLoc(D->getLocation()), DiagID) << Msg;
}
OpenPOWER on IntegriCloud