llvm-project/clang/test/Import/switch-stmt
Bill Wendling 8003edc9aa Compound literals, enums, et al require const expr
Summary:
Compound literals,  enums, file-scoped arrays, etc. require their
initializers and size specifiers to be constant. Wrap the initializer
expressions in a ConstantExpr so that we can easily check for this later
on.

Reviewers: rsmith, shafik

Reviewed By: rsmith

Subscribers: cfe-commits, jyknight, nickdesaulniers

Differential Revision: https://reviews.llvm.org/D53921

llvm-svn: 346455
2018-11-09 00:41:36 +00:00
..
Inputs [AST] Check that GNU range case statements are correctly imported. 2018-10-29 15:04:19 +00:00
test.cpp Compound literals, enums, et al require const expr 2018-11-09 00:41:36 +00:00