diff options
author | Vedant Kumar <vsk@apple.com> | 2020-11-05 11:38:50 -0800 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2020-11-05 16:04:02 -0800 |
commit | 16e5a347e70b4c819ff440dddd2320457cc2c8ca (patch) | |
tree | aedd67a68418a1e305ab49173aca5bbe7714ccd6 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 3790e17f461e5de60e6f802497d96b7de036e0b2 (diff) | |
download | llvm-16e5a347e70b4c819ff440dddd2320457cc2c8ca.zip llvm-16e5a347e70b4c819ff440dddd2320457cc2c8ca.tar.gz llvm-16e5a347e70b4c819ff440dddd2320457cc2c8ca.tar.bz2 |
[TargetList] Simplify dummy target creation
Factor out dummy target creation from CreateTargetInternal.
This makes it impossible for dummy target creation to accidentally fail
due to too-strict checking in one of the CreateTargetInternal overloads.
Testing: check-lldb
rdar://70630655
Differential Revision: https://reviews.llvm.org/D90872
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions