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 93d3e20bb226507c6eb777cfb15ea13f2cd129e8 
700ec6f78c0a24729801bea381bafbcafb06826b --extensions cpp,c,h -- 
clang/test/Preprocessor/embed_constexpr.c clang/include/clang/AST/Expr.h 
clang/lib/AST/Expr.cpp clang/lib/Parse/ParseInit.cpp clang/lib/Sema/SemaInit.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/AST/Expr.cpp b/clang/lib/AST/Expr.cpp
index 2747480f00..e48b389fbc 100644
--- a/clang/lib/AST/Expr.cpp
+++ b/clang/lib/AST/Expr.cpp
@@ -1344,7 +1344,6 @@ StringLiteral::getLocationOfByte(unsigned ByteNo, const 
SourceManager &SM,
           getKind() == StringLiteralKind::Unevaluated) &&
          "Only narrow string literals are currently supported");
 
-
   // Loop over all of the tokens in this string until we find the one that
   // contains the byte we're looking for.
   unsigned TokNo = 0;

``````````

</details>


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

Reply via email to