[PATCH] D35572: Add isValidCPUName and isValidFeature to TargetInfo

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 18 10:39:38 PDT 2017


erichkeane created this revision.

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


https://reviews.llvm.org/D35572

Files:
  include/clang/Basic/TargetInfo.h
  lib/Basic/Targets.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35572.107133.patch
Type: text/x-patch
Size: 15262 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170718/7b1941ea/attachment.bin>


More information about the cfe-commits mailing list