[PATCH] D53921: Compound literals and enums require constant inits
Nick Desaulniers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 31 10:32:43 PDT 2018
nickdesaulniers added inline comments.
================
Comment at: lib/Sema/SemaDecl.cpp:16411
// this constant. Skip this enum since it may be ill-formed.
- if (!ECD) {
- return;
- }
+ if (!ECD) return;
----------------
probably don't need to adjust this line
Repository:
rC Clang
https://reviews.llvm.org/D53921
More information about the cfe-commits
mailing list