[PATCH] D48297: [Darwin] Add a warning for missing include path for libstdc++

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 18 14:03:29 PDT 2018


arphaman created this revision.
arphaman added reviewers: bruno, vsapsai.

Xcode 10 removes support for libstdc++, but the users just get a confusing include not file warning when including an STL header (when building for iOS6 which uses libstdc++ by default for example).
This patch adds a new warning that lets the user know that the libstdc++ include path was not found to ensure that the user is more aware of why the error occurs.

rdar://40830462


Repository:
  rC Clang

https://reviews.llvm.org/D48297

Files:
  include/clang/Basic/DiagnosticFrontendKinds.td
  include/clang/Lex/HeaderSearch.h
  lib/Frontend/InitHeaderSearch.cpp
  test/Frontend/warning-stdlibcxx-darwin.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48297.151786.patch
Type: text/x-patch
Size: 10022 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180618/4597f5e4/attachment-0001.bin>


More information about the cfe-commits mailing list