[clang] [clang] Add support for new loop attribute [[clang::code_align()]] (PR #70762)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 1 10:01:30 PDT 2023


================
@@ -788,6 +797,20 @@ void LoopInfoStack::push(BasicBlock *Header, clang::ASTContext &Ctx,
     }
   }
 
+  // Translate 'loop attributes' arguments to equivalent Attr enums.
+  // It's being handled separately from LoopHintAttrs not to support
+  // legacy GNU attributes and pragma styles.
----------------
AaronBallman wrote:

I'm not certain I understand this comment; can you try restating it?

https://github.com/llvm/llvm-project/pull/70762


More information about the cfe-commits mailing list