Update the documentation for attribute feature tests.
authorAaron Ballman <aaron@aaronballman.com>
Tue, 20 Nov 2018 15:23:07 +0000 (15:23 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 20 Nov 2018 15:23:07 +0000 (15:23 +0000)
commit6201557b184c0c448e395cad186cc28335950b7c
treef7b3fd7a10eb65eeb4d37bd0fa712e74a7fd7812
parent9a0ed200729538b2032353d92c9c821373457973
Update the documentation for attribute feature tests.

This clarifies that __has_cpp_attribute is no longer always an extension since it's now available in C++2a. Also, Both __has_cpp_attribute and __has_c_attribute can accept attribute scope tokens with alternative spelling (clang vs _Clang and gnu vs __gnu__).

llvm-svn: 347312
clang/docs/LanguageExtensions.rst