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 origin/main HEAD --extensions c,cpp,h --
clang/test/PCH/pragma-redefine-extname.c
clang/test/PCH/pragma-redefine-extname.h
clang/include/clang/Sema/ExternalSemaSource.h
clang/include/clang/Sema/MultiplexExternalSemaSource.h
clang/include/clang/Sema/Sema.h clang/include/clang/Serialization/ASTBitCodes.h
clang/include/clang/Serialization/ASTReader.h
clang/lib/Sema/MultiplexExternalSemaSource.cpp clang/lib/Sema/Sema.cpp
clang/lib/Sema/SemaDecl.cpp clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp
lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Serialization/ASTReader.cpp
b/clang/lib/Serialization/ASTReader.cpp
index a0e345aa6..864649e2b 100644
--- a/clang/lib/Serialization/ASTReader.cpp
+++ b/clang/lib/Serialization/ASTReader.cpp
@@ -9722,9 +9722,9 @@ void ASTReader::ReadExtnameUndeclaredIdentifiers(
IdentifierInfo *NameId =
DecodeIdentifierInfo(ExtnameUndeclaredIdentifiers[I]);
IdentifierInfo *ExtnameId =
- DecodeIdentifierInfo(ExtnameUndeclaredIdentifiers[I+1]);
+ DecodeIdentifierInfo(ExtnameUndeclaredIdentifiers[I + 1]);
SourceLocation Loc =
- SourceLocation::getFromRawEncoding(ExtnameUndeclaredIdentifiers[I+2]);
+ SourceLocation::getFromRawEncoding(ExtnameUndeclaredIdentifiers[I +
2]);
AsmLabelAttr *Attr = AsmLabelAttr::CreateImplicit(
getContext(), ExtnameId->getName(),
AttributeCommonInfo(ExtnameId, SourceRange(Loc),
``````````
</details>
https://github.com/llvm/llvm-project/pull/186755
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits