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)
llvm-svn: 237374

clang/lib/Driver/Tools.cpp

index ec00ff1..756600e 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");