[PATCH] Xcore target: Fix CXXStdlibIncludeArgs to check 'nostdinc++' flag too.
robert lytton
robert at xmos.com
Fri Aug 1 06:20:42 PDT 2014
Closed by commit rL214510 (authored by rlytton).
REPOSITORY
rL LLVM
http://reviews.llvm.org/D4621
Files:
cfe/trunk/lib/Driver/ToolChains.cpp
Index: cfe/trunk/lib/Driver/ToolChains.cpp
===================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp
+++ cfe/trunk/lib/Driver/ToolChains.cpp
@@ -3511,7 +3511,8 @@
void XCore::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs,
ArgStringList &CC1Args) const {
if (DriverArgs.hasArg(options::OPT_nostdinc) ||
- DriverArgs.hasArg(options::OPT_nostdlibinc))
+ DriverArgs.hasArg(options::OPT_nostdlibinc) ||
+ DriverArgs.hasArg(options::OPT_nostdincxx))
return;
if (const char *cl_include_dir = getenv("XCC_CPLUS_INCLUDE_PATH")) {
SmallVector<StringRef, 4> Dirs;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4621.12101.patch
Type: text/x-patch
Size: 686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140801/c515fa1a/attachment.bin>
More information about the cfe-commits
mailing list