Remove unused param from Linux::computeSysRoot().

llvm-svn: 192034
This commit is contained in:
Simon Atanasyan 2013-10-05 14:37:55 +00:00
parent 9e5b0da062
commit a0d895733b
2 changed files with 4 additions and 4 deletions

View File

@ -2210,7 +2210,7 @@ static StringRef getMultilibDir(const llvm::Triple &Triple,
Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args)
: Generic_ELF(D, Triple, Args) {
llvm::Triple::ArchType Arch = Triple.getArch();
std::string SysRoot = computeSysRoot(Args);
std::string SysRoot = computeSysRoot();
// Cross-compiling binutils and GCC installations (vanilla and openSUSE at
// least) put various tools in a triple-prefixed directory off of the parent
@ -2390,7 +2390,7 @@ void Linux::addClangTargetOptions(const ArgList &DriverArgs,
CC1Args.push_back("-fuse-init-array");
}
std::string Linux::computeSysRoot(const ArgList &Args) const {
std::string Linux::computeSysRoot() const {
if (!getDriver().SysRoot.empty())
return getDriver().SysRoot;
@ -2408,7 +2408,7 @@ std::string Linux::computeSysRoot(const ArgList &Args) const {
void Linux::AddClangSystemIncludeArgs(const ArgList &DriverArgs,
ArgStringList &CC1Args) const {
const Driver &D = getDriver();
std::string SysRoot = computeSysRoot(DriverArgs);
std::string SysRoot = computeSysRoot();
if (DriverArgs.hasArg(options::OPT_nostdinc))
return;

View File

@ -591,7 +591,7 @@ private:
const llvm::opt::ArgList &DriverArgs,
llvm::opt::ArgStringList &CC1Args);
std::string computeSysRoot(const llvm::opt::ArgList &Args) const;
std::string computeSysRoot() const;
};
class LLVM_LIBRARY_VISIBILITY Hexagon_TC : public Linux {