1From 1f7116320843169cc9ea4b4a65a5e4c66db1bd10 Mon Sep 17 00:00:00 2001 2From: Andrew Hsieh <andrewhsieh@google.com> 3Date: Mon, 14 Apr 2014 11:15:08 -0700 4Subject: [PATCH 3/3] Allow multiple --no-warn-mismatch 5 6Change-Id: I72ab8f2aa28d94e53d429e9d3e9c6fae91518082 7--- 8 tools/lite/lib/OutputFormatOptions.cpp | 1 + 9 tools/mcld/main.cpp | 1 + 10 2 files changed, 2 insertions(+) 11 12diff --git a/tools/lite/lib/OutputFormatOptions.cpp b/tools/lite/lib/OutputFormatOptions.cpp 13index 40ac2dc..902fac1 100644 14--- a/tools/lite/lib/OutputFormatOptions.cpp 15+++ b/tools/lite/lib/OutputFormatOptions.cpp 16@@ -149,6 +149,7 @@ llvm::cl::opt<mcld::GeneralOptions::HashStyle> ArgHashStyle("hash-style", 17 clEnumValEnd)); 18 19 llvm::cl::opt<bool> ArgNoWarnMismatch("no-warn-mismatch", 20+ llvm::cl::ZeroOrMore, 21 llvm::cl::desc("Allow linking together mismatched input files."), 22 llvm::cl::init(false)); 23 24diff --git a/tools/mcld/main.cpp b/tools/mcld/main.cpp 25index 6a28c91..b8795dd 100644 26--- a/tools/mcld/main.cpp 27+++ b/tools/mcld/main.cpp 28@@ -734,6 +734,7 @@ ArgARMCompatibility("p", 29 30 static cl::opt<bool> 31 ArgNoWarnMismatch("no-warn-mismatch", 32+ cl::ZeroOrMore, 33 cl::desc("Allow linking together mismatched input files."), 34 cl::init(false)); 35 36-- 371.9.1.423.g4596e3a 38 39