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 e4d01bb2273804355cf84a8a560e578735590ac2 
12f5f321bc47bffb2d1694e605288c59976022e6 -- 
clang/include/clang/Basic/OpenACCKinds.h clang/lib/Parse/ParseOpenACC.cpp 
clang/test/ParserOpenACC/parse-cache-construct.c
``````````

</details>

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

``````````diff
diff --git a/clang/include/clang/Basic/OpenACCKinds.h 
b/clang/include/clang/Basic/OpenACCKinds.h
index a06db98fcb..399222dbf7 100644
--- a/clang/include/clang/Basic/OpenACCKinds.h
+++ b/clang/include/clang/Basic/OpenACCKinds.h
@@ -130,7 +130,6 @@ inline const StreamingDiagnostic &operator<<(const 
StreamingDiagnostic &Out,
 
   case OpenACCDirectiveKind::Invalid:
     return Out << "<invalid>";
-
   }
   llvm_unreachable("Uncovered directive kind");
 }
diff --git a/clang/lib/Parse/ParseOpenACC.cpp b/clang/lib/Parse/ParseOpenACC.cpp
index fb4364fa1d..fe35690ab1 100644
--- a/clang/lib/Parse/ParseOpenACC.cpp
+++ b/clang/lib/Parse/ParseOpenACC.cpp
@@ -178,7 +178,6 @@ bool isTokenIdentifierOrKeyword(Parser &P, Token Tok) {
   return false;
 }
 
-
 /// Parses and consumes an identifer followed immediately by a single colon, 
and
 /// diagnoses if it is not the 'special token' kind that we require. Used when
 /// the tag is the only valid value.

``````````

</details>


https://github.com/llvm/llvm-project/pull/77957
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to