diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-02 13:02:01 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-02 13:02:01 +0000 |
commit | 06dde92cd6a9659c0786164688002d912fd22a32 (patch) | |
tree | a60d999973177ae4370815c8cee8b11d552b9d65 /clang/lib/Lex/PPDirectives.cpp | |
parent | 867ea1d42604259bb1e93932a59502e7944d3f49 (diff) | |
download | bcm5719-llvm-06dde92cd6a9659c0786164688002d912fd22a32.tar.gz bcm5719-llvm-06dde92cd6a9659c0786164688002d912fd22a32.zip |
[C++11] Switch from LLVM_STATIC_ASSERT to static_assert now that we
require host toolchains which support this.
llvm-svn: 202640
Diffstat (limited to 'clang/lib/Lex/PPDirectives.cpp')
-rw-r--r-- | clang/lib/Lex/PPDirectives.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Lex/PPDirectives.cpp b/clang/lib/Lex/PPDirectives.cpp index 4a9e09f798e..050ade45e44 100644 --- a/clang/lib/Lex/PPDirectives.cpp +++ b/clang/lib/Lex/PPDirectives.cpp @@ -60,8 +60,8 @@ MacroInfo *Preprocessor::AllocateMacroInfo(SourceLocation L) { MacroInfo *Preprocessor::AllocateDeserializedMacroInfo(SourceLocation L, unsigned SubModuleID) { - LLVM_STATIC_ASSERT(llvm::AlignOf<MacroInfo>::Alignment >= sizeof(SubModuleID), - "alignment for MacroInfo is less than the ID"); + static_assert(llvm::AlignOf<MacroInfo>::Alignment >= sizeof(SubModuleID), + "alignment for MacroInfo is less than the ID"); DeserializedMacroInfoChain *MIChain = BP.Allocate<DeserializedMacroInfoChain>(); MIChain->Next = DeserialMIChainHead; |