Fix inconsistency between initPointerNullState and getPointerNullState
The former allows any booleans, the latter asserts that they were atoms.
Resolve this by supporting any booleans, and converting them to atoms.
While it appears that the production values are always atoms, this seems to be
a fragile almost-coincidence, and it's not clear how to statically guarantee it.
PiperOrigin-RevId: 528755942
diff --git a/nullability/BUILD b/nullability/BUILD
index 0fffa9b..1227e8c 100644
--- a/nullability/BUILD
+++ b/nullability/BUILD
@@ -76,6 +76,7 @@
srcs = ["pointer_nullability_test.cc"],
deps = [
":pointer_nullability",
+ "@llvm-project//clang:analysis",
"@llvm-project//clang:testing",
"@llvm-project//llvm:Support",
"@llvm-project//third-party/unittest:gmock",