[clang] [HLSL] Document all spellable attributes (PR #213346)

Justin Bogner via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 4 11:58:21 PDT 2026


================
@@ -8995,6 +8995,23 @@ for details.
   }];
 }
 
+def HLSLControlFlowHintDocs : Documentation {
+  let Category = DocCatStmt;
+  let Heading = "branch, flatten";
+  let Content = [{
+The ``branch`` and ``flatten`` attributes can be applied to *if statements* in
----------------
bogner wrote:

Yes that's true. I'll update this.

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


More information about the cfe-commits mailing list