]> granicus.if.org Git - clang/commitdiff
Remove unused argument.
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 4 Apr 2012 18:28:00 +0000 (18:28 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 4 Apr 2012 18:28:00 +0000 (18:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154035 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index 94ff5b1f1bdf52c718ec73307162d372a5db6a98..4c1cd392af17cd899462176e0bcfddde19d2de4b 100644 (file)
@@ -1079,7 +1079,7 @@ shouldUseExceptionTablesForObjCExceptions(unsigned objcABIVersion,
 /// Objective-C exceptions.
 static void addExceptionArgs(const ArgList &Args, types::ID InputType,
                              const llvm::Triple &Triple,
-                             bool KernelOrKext, bool IsRewriter,
+                             bool KernelOrKext,
                              unsigned objcABIVersion,
                              ArgStringList &CmdArgs) {
   if (KernelOrKext) {
@@ -2364,7 +2364,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
 
   // Add exception args.
   addExceptionArgs(Args, InputType, getToolChain().getTriple(),
-                   KernelOrKext, IsRewriter, objcABIVersion, CmdArgs);
+                   KernelOrKext, objcABIVersion, CmdArgs);
 
   if (getToolChain().UseSjLjExceptions())
     CmdArgs.push_back("-fsjlj-exceptions");