tbaeder closed this revision.
tbaeder added a comment.
Looks like I squashed this into https://reviews.llvm.org/D156509 for some
reason.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156511/new/
https://reviews.llvm.org/D156511
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LG aside from a nit.
Comment at: clang/lib/AST/Interp/Interp.cpp:558-561
+ if (VD->getType()->isIntegralOrEnumerationType())
+S.FFDiag(E,
tbaeder created this revision.
tbaeder added reviewers: aaron.ballman, erichkeane, shafik, cor3ntin.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Diagnose used non-const and/or extern globals.