diff --git a/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp index 04472bb3895a78..d75dcb5a8cd644 100644 --- a/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp @@ -84,6 +84,7 @@ class NullabilityChecker check::PostCall, check::PostStmt, check::PostObjCMessage, check::DeadSymbols, eval::Assume, check::Location, check::Event, + /*EventDispatcher,*/ check::BeginFunction> { public: diff --git a/clang/test/Analysis/nullability-nocrash.c b/clang/test/Analysis/nullability-nocrash.c new file mode 100644 index 00000000000000..4102a4fd3a846f --- /dev/null +++ b/clang/test/Analysis/nullability-nocrash.c @@ -0,0 +1,4 @@ +// RUN: %clang_analyze_cc1 -w -analyzer-checker=nullability \ +// RUN: -analyzer-output=text -verify %s +// +// expected-no-diagnostics