[PATCH] D72484: [clang-tidy] Fix check for Abseil internal namespace access

Gennadiy Rozental via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 16 10:32:18 PST 2020


rogeeff marked 3 inline comments as done.
rogeeff added inline comments.


================
Comment at: clang-tools-extra/clang-tidy/abseil/NoInternalDependenciesCheck.cpp:43-44
+
+  if (!LocAtFault.isValid())
+    return;
+
----------------
aaron.ballman wrote:
> rogeeff wrote:
> > lebedev.ri wrote:
> > > Is there test coverage for this? When does/can this happen?
> > At the time when I wrote this internally the test cases in abseil-no-internal-dependencies.cpp were reproducing this failure. I'm not sure this is still the case. It is possible compiler was fixed since then.
> I am not certain I'm following along (sorry if I'm just being dense). Are you saying that the existing test coverage in abseil-no-internal-dependencies.cpp was failing for you internally, and that's the reason for this fix? Or are you saying that the newly-added test cases in this patch were triggering this failure?
Newly added test cases were triggering the failure.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72484/new/

https://reviews.llvm.org/D72484





More information about the cfe-commits mailing list