[PATCH] Fix replacements for files with relative paths are not applied.
Manuel Klimek
klimek at google.com
Tue Oct 1 00:58:33 PDT 2013
lg
================
Comment at: lib/Tooling/Refactoring.cpp:116
@@ +115,3 @@
+ this->FilePath = EC ? FilePath.c_str() : Entry->getName();
+ } else
+ this->FilePath = InvalidLocation;
----------------
I think the common practice is to use braces if one part of the if-else needs braces.
http://llvm-reviews.chandlerc.com/D1771
More information about the cfe-commits
mailing list