aboutsummaryrefslogtreecommitdiff
path: root/clang/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
commit6ccc173b97232a5f685b0b01d916792834feba9e (patch)
tree4f4a01d9f132c90cdd5f22ec615dab97ca95cab5 /clang/docs
parent7402fd9a35bcfd534dbd339e0ccfcd0fa1642c9d (diff)
__has_feature(pragma_clang_attribute_namespaces) should be __has_extension
Thanks to Richard Smith for pointing this out. llvm-svn: 350642
Diffstat (limited to 'clang/docs')
-rw-r--r--clang/docs/LanguageExtensions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst
index 574bb77345a8..e155cefb7890 100644
--- a/clang/docs/LanguageExtensions.rst
+++ b/clang/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
-------------------