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)
commitffa532d7a1d964230ee7e4eaeb91678c47484325
treef6661d5a53442c638b9a5a35d2bc7320e9e8f334
parenteeb56abe643929f570006917c088e53bc7c896a4
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.

llvm-svn: 281286
clang/lib/Serialization/ASTReaderDecl.cpp
clang/test/Modules/Inputs/static_assert/a.h [new file with mode: 0644]
clang/test/Modules/Inputs/static_assert/module.modulemap [new file with mode: 0644]
clang/test/Modules/static_assert.cpp [new file with mode: 0644]