]> granicus.if.org Git - clang/commit
Add isValidCPUName and isValidFeature to TargetInfo
authorErich Keane <erich.keane@intel.com>
Wed, 19 Jul 2017 21:50:08 +0000 (21:50 +0000)
committerErich Keane <erich.keane@intel.com>
Wed, 19 Jul 2017 21:50:08 +0000 (21:50 +0000)
commitcaf7e5a0b51f04b9594f78a31fead6937247acd1
tree077cd631a50eebf865864a047cae903068735be8
parent8ccbaa6d612eac92d7ec4d0deff876d36d9510fd
Add isValidCPUName and isValidFeature to TargetInfo

These two functions are really useful for implementations of attributes
(including attribute-target), so add the functionality.

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