================
@@ -147,6 +149,9 @@ std::string summarizeExpr(const Expr *E) {
     }
 
     // Literals are just printed
+    std::string VisitCXXNullPtrLiteralExpr(const CXXNullPtrLiteralExpr *E) {
+      return "nullptr";
----------------
HighCommander4 wrote:

Could you add a small test case (or extend an existing one) that exercises this 
change? e.g. something like:

```c++
void foo(char *s) {
  if (s != nullptr) {
  }  // if s != nullptr
}

https://github.com/llvm/llvm-project/pull/136106
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to