2 Commits

Author SHA1 Message Date
Stephan Bergmann
222c94f5a4 Adapt loplugin:derefnullptr to old Clang versions
...where prior to r183883 "Implement core issue 903: only integer literals with
value 0 and prvalues of type std::nullptr_t are null pointer constants from
C++11 onwards," Expr::isNullPointerConstant with NPC_NeverValueDependent could
go into an llvm_unreachable case.

Change-Id: I29cf093f18ece4cd83fd759e30f72c2a71f69554
2014-07-30 16:21:55 +02:00
Stephan Bergmann
90d8b417ca New loplugin:derefnullptr (all violations already fixed)
Change-Id: I32cd8e740855699036c420a091c282029f8d4a08
2014-06-11 16:34:55 +02:00