aboutsummaryrefslogtreecommitdiff
path: root/absl/base/thread_annotations.h
diff options
context:
space:
mode:
authorDerek Mauro <dmauro@google.com>2023-08-28 18:20:22 -0700
committerCopybara-Service <copybara-worker@google.com>2023-08-28 18:21:28 -0700
commitba7a9e2422cce2bc310c93dfb0b5997f69f7a291 (patch)
treedd39bf9eb03a6c188a84a8328d5a121ae27b4114 /absl/base/thread_annotations.h
parent1d83ac7128a5898d580a8a4164a78648a93ce2d4 (diff)
downloadabseil-ba7a9e2422cce2bc310c93dfb0b5997f69f7a291.tar.gz
abseil-ba7a9e2422cce2bc310c93dfb0b5997f69f7a291.tar.bz2
abseil-ba7a9e2422cce2bc310c93dfb0b5997f69f7a291.zip
Remove the legacy thread annotation spellings
The legacy thread annotations were spellings that were not prefixed with ABSL_ and caused conflicts with other libraries. These spellings have been removed by default for a while, but could have been added back with the temporary compile flag -DABSL_LEGACY_THREAD_ANNOTATIONS. This change completely removes the legacy spellings. If you were relying on the legacy spellings, the fix is straightforward. Simply add the ABSL_ prefix. For example, GUARDED_BY() becomes ABSL_GUARDED_BY(). PiperOrigin-RevId: 560874026 Change-Id: Id072e67435472220ea4f43ccbf267028c13feba7
Diffstat (limited to 'absl/base/thread_annotations.h')
-rw-r--r--absl/base/thread_annotations.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/absl/base/thread_annotations.h b/absl/base/thread_annotations.h
index bc8a6203..4a3f3e33 100644
--- a/absl/base/thread_annotations.h
+++ b/absl/base/thread_annotations.h
@@ -36,8 +36,6 @@
#include "absl/base/attributes.h"
#include "absl/base/config.h"
-// TODO(mbonadei): Remove after the backward compatibility period.
-#include "absl/base/internal/thread_annotations.h" // IWYU pragma: export
// ABSL_GUARDED_BY()
//