Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

Commit 8b5d537

Browse files
Revert "EISW-176770 Fix argument parsing issue in mlir-src-sharder after command-line parser reset"
This reverts commit e764f86.
1 parent 68190c6 commit 8b5d537

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

mlir/tools/mlir-src-sharder/mlir-src-sharder.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,6 @@ int main(int argc, char **argv) {
7272
"Name of the macro to be defined -- ignored by mlir-src-sharder"),
7373
llvm::cl::value_desc("macro name"), llvm::cl::Prefix);
7474

75-
// CMake/TableGen pass this flag, re-registering after ResetCommandLineParser
76-
// avoids "unknown argument" errors.
77-
llvm::cl::opt<bool> noWarnOnUnusedTemplateArg(
78-
"no-warn-on-unused-template-args",
79-
llvm::cl::desc("Disable unused template argument warnings."));
80-
8175
llvm::InitLLVM y(argc, argv);
8276
llvm::cl::ParseCommandLineOptions(argc, argv);
8377

0 commit comments

Comments
 (0)