diff options
-rw-r--r-- | ABSEIL_ISSUE_TEMPLATE.md | 2 | ||||
-rw-r--r-- | absl/base/macros.h | 2 | ||||
-rw-r--r-- | absl/container/fixed_array.h | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/ABSEIL_ISSUE_TEMPLATE.md b/ABSEIL_ISSUE_TEMPLATE.md index 53e00005..9dfd4b8f 100644 --- a/ABSEIL_ISSUE_TEMPLATE.md +++ b/ABSEIL_ISSUE_TEMPLATE.md @@ -19,4 +19,4 @@ possible in this section.] [Please clearly describe the API change(s) being proposed. If multiple changes, please keep them clearly distinguished. When possible, **use example code snippets to illustrate before–after API usages**. List pros-n-cons. Highlight -the main questions that you want to be answered.Given the Abseil project compatibility requirements, describe why the API change is safe."] +the main questions that you want to be answered. Given the Abseil project compatibility requirements, describe why the API change is safe.] diff --git a/absl/base/macros.h b/absl/base/macros.h index d4140872..5ae0f05b 100644 --- a/absl/base/macros.h +++ b/absl/base/macros.h @@ -146,7 +146,7 @@ enum LinkerInitialized { // Every usage of a deprecated entity will trigger a warning when compiled with // clang's `-Wdeprecated-declarations` option. This option is turned off by // default, but the warnings will be reported by clang-tidy. -#if defined(__clang__) && __cplusplus >= 201103L && defined(__has_warning) +#if defined(__clang__) && __cplusplus >= 201103L #define ABSL_DEPRECATED(message) __attribute__((deprecated(message))) #endif diff --git a/absl/container/fixed_array.h b/absl/container/fixed_array.h index ec6fced1..1fec9d2b 100644 --- a/absl/container/fixed_array.h +++ b/absl/container/fixed_array.h @@ -175,6 +175,7 @@ class FixedArray { // fixed array. This pointer can be used to access and modify the contained // elements. pointer data() { return AsValue(rep_.begin()); } + // FixedArray::operator[] // // Returns a reference the ith element of the fixed array. |