[PATCH] D86841: [clang] Add noprogress attribute deduction for infinite loops

Atmn Patel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 3 15:27:33 PDT 2020


atmnpatel marked an inline comment as done.
atmnpatel added inline comments.


================
Comment at: clang/lib/CodeGen/CGLoopInfo.h:211
             llvm::ArrayRef<const Attr *> Attrs, const llvm::DebugLoc &StartLoc,
-            const llvm::DebugLoc &EndLoc);
+            const llvm::DebugLoc &EndLoc, const bool NoProgress = false);
 
----------------
aaron.ballman wrote:
> I'd drop the top-level `const` on the declaration of `NoProgress` (that's not a style we typically use in the project).
My bad, thanks!


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