aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAleksandr Platonov <platonov.aleksandr@huawei.com>2020-11-26 14:58:22 +0300
committerAleksandr Platonov <platonov.aleksandr@huawei.com>2020-11-26 15:08:26 +0300
commit1ca174b6420a49bcd3331d6f86e237b627163597 (patch)
treed5633885b8cc748fbaaf657ee33880fe371339b3 /clang/lib/Frontend/CompilerInvocation.cpp
parent2da8fa4ebf1077b35c1bc618616ec902e737c11b (diff)
downloadllvm-1ca174b6420a49bcd3331d6f86e237b627163597.zip
llvm-1ca174b6420a49bcd3331d6f86e237b627163597.tar.gz
llvm-1ca174b6420a49bcd3331d6f86e237b627163597.tar.bz2
[clangd][query-driver] Extract target
In some cases system includes extractions is not enough, we also need target specific defines. The problems appears when clang default target is not the same as toolchain's one (GCC cross-compiler, MinGW on Windows). After this patch `query-driver` also extracts target and adds `--target=<extracted target>` compile option. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D92012
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions