Force Abseil's SourceLocation implementation for compatibility with clang 13/14.

PiperOrigin-RevId: 935926249
Change-Id: I063544e37eb735d0461a20c2ede7e23ea28d23bc
This commit is contained in:
Michael Moss
2026-06-22 02:01:11 -07:00
committed by Copybara-Service
parent bf59ca6a1b
commit 34d142ee50
2 changed files with 16 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
diff --git a/absl/base/options.h b/absl/base/options.h
--- a/absl/base/options.h
+++ b/absl/base/options.h
@@ -99,6 +99,6 @@
// the source location type is an alias of std::source_location type, use the
// feature macro ABSL_USES_STD_SOURCE_LOCATION.
//
-#define ABSL_OPTION_USE_STD_SOURCE_LOCATION 2
+#define ABSL_OPTION_USE_STD_SOURCE_LOCATION 0
// ABSL_OPTION_USE_STD_ORDERING