[PATCH] D86841: [clang] Add mustprogress and llvm.loop.mustprogress attribute deduction
Atmn Patel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 29 16:19:58 PDT 2020
atmnpatel marked 3 inline comments as done.
atmnpatel added inline comments.
================
Comment at: clang/lib/CodeGen/CGStmt.cpp:801
+ getLangOpts().CPlusPlus11 || getLangOpts().CPlusPlus14 ||
+ getLangOpts().CPlusPlus17 || getLangOpts().C2x) {
+ MustProgress = true;
----------------
jdoerfert wrote:
> Also in C? And C2x in the end is probably CPLusPlus2x?
> Also in C?
Not quite sure what you mean here.
But LangOptions.def seems to say that C2x is the upcoming C standard, not any upcoming C++ standard.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86841/new/
https://reviews.llvm.org/D86841
More information about the cfe-commits
mailing list