summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/ToolChain.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-11-04 23:49:01 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-11-04 23:49:01 +0000
commit814db37f7d28fc4c26c47691638dceb87377e776 (patch)
treeed1a97740677ec70dc1422dcec68d6b0c9693024 /clang/lib/Driver/ToolChain.cpp
parent8f249600e7d501dd6d9a9354fd6c0ce35b58c5e7 (diff)
downloadbcm5719-llvm-814db37f7d28fc4c26c47691638dceb87377e776.tar.gz
bcm5719-llvm-814db37f7d28fc4c26c47691638dceb87377e776.zip
Switch the C++ include interface in the ToolChain to use the same naming
as the system include interface before I start adding implementations of it to individual ToolChain implementations. llvm-svn: 143751
Diffstat (limited to 'clang/lib/Driver/ToolChain.cpp')
-rw-r--r--clang/lib/Driver/ToolChain.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Driver/ToolChain.cpp b/clang/lib/Driver/ToolChain.cpp
index 5418436315d..9453848ec00 100644
--- a/clang/lib/Driver/ToolChain.cpp
+++ b/clang/lib/Driver/ToolChain.cpp
@@ -230,8 +230,8 @@ ToolChain::CXXStdlibType ToolChain::GetCXXStdlibType(const ArgList &Args) const{
return ToolChain::CST_Libstdcxx;
}
-void ToolChain::AddClangCXXStdlibIncludeArgs(const ArgList &Args,
- ArgStringList &CmdArgs) const {
+void ToolChain::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs,
+ ArgStringList &CC1Args) const {
// Header search paths should be handled by each of the subclasses.
// Historically, they have not been, and instead have been handled inside of
// the CC1-layer frontend. As the logic is hoisted out, this generic function
@@ -241,7 +241,7 @@ void ToolChain::AddClangCXXStdlibIncludeArgs(const ArgList &Args,
// '-stdlib=' flag down to CC1 so that it can in turn customize the C++
// header search paths with it. Once all systems are overriding this
// function, the CC1 flag and this line can be removed.
- Args.AddAllArgs(CmdArgs, options::OPT_stdlib_EQ);
+ DriverArgs.AddAllArgs(CC1Args, options::OPT_stdlib_EQ);
}
void ToolChain::AddCXXStdlibLibArgs(const ArgList &Args,
OpenPOWER on IntegriCloud