blob: bcf68ffd2d505675282ab6d023d7e9e3478b1c49 [file] [log] [blame]
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 its 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:
.. code-block:: c++
// warning triggered on this line
class foo {
friend struct absl::container_internal::faa;
// warning triggered on this line
// warning triggered on this line