diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-02-06 19:18:03 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-06 19:18:03 +0000 |
commit | 56b8001b42bd603ef593e3cb278d8b9b9ba26ca9 (patch) | |
tree | 07b13b67bb85908cde77a85580153a7e373b0cc1 /lib/CodeGen/CodeGenModule.cpp | |
parent | 42542c6a4b3c60f63820e6177a8938443831492c (diff) |
Use 'compile' instead of 'codegen' when reporting error to user.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63952 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 4 |
1 files changed, 2 insertions, 2 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; } |