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 4e005515ec5ecedf2cd986097e45cab59f9914da 
ac8b99309b07b6c7114dfbf784a46d2fb5d9dcc4 -- 
clang/test/Lexer/raw-string-dlim-newline.cpp clang/lib/Lex/Lexer.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Lex/Lexer.cpp b/clang/lib/Lex/Lexer.cpp
index 95f39df7a4..7600ce3911 100644
--- a/clang/lib/Lex/Lexer.cpp
+++ b/clang/lib/Lex/Lexer.cpp
@@ -2275,7 +2275,7 @@ bool Lexer::LexRawStringLiteral(Token &Result, const char 
*CurPtr,
           << StringRef(PrefixEnd, 1);
       } else {
         Diag(PrefixEnd, diag::err_invalid_nexline_raw_delim);
-       }
+      }
     }
 
     // Search for the next '"' in hopes of salvaging the lexer. Unfortunately,

``````````

</details>


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

Reply via email to