aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/CodeGen/CodeGenModule.cpp4
-rw-r--r--test/CodeGen/unsupported.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp
index af70a9c846..7b939e2970 100644
--- a/lib/CodeGen/CodeGenModule.cpp
+++ b/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;
}
diff --git a/test/CodeGen/unsupported.c b/test/CodeGen/unsupported.c
index c5221493ed..383a06bd1a 100644
--- a/test/CodeGen/unsupported.c
+++ b/test/CodeGen/unsupported.c
@@ -2,5 +2,5 @@
int f0(int x) {
int vla[x];
- return vla[x-1]; // expected-error {{cannot codegen this return inside scope with VLA yet}}
+ return vla[x-1]; // expected-error {{cannot compile this return inside scope with VLA yet}}
}