Please upload a patch with more context next time, so that phab can display
it.
================
Comment at: cpp11-migrate/UseNullptr/NullptrActions.cpp:73-76
@@ -72,4 +72,6 @@
C->getCastKind() == CK_NullToMemberPointer) {
- SourceLocation StartLoc = FirstCast->getLocStart();
- SourceLocation EndLoc = FirstCast->getLocEnd();
+ const Expr *E = FirstCast->getSubExpr();
+
+ SourceLocation StartLoc = E->getLocStart();
+ SourceLocation EndLoc = E->getLocEnd();
----------------
Can you simplify the visitor because of this? Also, the comment on top of
CastSequenceVisitor is no longer correct.
http://llvm-reviews.chandlerc.com/D507
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits