aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/BuiltinTargetFeatures.h
AgeCommit message (Collapse)AuthorFilesLines
2022-05-19[clang] Fix __has_builtinYaxun (Sam) Liu1-0/+95
Fix __has_builtin to return 1 only if the requested target features of a builtin are enabled by refactoring the code for checking required target features of a builtin and use it in evaluation of __has_builtin. Reviewed by: Artem Belevich Differential Revision: https://reviews.llvm.org/D125829