[llvm] [tools][llvm-as] Fix file input extension description (PR #108295)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 11 14:32:25 PDT 2024
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 c2b93e0671d8cfd6b1a24c6e1d7be290125b8974 81c972583599068aec73f4c00b966d0aa37043e0 --extensions cpp -- llvm/tools/llvm-as/llvm-as.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/tools/llvm-as/llvm-as.cpp b/llvm/tools/llvm-as/llvm-as.cpp
index 39e25b4bcf..d8e36de59b 100644
--- a/llvm/tools/llvm-as/llvm-as.cpp
+++ b/llvm/tools/llvm-as/llvm-as.cpp
@@ -32,9 +32,8 @@ using namespace llvm;
cl::OptionCategory AsCat("llvm-as Options");
-static cl::opt<std::string> InputFilename(cl::Positional,
- cl::desc("<input .ll file>"),
- cl::init("-"));
+static cl::opt<std::string>
+ InputFilename(cl::Positional, cl::desc("<input .ll file>"), cl::init("-"));
static cl::opt<std::string> OutputFilename("o",
cl::desc("Override output filename"),
``````````
</details>
https://github.com/llvm/llvm-project/pull/108295
More information about the llvm-commits
mailing list