serberoth updated this revision to Diff 348156.
serberoth retitled this revision from "Bug 49633 - Added warning for static
inline global and namespaced declarations for c++17+" to "Bug 49633 - Added
warning for static inline global and namespaced declarations".
serberoth edited the summary of th
serberoth added inline comments.
Comment at: clang/lib/Sema/SemaDecl.cpp:7127
<< FixItHint::CreateRemoval(D.getDeclSpec().getInlineSpecLoc());
+} else if (SC == SC_Static && DC->isFileContext() &&
+ getLangOpts().CPlusPlus17) {
erichkea
serberoth created this revision.
serberoth added reviewers: erik.pilkington, rsmith, TH3CHARLie, fixing bugs in
llvm.
serberoth requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Bug 49633 - Added a warning for global and namespace declared v