dblaikie added a subscriber: dblaikie.

================
Comment at: lib/StaticAnalyzer/Core/PlistDiagnostics.cpp:300
@@ -299,2 +299,3 @@
 
+  assert(SM && "SourceManager is NULL, cannot iterate through the 
diagnostics");
 
----------------
This assertion seems to be equivalent to replacing the prior 'if' with an 
assertion of the same condition, no? Is that correct? (& if it is, we should 
just do that)


http://reviews.llvm.org/D19962



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to