In preparation to use it in more places rename
checkBuiltinTargetFeatures to checkTargetFeatures and sink
the error handling into the function.

llvm-svn: 252832
GitOrigin-RevId: c7e79dbec8b392e588e6c3bf17d611656a1f682d
2 files changed