diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-08-16 00:56:44 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-08-16 00:56:44 +0000 |
commit | a7c8cf620076008474d71cb0b0dab48cdbf90c11 (patch) | |
tree | f3b1e58f700d97bbd6d51af8a9382fb7502b2c19 /clang/lib/CodeGen/CodeGenModule.h | |
parent | ceba6ead45be421ff99c3b3cfd7e3762946541ec (diff) | |
download | bcm5719-llvm-a7c8cf620076008474d71cb0b0dab48cdbf90c11.tar.gz bcm5719-llvm-a7c8cf620076008474d71cb0b0dab48cdbf90c11.zip |
Change WarnUnsupported to ErrorUnsupported (in name and in practice).
- We are beyond the point where this shows up often and when it does
generating miscompiled files is bad.
llvm-svn: 54836
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 5f3714cb283..81882515a6c 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -188,13 +188,13 @@ public: llvm::Constant *EmitAnnotateAttr(llvm::GlobalValue *GV, const AnnotateAttr *AA, unsigned LineNo); - /// WarnUnsupported - Print out a warning that codegen doesn't support the + /// ErrorUnsupported - Print out an error that codegen doesn't support the /// specified stmt yet. - void WarnUnsupported(const Stmt *S, const char *Type); + void ErrorUnsupported(const Stmt *S, const char *Type); - /// WarnUnsupported - Print out a warning that codegen doesn't support the + /// ErrorUnsupported - Print out an error that codegen doesn't support the /// specified decl yet. - void WarnUnsupported(const Decl *D, const char *Type); + void ErrorUnsupported(const Decl *D, const char *Type); private: void SetFunctionAttributes(const FunctionDecl *FD, |