diff options
author | Anders Carlsson <andersca@mac.com> | 2009-06-11 21:22:55 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-06-11 21:22:55 +0000 |
commit | 8783543a6f3a2654dbd868899530db02633dfb24 (patch) | |
tree | b01284cb1fff84b32e6f195c2aa892662c45db81 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 4bd5463617df60cd9b84220abfbf54ce6223a5d4 (diff) | |
download | bcm5719-llvm-8783543a6f3a2654dbd868899530db02633dfb24.tar.gz bcm5719-llvm-8783543a6f3a2654dbd868899530db02633dfb24.zip |
Don't assert when generating code with static_asserts.
llvm-svn: 73208
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 5c12c81b36b..8ca1be42e71 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -1481,7 +1481,11 @@ void CodeGenModule::EmitTopLevelDecl(Decl *D) { case Decl::CXXDestructor: EmitCXXDestructors(cast<CXXDestructorDecl>(D)); break; - + + case Decl::StaticAssert: + // Nothing to do. + break; + // Objective-C Decls // Forward declarations, no (immediate) code generation. |