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 f0f5afe9685c2085a4ca51eeb40262f1def61377 
a4397cabbd1bd0701d1c79fdfecbaaa606ed9e0b --extensions cpp,h -- 
clang/include/clang-c/CXSourceLocation.h clang/lib/Basic/SourceManager.cpp 
clang/tools/libclang/CXSourceLocation.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/tools/libclang/CXSourceLocation.cpp 
b/clang/tools/libclang/CXSourceLocation.cpp
index a39b23818b..cd41e9f0d6 100644
--- a/clang/tools/libclang/CXSourceLocation.cpp
+++ b/clang/tools/libclang/CXSourceLocation.cpp
@@ -50,7 +50,8 @@ unsigned clang_equalLocations(CXSourceLocation loc1, 
CXSourceLocation loc2) {
           loc1.int_data == loc2.int_data);
 }
 
-unsigned clang_isBeforeInTranslationUnit(CXSourceLocation loc1, 
CXSourceLocation loc2) {
+unsigned clang_isBeforeInTranslationUnit(CXSourceLocation loc1,
+                                         CXSourceLocation loc2) {
   const SourceLocation Loc1 = 
SourceLocation::getFromRawEncoding(loc1.int_data);
   const SourceLocation Loc2 = 
SourceLocation::getFromRawEncoding(loc2.int_data);
 

``````````

</details>


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

Reply via email to