From e06df350a02ae673c6423ce3a23e03a82295a54b Mon Sep 17 00:00:00 2001 From: DrishtiTripathi2230 Date: Fri, 17 Jul 2026 20:33:37 +0530 Subject: [PATCH] Fix stale C++11 references in options.h and attributes.h (#1264) --- absl/base/attributes.h | 4 ++-- absl/base/options.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/absl/base/attributes.h b/absl/base/attributes.h index 525824a95fe..bd43e66a247 100644 --- a/absl/base/attributes.h +++ b/absl/base/attributes.h @@ -494,8 +494,8 @@ // // These attributes only take effect when the following conditions are met: // -// * The file/target is built in at least C++11 mode, with a Clang compiler -// that supports XRay attributes. +// * The file/target is built with a Clang compiler that supports XRay +// attributes. // * The file/target is built with the -fxray-instrument flag set for the // Clang/LLVM compiler. // * The function is defined in the translation unit (the compiler honors the diff --git a/absl/base/options.h b/absl/base/options.h index 033eac36be1..4e90fd175c8 100644 --- a/absl/base/options.h +++ b/absl/base/options.h @@ -107,7 +107,7 @@ // implemented as aliases to the std:: ordering types, or as an independent // implementation. // -// A value of 0 means to use Abseil's implementation. This requires only C++11 +// A value of 0 means to use Abseil's implementation. This requires only C++17 // support, and is expected to work on every toolchain we support. // // A value of 1 means to use aliases. This requires that all code using Abseil