This revision was automatically updated to reflect the committed changes.
Closed by commit rL368785: Add __has_builtin support for builtin function-like
type traits. (authored by rsmith, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM aside from some nits.
Comment at: docs/LanguageExtensions.rst:65
+
+ ``__has_builtin`` should not be used to detect support for a built-in macro;
+ use `
rsmith created this revision.
rsmith added a reviewer: aaron.ballman.
Herald added subscribers: cfe-commits, kristina, jfb.
Herald added a project: clang.
Previously __has_builtin(__builtin_*) would return false for
__builtin_*s that we modeled as keywords rather than as functions
(because they ta