diff options
author | Brad Smith <brad@comstyle.com> | 2020-08-23 20:01:38 -0400 |
---|---|---|
committer | Brad Smith <brad@comstyle.com> | 2020-08-23 20:08:40 -0400 |
commit | 2b37174b9a5db235e493cb72e4454cc08a1b1791 (patch) | |
tree | fb6514cb42b12eb66dce79f03852dcd775a03fea /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | |
parent | 86bbf8e6fc2bf6396c1efae556bacda054f90b33 (diff) | |
download | llvm-2b37174b9a5db235e493cb72e4454cc08a1b1791.zip llvm-2b37174b9a5db235e493cb72e4454cc08a1b1791.tar.gz llvm-2b37174b9a5db235e493cb72e4454cc08a1b1791.tar.bz2 |
[clang][Driver] Implement AddClangSystemIncludeArgs and HasNativeLLVMSupport for the OpenBSD clang driver.
If not overridden, AddClangSystemIncludeArgs's implementation is empty, so by
default, no system include args are added to the Clang driver. This means that
invoking Clang without the frontend must include a manual -I/usr/include flag,
which is inconsistent behavior. Therefore, override and implement this method
to match. Some boilerplate is also borrowed for handling of the other driver
flags.
While we are here, also override and enable HasNativeLLVMSupport.
Patch by: 3405691582 (dana koch)
Differential Revision: https://reviews.llvm.org/D86412
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
0 files changed, 0 insertions, 0 deletions