From 03404c14fee8ea0189454cf245f86ed0bc13aa66 Mon Sep 17 00:00:00 2001 From: Ikhlas Ajbar Date: Thu, 14 May 2015 17:42:20 +0000 Subject: [PATCH] Remove unused function HasPICArg(). llvm-svn: 237374 --- clang/lib/Driver/Tools.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index ec00ff1..756600e 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -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"); -- 2.7.4