aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/source_location
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/source_location')
-rw-r--r--libcxx/include/source_location6
1 files changed, 2 insertions, 4 deletions
diff --git a/libcxx/include/source_location b/libcxx/include/source_location
index e9e852a6e461..d16e3c46fce5 100644
--- a/libcxx/include/source_location
+++ b/libcxx/include/source_location
@@ -35,8 +35,7 @@ namespace std {
_LIBCPP_BEGIN_NAMESPACE_STD
-#if _LIBCPP_STD_VER >= 20 && __has_builtin(__builtin_source_location) && \
- !(defined(_LIBCPP_APPLE_CLANG_VER) && _LIBCPP_APPLE_CLANG_VER <= 1403)
+#if _LIBCPP_STD_VER >= 20
class source_location {
// The names source_location::__impl, _M_file_name, _M_function_name, _M_line, and _M_column
@@ -79,8 +78,7 @@ public:
}
};
-#endif // _LIBCPP_STD_VER >= 20 && __has_builtin(__builtin_source_location) && !(defined(_LIBCPP_APPLE_CLANG_VER) &&
- // _LIBCPP_APPLE_CLANG_VER <= 1403)
+#endif // _LIBCPP_STD_VER >= 20
_LIBCPP_END_NAMESPACE_STD