subl.. title:: clang-tidy - abseil-no-internal-dependencies


Warns if code using Abseil depends on internal details. If something is in a namespace that includes the word “internal”, code is not allowed to depend upon it beaucse it’s an implementation detail. They cannot friend it, include it, you mention it or refer to it in any way. Doing so violates Abseil’s compatibility guidelines and may result in breakage. See for more information.

The following cases will result in warnings:

// warning triggered on this line
class foo {
  friend struct absl::container_internal::faa;
  // warning triggered on this line
// warning triggered on this line