[clang] [APINotes] Introduce APINotes infrastructure in Clang Sema and Frontend (PR #72907)

via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 20 11:53:20 PST 2023


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 f4c6947a18d5c07d5743eb435c2854e61804ad24 b8421b0570cc634e205e5b06d10997a802d5dd76 -- clang/include/clang/Frontend/CompilerInstance.h clang/include/clang/Sema/Sema.h clang/lib/Frontend/CompilerInstance.cpp clang/lib/Sema/Sema.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/include/clang/Sema/Sema.h b/clang/include/clang/Sema/Sema.h
index e9872cdeb0..3ef8dac4fc 100644
--- a/clang/include/clang/Sema/Sema.h
+++ b/clang/include/clang/Sema/Sema.h
@@ -12198,9 +12198,11 @@ public:
   /// Called on well-formed 'fail' clause.
   OMPClause *ActOnOpenMPFailClause(SourceLocation StartLoc,
                                    SourceLocation EndLoc);
-  OMPClause *ActOnOpenMPFailClause(
-      OpenMPClauseKind Kind, SourceLocation KindLoc,
-      SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc);
+  OMPClause *ActOnOpenMPFailClause(OpenMPClauseKind Kind,
+                                   SourceLocation KindLoc,
+                                   SourceLocation StartLoc,
+                                   SourceLocation LParenLoc,
+                                   SourceLocation EndLoc);
 
   /// Called on well-formed 'seq_cst' clause.
   OMPClause *ActOnOpenMPSeqCstClause(SourceLocation StartLoc,

``````````

</details>


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


More information about the cfe-commits mailing list