[PATCH] D53921: Compound literals, global array decls, and enums require constant inits
Bill Wendling via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 31 11:30:24 PDT 2018
void 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;
----------------
nickdesaulniers wrote:
> probably don't need to adjust this line
I kinda felt compelled to do it when I saw it. Became twitchy. :-)
Repository:
rC Clang
https://reviews.llvm.org/D53921
More information about the cfe-commits
mailing list