[PATCH] D22945: [Driver] Replace more uses of default triples with effective triples (NFCI)
Vedant Kumar via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 28 15:18:08 PDT 2016
vsk created this revision.
vsk added reviewers: echristo, dexonsmith.
vsk added a subscriber: cfe-commits.
Herald added subscribers: mehdi_amini, srhines, danalbert, tberghammer.
Wherever possible, replace:
- getToolChain.getArch() with <EffectiveTriple>.getArch()
- getToolChain.getTriple() with <EffectiveTriple>
On my end, I tested this patch with a clang which supports all in-tree
targets.
This is part of on ongoing effort to use effective target triples
whenever we can in the clang driver (see: [cfe-dev] Lessening the
driver's reliance on default target triples).
https://reviews.llvm.org/D22945
Files:
lib/Driver/Tools.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22945.66035.patch
Type: text/x-patch
Size: 26676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160728/9ca947b4/attachment-0001.bin>
More information about the cfe-commits
mailing list