[PATCH] D109078: [clang][driver][AIX] Add system libc++ header paths to driver

David Tenty via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 1 11:19:32 PDT 2021


daltenty created this revision.
daltenty added reviewers: hubert.reinterpretcast, stevewan, ZarkoCA.
daltenty requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This change adds the system libc++ header location to the driver. As well we define
the __LIBC_NO_CPP_MATH_OVERLOADS__ when using those headers, in order to suppress
conflicting C++ overloads in the system libc headers that were used by XL C++.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109078

Files:
  clang/lib/Driver/ToolChains/AIX.cpp
  clang/lib/Driver/ToolChains/AIX.h
  clang/test/Driver/aix-ld.c
  clang/test/Driver/aix-toolchain-include.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109078.369997.patch
Type: text/x-patch
Size: 8998 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210901/f4ec7bef/attachment-0001.bin>


More information about the cfe-commits mailing list