aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
diff options
context:
space:
mode:
authorBrad Smith <brad@comstyle.com>2020-08-23 20:01:38 -0400
committerBrad Smith <brad@comstyle.com>2020-08-23 20:08:40 -0400
commit2b37174b9a5db235e493cb72e4454cc08a1b1791 (patch)
treefb6514cb42b12eb66dce79f03852dcd775a03fea /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
parent86bbf8e6fc2bf6396c1efae556bacda054f90b33 (diff)
downloadllvm-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