Remove extraneous qualifiers due to "using namespace". NFC
llvm-svn: 239038
This commit is contained in:
parent
37593732a4
commit
f08fadfe2b
2 changed files with 10 additions and 10 deletions
|
|
@ -2185,6 +2185,6 @@ std::pair<unsigned, unsigned> Driver::getIncludeExcludeOptionFlagMasks() const {
|
|||
return std::make_pair(IncludedFlagsBitmask, ExcludedFlagsBitmask);
|
||||
}
|
||||
|
||||
bool clang::driver::isOptimizationLevelFast(const llvm::opt::ArgList &Args) {
|
||||
bool clang::driver::isOptimizationLevelFast(const ArgList &Args) {
|
||||
return Args.hasFlag(options::OPT_Ofast, options::OPT_O_Group, false);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -879,8 +879,8 @@ DerivedArgList *MachO::TranslateArgs(const DerivedArgList &Args,
|
|||
return DAL;
|
||||
}
|
||||
|
||||
void MachO::AddLinkRuntimeLibArgs(const llvm::opt::ArgList &Args,
|
||||
llvm::opt::ArgStringList &CmdArgs) const {
|
||||
void MachO::AddLinkRuntimeLibArgs(const ArgList &Args,
|
||||
ArgStringList &CmdArgs) const {
|
||||
// Embedded targets are simple at the moment, not supporting sanitizers and
|
||||
// with different libraries for each member of the product { static, PIC } x
|
||||
// { hard-float, soft-float }
|
||||
|
|
@ -989,8 +989,8 @@ bool MachO::SupportsProfiling() const {
|
|||
return getArch() == llvm::Triple::x86 || getArch() == llvm::Triple::x86_64;
|
||||
}
|
||||
|
||||
void Darwin::addMinVersionArgs(const llvm::opt::ArgList &Args,
|
||||
llvm::opt::ArgStringList &CmdArgs) const {
|
||||
void Darwin::addMinVersionArgs(const ArgList &Args,
|
||||
ArgStringList &CmdArgs) const {
|
||||
VersionTuple TargetVersion = getTargetVersion();
|
||||
|
||||
if (isTargetIOSSimulator())
|
||||
|
|
@ -1005,8 +1005,8 @@ void Darwin::addMinVersionArgs(const llvm::opt::ArgList &Args,
|
|||
CmdArgs.push_back(Args.MakeArgString(TargetVersion.getAsString()));
|
||||
}
|
||||
|
||||
void Darwin::addStartObjectFileArgs(const llvm::opt::ArgList &Args,
|
||||
llvm::opt::ArgStringList &CmdArgs) const {
|
||||
void Darwin::addStartObjectFileArgs(const ArgList &Args,
|
||||
ArgStringList &CmdArgs) const {
|
||||
// Derived from startfile spec.
|
||||
if (Args.hasArg(options::OPT_dynamiclib)) {
|
||||
// Derived from darwin_dylib1 spec.
|
||||
|
|
@ -1575,7 +1575,7 @@ static Multilib makeMultilib(StringRef commonSuffix) {
|
|||
}
|
||||
|
||||
static bool findMIPSMultilibs(const llvm::Triple &TargetTriple, StringRef Path,
|
||||
const llvm::opt::ArgList &Args,
|
||||
const ArgList &Args,
|
||||
DetectedMultilibs &Result) {
|
||||
// Some MIPS toolchains put libraries and object files compiled
|
||||
// using different options in to the sub-directoris which names
|
||||
|
|
@ -3705,8 +3705,8 @@ void XCore::AddClangSystemIncludeArgs(const ArgList &DriverArgs,
|
|||
}
|
||||
}
|
||||
|
||||
void XCore::addClangTargetOptions(const llvm::opt::ArgList &DriverArgs,
|
||||
llvm::opt::ArgStringList &CC1Args) const {
|
||||
void XCore::addClangTargetOptions(const ArgList &DriverArgs,
|
||||
ArgStringList &CC1Args) const {
|
||||
CC1Args.push_back("-nostdsysteminc");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue