From 1f7116320843169cc9ea4b4a65a5e4c66db1bd10 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Mon, 14 Apr 2014 11:15:08 -0700 Subject: [PATCH 3/3] Allow multiple --no-warn-mismatch Change-Id: I72ab8f2aa28d94e53d429e9d3e9c6fae91518082 --- tools/lite/lib/OutputFormatOptions.cpp | 1 + tools/mcld/main.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/lite/lib/OutputFormatOptions.cpp b/tools/lite/lib/OutputFormatOptions.cpp index 40ac2dc..902fac1 100644 --- a/tools/lite/lib/OutputFormatOptions.cpp +++ b/tools/lite/lib/OutputFormatOptions.cpp @@ -149,6 +149,7 @@ llvm::cl::opt ArgHashStyle("hash-style", clEnumValEnd)); llvm::cl::opt ArgNoWarnMismatch("no-warn-mismatch", + llvm::cl::ZeroOrMore, llvm::cl::desc("Allow linking together mismatched input files."), llvm::cl::init(false)); diff --git a/tools/mcld/main.cpp b/tools/mcld/main.cpp index 6a28c91..b8795dd 100644 --- a/tools/mcld/main.cpp +++ b/tools/mcld/main.cpp @@ -734,6 +734,7 @@ ArgARMCompatibility("p", static cl::opt ArgNoWarnMismatch("no-warn-mismatch", + cl::ZeroOrMore, cl::desc("Allow linking together mismatched input files."), cl::init(false)); -- 1.9.1.423.g4596e3a