[PATCH] D97493: [clang][NFC] Extract Target and AuxTarget creation in CompilerInstance to new function
Tommy Chiang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 25 12:04:38 PST 2021
oToToT created this revision.
oToToT added reviewers: sammccall, rsmith.
oToToT added a project: clang.
oToToT requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: cfe-commits, sstefan1.
As @sammccall mentioned in D97109 <https://reviews.llvm.org/D97109>, I've extract the logic of creating Target and AuxTarget into a new function called `createTargetAndAuxTarget`.
Since there are many similar code in clang or other related tools, consolidating them into a single function may help others to maintain the logic handling target related things.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97493
Files:
clang/include/clang/Frontend/CompilerInstance.h
clang/lib/Frontend/CompilerInstance.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97493.326460.patch
Type: text/x-patch
Size: 5249 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210225/02e14bb2/attachment.bin>
More information about the cfe-commits
mailing list