[clang] [llvm] [Frontend] Add leaf constructs and association to OpenMP/ACC directives (PR #83625)

via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 1 13:54:53 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff d01576bb6033865c20a4c0da581939dcae5b30be 544b309d77a7094d35794e574a1a1d12438021cd -- clang/lib/Basic/OpenMPKinds.cpp llvm/include/llvm/TableGen/DirectiveEmitter.h llvm/utils/TableGen/DirectiveEmitter.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/include/llvm/TableGen/DirectiveEmitter.h b/llvm/include/llvm/TableGen/DirectiveEmitter.h
index 208d3bac5b..4805183507 100644
--- a/llvm/include/llvm/TableGen/DirectiveEmitter.h
+++ b/llvm/include/llvm/TableGen/DirectiveEmitter.h
@@ -130,9 +130,7 @@ public:
     return Def->getValueAsListOfDefs("leafs");
   }
 
-  Record *getAssociation() const {
-    return Def->getValueAsDef("association");
-  }
+  Record *getAssociation() const { return Def->getValueAsDef("association"); }
 };
 
 // Wrapper class that contains Clause's information defined in DirectiveBase.td

``````````

</details>


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


More information about the cfe-commits mailing list