[clang] [Clang] Implement __reference_converts_from_temporary (PR #91199)

via cfe-commits cfe-commits at lists.llvm.org
Mon May 6 07:33:34 PDT 2024


================
@@ -1779,9 +1779,8 @@ void Parser::ParseClassSpecifier(tok::TokenKind TagTokKind,
           tok::kw___is_union,
           tok::kw___is_unsigned,
           tok::kw___is_void,
-          tok::kw___is_volatile,
-          tok::kw___reference_binds_to_temporary,
-          tok::kw___reference_constructs_from_temporary))
+          tok::kw___is_volatile
----------------
cor3ntin wrote:

As they are new names, they were never structs. So there is no need for compatibility for old standard libraries.

https://github.com/llvm/llvm-project/pull/91199


More information about the cfe-commits mailing list