Skip to content

Conversation

@jansvoboda11
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented Mar 25, 2024

⚠️ C/C++ code formatter, clang-format found issues in your code. ⚠️

You can test this locally with the following command:
git-clang-format --diff 3c02fea737d774bbf174c6b763593ad3e7f56221 d49ef2de83b37156ab73c0028676d9b0425ef2ed --extensions cpp,h -- clang/include/clang/Basic/FileSystemOptions.h clang/include/clang/Lex/HeaderSearchOptions.h clang/include/clang/Serialization/ASTBitCodes.h clang/lib/Frontend/ASTUnit.cpp clang/lib/Frontend/CompilerInstance.cpp clang/lib/Frontend/CompilerInvocation.cpp clang/lib/Frontend/FrontendActions.cpp clang/lib/Lex/HeaderSearch.cpp clang/lib/Serialization/ASTReader.cpp clang/lib/Serialization/ASTWriter.cpp clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
View the diff from clang-format here.
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index eb1f2e9f9f..b8988a7cf1 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -4958,9 +4958,8 @@ bool CompilerInvocation::CreateFromArgsImpl(
   // Set PGOOptions. Need to create a temporary VFS to read the profile
   // to determine the PGO type.
   if (!Res.getCodeGenOpts().ProfileInstrumentUsePath.empty()) {
-    auto FS =
-        createVFSFromOverlayFiles(Res.getFileSystemOpts().VFSOverlayFiles,
-                                  Diags, llvm::vfs::getRealFileSystem());
+    auto FS = createVFSFromOverlayFiles(Res.getFileSystemOpts().VFSOverlayFiles,
+                                        Diags, llvm::vfs::getRealFileSystem());
     setPGOUseInstrumentor(Res.getCodeGenOpts(),
                           Res.getCodeGenOpts().ProfileInstrumentUsePath, *FS,
                           Diags);

@github-actions
Copy link

✅ With the latest revision this PR passed the Python code formatter.

@jansvoboda11 jansvoboda11 force-pushed the overlays-from-hs-to-fs-opts branch from 15e7325 to d49ef2d Compare November 2, 2024 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant