Skip to content
Commit 9621b177 authored by Louis Dionne's avatar Louis Dionne
Browse files

[clang] Don't include C++ Standard Library headers when -nostdinc is used

This is a follow-up to 53c98d85, which made the same change but only
for GNU. It seems that we should try to provide a consistent behavior
across all targets.

This fixes an issue where clang/test/Driver/nostdincxx.cpp would start
failing on non-GNU targets because that test was too loose in its checks.
It would only check that 'file not found' was part of the error message,
but didn't ensure that the file we had not found was <vector>.

Differential Revision: https://reviews.llvm.org/D138062
parent b5d74f0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment