[PATCH] PR15279: -use-nullptr behaves badly with assert()

Tareq A. Siraj tareq.a.siraj at intel.com
Fri Feb 15 12:04:26 PST 2013



================
Comment at: cpp11-migrate/UseNullptr/NullptrActions.cpp:61
@@ +60,3 @@
+      if (StartLoc.isMacroID())
+        StartLoc = SM.getFileLoc(StartLoc);
+      if (EndLoc.isMacroID())
----------------
Manuel Klimek wrote:
> Why don't we want to unconditionally do that?
True, I'll update it. Thanks.


http://llvm-reviews.chandlerc.com/D415



More information about the cfe-commits mailing list