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 32acf1e95b42614ef76cd98cdbc1b8aec0f0a830 
aa6116b35bff2956348901a259aa784615d52faa --extensions cpp,h -- 
clang-tools-extra/clangd/Preamble.cpp clang-tools-extra/clangd/Preamble.h 
clang-tools-extra/clangd/SystemIncludeExtractor.cpp 
clang-tools-extra/modularize/ModularizeUtilities.cpp 
clang/include/clang/Basic/TargetInfo.h clang/include/clang/Frontend/ASTUnit.h 
clang/include/clang/Frontend/CompilerInstance.h 
clang/include/clang/Frontend/CompilerInvocation.h clang/lib/Basic/Targets.cpp 
clang/lib/Frontend/ASTUnit.cpp clang/lib/Frontend/ChainedIncludesSource.cpp 
clang/lib/Frontend/CompilerInstance.cpp clang/lib/Interpreter/Interpreter.cpp 
clang/tools/clang-import-test/clang-import-test.cpp 
clang/unittests/Analysis/MacroExpansionContextTest.cpp 
clang/unittests/Basic/SourceManagerTest.cpp 
clang/unittests/CodeGen/TestCompiler.h clang/unittests/Frontend/UtilsTest.cpp 
clang/unittests/Lex/HeaderSearchTest.cpp clang/unittests/Lex/LexerTest.cpp 
clang/unittests/Lex/ModuleDeclStateTest.cpp 
clang/unittests/Lex/PPCallbacksTest.cpp 
clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp 
clang/unittests/Lex/PPDependencyDirectivesTest.cpp 
clang/unittests/Lex/PPMemoryAllocationsTest.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/include/clang/Frontend/CompilerInvocation.h 
b/clang/include/clang/Frontend/CompilerInvocation.h
index e184986007..dd2265bf0a 100644
--- a/clang/include/clang/Frontend/CompilerInvocation.h
+++ b/clang/include/clang/Frontend/CompilerInvocation.h
@@ -267,8 +267,8 @@ public:
 
   /// Base class internals.
   /// @{
-  using CompilerInvocationBase::LangOpts;
   using CompilerInvocationBase::DiagnosticOpts;
+  using CompilerInvocationBase::LangOpts;
   std::shared_ptr<HeaderSearchOptions> getHeaderSearchOptsPtr() {
     return HSOpts;
   }

``````````

</details>


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

Reply via email to