hokein accepted this revision.
hokein added a comment.
This revision is now accepted and ready to land.

LGTM with some nits.

Would be clearer to elaborate more descriptions in the commit message. Looks 
like the patch actually resolves newline character "\n" rather than 
whitespace...



================
Comment at: change-namespace/ChangeNamespace.cpp:568
+  MoveNs.Length =
+      SM.getFileOffset(NsDecl->getRBraceLoc()) - SM.getFileOffset(Start);
 
----------------
Maybe use `MoveNs.Offset` instead of recalling `SM.getFileOffset(Start);`


https://reviews.llvm.org/D28282



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

Reply via email to