File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1217,15 +1217,15 @@ typedef __char32_t char32_t;
12171217
12181218// TODO(LLVM 22): Remove this macro once LLVM19 support ends.
12191219# if __has_builtin(__reference_constructs_from_temporary) || \
1220- (defined (_LIBCPP_COMPILER_CLANG_BASED ) && (__clang_major__ >= 19 ) && (__clang_minor__ >= 1 ))
1220+ (defined (_LIBCPP_CLANG_VER ) && (_LIBCPP_CLANG_VER == 1901 ))
12211221# define _LIBCPP_HAS_REFERENCE_CONSTRUCTS_FROM_TEMPORARY 1
12221222# else
12231223# define _LIBCPP_HAS_REFERENCE_CONSTRUCTS_FROM_TEMPORARY 0
12241224# endif
12251225
12261226// TODO(LLVM 22): Remove this macro once LLVM19 support ends.
12271227# if __has_builtin(__reference_converts_from_temporary) || \
1228- (defined (_LIBCPP_COMPILER_CLANG_BASED ) && (__clang_major__ >= 19 ) && (__clang_minor__ >= 1 ))
1228+ (defined (_LIBCPP_CLANG_VER ) && (_LIBCPP_CLANG_VER == 1901 ))
12291229# define _LIBCPP_HAS_REFERENCE_CONVERTS_FROM_TEMPORARY 1
12301230# else
12311231# define _LIBCPP_HAS_REFERENCE_CONVERTS_FROM_TEMPORARY 0
You can’t perform that action at this time.
0 commit comments