]> granicus.if.org Git - clang/commit
Pass in a cpu to initDefaultFeatures so that we can share this code
authorEric Christopher <echristo@gmail.com>
Thu, 27 Aug 2015 00:05:52 +0000 (00:05 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 27 Aug 2015 00:05:52 +0000 (00:05 +0000)
commit039ac0d2502dcb4a796b9c4a94413c2c6fe31839
treea0893b8332969d394617c4aa5d905a480e3b4d59
parentea2ac254cc32629be37a19230ceee01863558174
Pass in a cpu to initDefaultFeatures so that we can share this code
with multiple uses of feature map construction.

Note: We could make this a static function on TargetInfo if we
fix the x86 port needing to check the triple in an isolated case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246128 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/TargetInfo.h
lib/Basic/Targets.cpp