]> granicus.if.org Git - clang/commit
Targets: Allow CreateTargetInfo to mutate the target features.
authorDaniel Dunbar <daniel@zuster.org>
Sat, 19 Dec 2009 03:30:57 +0000 (03:30 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 19 Dec 2009 03:30:57 +0000 (03:30 +0000)
commitb93292ab7f2b3d43a9e0ad6421f572d1f5a323b4
tree56373f6d451ad026ff50f65b73458bfd5d88c773
parent910e4080986045cc2036f8d1f55398acc7fbb257
Targets: Allow CreateTargetInfo to mutate the target features.
 - In particular, it can claim features for itself instead of always passing them on to LLVM.
 - This allows using the target features as a generic mechanism for passing target specific options to the TargetInfo instance, which may need them for initializing preprocessor defines, etc.

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