Author: Mingming Liu
Date: 2023-11-10T13:09:14-08:00
New Revision: 1a86a5b4493f558b6d4e50aaea46d64539426aa2

URL: 
https://github.com/llvm/llvm-project/commit/1a86a5b4493f558b6d4e50aaea46d64539426aa2
DIFF: 
https://github.com/llvm/llvm-project/commit/1a86a5b4493f558b6d4e50aaea46d64539426aa2.diff

LOG: Update CommandLineTest.cpp

Added: 
    

Modified: 
    llvm/unittests/Support/CommandLineTest.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/Support/CommandLineTest.cpp 
b/llvm/unittests/Support/CommandLineTest.cpp
index 4411ed0f83928ad..b6542363dc61e3b 100644
--- a/llvm/unittests/Support/CommandLineTest.cpp
+++ b/llvm/unittests/Support/CommandLineTest.cpp
@@ -538,7 +538,7 @@ TEST(CommandLineTest, TopLevelOptInSubcommand) {
   // A command line using subcommand should parse both subcommand options and
   // top-level options.  A valid use case is that users of llvm command line
   // tools should be able to specify top-level options defined in any library.
-  cl::opt<std::string> TopLevelOpt("str", cl::init("txt"),
+  StackOption<std::string> TopLevelOpt("str", cl::init("txt"),
                                    cl::desc("A top-level option."));
 
   StackSubCommand SC("sc", "Subcommand");


        
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to