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

Manuel Klimek klimek at google.com
Fri Feb 15 11:58:31 PST 2013



================
Comment at: cpp11-migrate/UseNullptr/NullptrActions.cpp:61
@@ +60,3 @@
+      if (StartLoc.isMacroID())
+        StartLoc = SM.getFileLoc(StartLoc);
+      if (EndLoc.isMacroID())
----------------
Why don't we want to unconditionally do that?


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



More information about the cfe-commits mailing list