[PATCH] D97561: [clang] Use CompilerInstance::createTarget to createTarget

Tommy Chiang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 26 08:40:14 PST 2021


oToToT created this revision.
oToToT added reviewers: sammccall, rsmith, klimek, dexonsmith.
oToToT added a project: clang.
oToToT requested review of this revision.
Herald added a subscriber: cfe-commits.

As proposed in D97109 <https://reviews.llvm.org/D97109>, I tried to replace all similar target creating logics to a single CompilerInstance::createTarget call introduced in  D97493 <https://reviews.llvm.org/D97493>.

This improve the consistency while creating Target.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97561

Files:
  clang/lib/Frontend/ASTUnit.cpp
  clang/lib/Frontend/ChainedIncludesSource.cpp
  clang/lib/Frontend/PrecompiledPreamble.cpp
  clang/tools/clang-import-test/clang-import-test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97561.326700.patch
Type: text/x-patch
Size: 4699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210226/2e006784/attachment.bin>


More information about the cfe-commits mailing list