[llvm] 24ccdc5 - [llvm][llvm-as] Fix file input extension description (#108295)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 17 01:50:48 PDT 2024


Author: Amr Hesham
Date: 2024-09-17T10:50:44+02:00
New Revision: 24ccdc5f291048b70e424bb4a63cadce6d891f11

URL: https://github.com/llvm/llvm-project/commit/24ccdc5f291048b70e424bb4a63cadce6d891f11
DIFF: https://github.com/llvm/llvm-project/commit/24ccdc5f291048b70e424bb4a63cadce6d891f11.diff

LOG: [llvm][llvm-as] Fix file input extension description (#108295)

Input file extension description should mention that it should be `.ll`
not `.llvm`

Added: 
    

Modified: 
    llvm/tools/llvm-as/llvm-as.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-as/llvm-as.cpp b/llvm/tools/llvm-as/llvm-as.cpp
index f28ad00184420f..d8e36de59bcb4f 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 .llvm 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"),


        


More information about the llvm-commits mailing list