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 c65fa9163e47af5e86b2a187dd45ae665cf5a996
a564da2384ae1412647d1134aaf5359fe30e75a7 --extensions h,cpp --
clang/test/SemaCXX/friend-default-parameters-modules.cpp
clang/test/SemaCXX/friend-default-parameters.cpp clang/include/clang/AST/Decl.h
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/lib/Serialization/ASTReader.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/include/clang/AST/Decl.h b/clang/include/clang/AST/Decl.h
index 9fdba31eb3..0d9760d360 100644
--- a/clang/include/clang/AST/Decl.h
+++ b/clang/include/clang/AST/Decl.h
@@ -2198,9 +2198,7 @@ public:
ThisDeclarationWasADefinition = true;
}
- bool wasThisDeclarationADefinition() {
- return ThisDeclarationWasADefinition;
- }
+ bool wasThisDeclarationADefinition() { return ThisDeclarationWasADefinition;
}
/// Returns whether the function has a trivial body that does not require any
/// specific codegen.
``````````
</details>
https://github.com/llvm/llvm-project/pull/132214
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits