Add support for non-flow-sensitive nullability of parenthesised expressions

The CFG often omits parenthesis of expressions, but the AST does not. Therefore, the CFG match switch used to apply transfer functions does not match parenthesised expressions. This could lead to missing entries when we look up an expression's nullability in the lattice. Now, when searching for or inserting the nullability of expressions in the lattice, we skip its parenthesis.

PiperOrigin-RevId: 502635902
diff --git a/nullability_verification/pointer_nullability_lattice.h b/nullability_verification/pointer_nullability_lattice.h
index f81cadf..0249c8a 100644
--- a/nullability_verification/pointer_nullability_lattice.h
+++ b/nullability_verification/pointer_nullability_lattice.h
@@ -9,6 +9,7 @@
 
 #include "absl/container/flat_hash_map.h"
 #include "clang/Analysis/FlowSensitive/DataflowAnalysis.h"
+#include "clang/Analysis/FlowSensitive/DataflowAnalysisContext.h"
 #include "clang/Analysis/FlowSensitive/DataflowLattice.h"
 
 namespace clang {
@@ -29,7 +30,7 @@
       : ExprToNullability(ExprToNullability) {}
 
   Optional<ArrayRef<NullabilityKind>> getExprNullability(const Expr *E) const {
-    auto I = ExprToNullability->find(E);
+    auto I = ExprToNullability->find(&dataflow::ignoreCFGOmittedNodes(*E));
     return I == ExprToNullability->end()
                ? std::nullopt
                : Optional<ArrayRef<NullabilityKind>>(I->second);
@@ -41,8 +42,8 @@
   void insertExprNullabilityIfAbsent(
       const Expr *E,
       const std::function<std::vector<NullabilityKind>()> &GetNullability) {
-    auto [Iterator, Inserted] =
-        ExprToNullability->insert({E, std::vector<NullabilityKind>()});
+    auto [Iterator, Inserted] = ExprToNullability->insert(
+        {&dataflow::ignoreCFGOmittedNodes(*E), std::vector<NullabilityKind>()});
     if (Inserted) {
       Iterator->second = GetNullability();
     }