summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorErik Pilkington <erik.pilkington@gmail.com>2019-01-08 18:24:39 +0000
committerErik Pilkington <erik.pilkington@gmail.com>2019-01-08 18:24:39 +0000
commitbb0807fa5dfc699fa26e4c7d40c42dfe513f0aa0 (patch)
tree99d56bd8330cc2f2c99098e45df45bb25f0a62c9 /docs
parent2444c788c494a66f7183cad8dfa6208352a2f46c (diff)
__has_feature(pragma_clang_attribute_namespaces) should be __has_extension
Thanks to Richard Smith for pointing this out. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350642 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LanguageExtensions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/LanguageExtensions.rst b/docs/LanguageExtensions.rst
index 574bb77345..e155cefb78 100644
--- a/docs/LanguageExtensions.rst
+++ b/docs/LanguageExtensions.rst
@@ -2727,7 +2727,7 @@ Without the namespaces on the macros, ``other_function`` will be annotated with
a contrived example, but its very possible for this kind of situation to appear
in real code if the pragmas are spread out across a large file. You can test if
your version of clang supports namespaces on ``#pragma clang attribute`` with
-``__has_feature(pragma_clang_attribute_namespaces)``.
+``__has_extension(pragma_clang_attribute_namespaces)``.
Subject Match Rules
-------------------