]> granicus.if.org Git - clang/commit
Fix interaction between serialization and c++1z feature.
authorRichard Trieu <rtrieu@google.com>
Tue, 13 Sep 2016 01:20:40 +0000 (01:20 +0000)
committerRichard Trieu <rtrieu@google.com>
Tue, 13 Sep 2016 01:20:40 +0000 (01:20 +0000)
commit3fdacc178fd2b752353fc6a0695d0be635bbbbc0
tree5b0cf54035eb5865074f261277ba5d130e5b94d4
parent48ccf5de8d6cd181928b0d5d71f5c72fd4bbeccf
Fix interaction between serialization and c++1z feature.

In c++1z, static_assert is not required to have a StringLiteral message, where
previously it was required.  Update the AST Reader to be able to handle a
null StringLiteral.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281286 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReaderDecl.cpp
test/Modules/Inputs/static_assert/a.h [new file with mode: 0644]
test/Modules/Inputs/static_assert/module.modulemap [new file with mode: 0644]
test/Modules/static_assert.cpp [new file with mode: 0644]