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 e734bc53de8173a1b54493f3e0c8f70575341a9e 401af7b4eabe92c8264c722a3f1181875da18438 -- clang/lib/AST/Decl.cpp clang/lib/AST/Linkage.h clang/test/CodeGenCXX/visibility.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/AST/Decl.cpp b/clang/lib/AST/Decl.cpp index 8a84dad4e4..075292c018 100644 --- a/clang/lib/AST/Decl.cpp +++ b/clang/lib/AST/Decl.cpp @@ -781,11 +781,11 @@ LinkageComputer::getLVForNamespaceScopeDecl(const NamedDecl *D, // - a template } else if (const auto *temp = dyn_cast<TemplateDecl>(D)) { - // An unnamed namespace or a namespace declared directly or indirectly - // within an unnamed namespace has internal linkage. All other namespaces - // have external linkage. - // - // We handled names in anonymous namespaces above. + // An unnamed namespace or a namespace declared directly or indirectly + // within an unnamed namespace has internal linkage. All other + // namespaces have external linkage. + // + // We handled names in anonymous namespaces above. } else if (isa<NamespaceDecl>(D)) { return LV; `````````` </details> https://github.com/llvm/llvm-project/pull/72092 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits