In pointer nullability diagnosis, distinguish different kinds of diagnostics.

PiperOrigin-RevId: 549710060
Change-Id: I49ecafba4e91025b8b85f9b273dbd494d2622b1b
diff --git a/nullability/BUILD b/nullability/BUILD
index fe0a564..c5b4784 100644
--- a/nullability/BUILD
+++ b/nullability/BUILD
@@ -80,10 +80,12 @@
         ":pointer_nullability_lattice",
         ":pointer_nullability_matchers",
         ":type_nullability",
+        "@absl//absl/log:check",
         "@llvm-project//clang:analysis",
         "@llvm-project//clang:ast",
         "@llvm-project//clang:ast_matchers",
         "@llvm-project//clang:basic",
+        "@llvm-project//llvm:Support",
     ],
 )