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 8ff77a8f04e5a385115c1790a5f03ec263a00faf 0f63068d1085e5064d47916a86fac089c4417e57 -- clang/lib/Frontend/Rewrite/InclusionRewriter.cpp clang/test/Frontend/rewrite-includes-cli-include.c clang/test/Frontend/rewrite-includes-missing.c clang/test/Frontend/rewrite-includes.c clang/test/Modules/preprocess-module.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp b/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp index 6ab57adc41bf..87f048d36b84 100644 --- a/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp +++ b/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp @@ -418,8 +418,8 @@ void InclusionRewriter::Process(FileID FileId, case tok::pp_import: { SourceLocation Loc = HashToken.getLocation(); const IncludedFile *Inc = FindIncludeAtLocation(Loc); - CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, NextToWrite, - Line, Inc); + CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, + NextToWrite, Line, Inc); if (FileId != PP.getPredefinesFileID()) WriteLineInfo(FileName, Line - 1, FileType, ""); StringRef LineInfoExtra; `````````` </details> https://github.com/llvm/llvm-project/pull/67613 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits