[PATCH] D135341: [clang] adds `__reference_constructs_from_temporary`
Roy Jacobson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 10 11:45:46 PDT 2022
royjacobson added inline comments.
================
Comment at: clang/docs/LanguageExtensions.rst:1476
is false. Note this trait will also return false when the initialization of
``T`` from ``U`` is ill-formed.
+* ``__reference_constructs_from_temporary(T, U)`` (C++)
----------------
We should deprecate this, as `__reference_constructs_from_temporary` is implemented now. There's a list of deprecated builtins in SemaExprCXX.cpp:DiagnoseBuiltinDeprecation so I think it should be pretty easy to add a warning for users that this is a non-standard attribute.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135341/new/
https://reviews.llvm.org/D135341
More information about the cfe-commits
mailing list