[clang] [Clang][docs] Update extension documentation (PR #75150)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 12 00:25:06 PST 2023
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Nikolas Klauser (philnik777)
<details>
<summary>Changes</summary>
This is back-ported to C++03 now, since clang accepts C++11 attributes in C++03. https://godbolt.org/z/f7xG18bdE
---
Full diff: https://github.com/llvm/llvm-project/pull/75150.diff
1 Files Affected:
- (modified) clang/docs/LanguageExtensions.rst (+1-1)
``````````diff
diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst
index 294210c6ac140..7730a2e405ec1 100644
--- a/clang/docs/LanguageExtensions.rst
+++ b/clang/docs/LanguageExtensions.rst
@@ -1470,7 +1470,7 @@ Relaxed constexpr __cpp_constexpr C++14
``if constexpr`` __cpp_if_constexpr C++17 C++11
fold expressions __cpp_fold_expressions C++17 C++03
Lambda capture of \*this by value __cpp_capture_star_this C++17 C++11
-Attributes on enums __cpp_enumerator_attributes C++17 C++11
+Attributes on enums __cpp_enumerator_attributes C++17 C++03
Guaranteed copy elision __cpp_guaranteed_copy_elision C++17 C++03
Hexadecimal floating literals __cpp_hex_float C++17 C++03
``inline`` variables __cpp_inline_variables C++17 C++03
``````````
</details>
https://github.com/llvm/llvm-project/pull/75150
More information about the cfe-commits
mailing list