[PATCH] D26493: [clang-move] Make the output code look more pretty.
Eric Liu via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 14 06:29:47 PST 2016
ioeric added a comment.
Lg with one nit.
================
Comment at: clang-move/ClangMove.cpp:280
assert(It < CurrentNamespaces.rend());
- NewCode += "} // namespace " + *It + "\n";
+ NewCode += "} // namespace " + *It + "\n\n";
}
----------------
Wouldn't this create something like:
```
namespace x {
namespace y {
...
} // namespace y
<----------------------------extra \n.
} // namespace x
```
https://reviews.llvm.org/D26493
More information about the cfe-commits
mailing list