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/include/clang/Frontend/FrontendOptions.h clang/lib/Driver/Driver.cpp 
clang/lib/Driver/ToolChains/Clang.cpp clang/lib/Frontend/CompilerInvocation.cpp 
clang/test/Driver/compress-zstd.c clang/test/Driver/ftime-trace.cpp 
clang/tools/driver/cc1_main.cpp llvm/include/llvm/Support/TimeProfiler.h 
llvm/lib/Support/TimeProfiler.cpp llvm/unittests/Support/TimeProfilerTest.cpp 
--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/llvm/include/llvm/Support/TimeProfiler.h 
b/llvm/include/llvm/Support/TimeProfiler.h
index 417918cb1..014379de6 100644
--- a/llvm/include/llvm/Support/TimeProfiler.h
+++ b/llvm/include/llvm/Support/TimeProfiler.h
@@ -116,8 +116,7 @@ struct TimeTraceProfilerEntry;
 
 /// Infer the time trace compression format from \p Path based on its file
 /// extension (.zst/.zstd -> Zstd, otherwise None).
-LLVM_ABI DebugCompressionType
-inferTimeTraceCompressionFromPath(StringRef Path);
+LLVM_ABI DebugCompressionType inferTimeTraceCompressionFromPath(StringRef 
Path);
 
 /// Initialize the time trace profiler.
 /// This sets up the global \p TimeTraceProfilerInstance

``````````

</details>


https://github.com/llvm/llvm-project/pull/228627
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to