Author: Nikolas Klauser
Date: 2023-12-12T12:22:03+01:00
New Revision: b204321302ad16d2a1bdb97830a5708282d0abd4

URL: 
https://github.com/llvm/llvm-project/commit/b204321302ad16d2a1bdb97830a5708282d0abd4
DIFF: 
https://github.com/llvm/llvm-project/commit/b204321302ad16d2a1bdb97830a5708282d0abd4.diff

LOG: [Clang][docs] Update  extension documentation (#75150)

This is back-ported to C++03 now, since clang accepts C++11 attributes
in C++03. https://godbolt.org/z/f7xG18bdE

Added: 
    

Modified: 
    clang/docs/LanguageExtensions.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/LanguageExtensions.rst 
b/clang/docs/LanguageExtensions.rst
index d34e867f5e6151..13fb7c345aa4eb 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


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to