]> granicus.if.org Git - clang/commitdiff
Remove unused function HasPICArg().
authorIkhlas Ajbar <iajbar@codeaurora.org>
Thu, 14 May 2015 17:42:20 +0000 (17:42 +0000)
committerIkhlas Ajbar <iajbar@codeaurora.org>
Thu, 14 May 2015 17:42:20 +0000 (17:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@237374 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index ec00ff1d9172a52e3eb606047b807d458d72f374..756600eddc12c6210fbafda499ee53a75b8c947c 100644 (file)
@@ -1729,11 +1729,6 @@ void Clang::AddX86TargetArgs(const ArgList &Args,
   }
 }
 
-static inline bool HasPICArg(const ArgList &Args) {
-  return Args.hasArg(options::OPT_fPIC)
-    || Args.hasArg(options::OPT_fpic);
-}
-
 void Clang::AddHexagonTargetArgs(const ArgList &Args,
                                  ArgStringList &CmdArgs) const {
   CmdArgs.push_back("-fno-signed-char");