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 144b2f579ef06e663cf233431d291a913b895074 
76bb83ad49840ceb92be2db5bfe7849f5280d6d3 -- 
clang-tools-extra/clangd/TUScheduler.cpp
``````````

</details>

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

``````````diff
diff --git a/clang-tools-extra/clangd/TUScheduler.cpp 
b/clang-tools-extra/clangd/TUScheduler.cpp
index 1329f7b08a..a18846a8c2 100644
--- a/clang-tools-extra/clangd/TUScheduler.cpp
+++ b/clang-tools-extra/clangd/TUScheduler.cpp
@@ -1702,8 +1702,7 @@ bool TUScheduler::update(PathRef File, ParseInputs Inputs,
     std::string SourceFile;
     auto VFS = Inputs.TFS->view(Inputs.CompileCommand.Directory);
     if (auto CorrespondingFile =
-            clang::clangd::getCorrespondingHeaderOrSource(File,
-                                                          std::move(VFS)))
+            clang::clangd::getCorrespondingHeaderOrSource(File, 
std::move(VFS)))
       SourceFile = *CorrespondingFile;
     if (SourceFile.empty())
       SourceFile = HeaderIncluders->get(File);

``````````

</details>


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

Reply via email to