[PATCH] D25610: [clang-move] Add header guard for the new header.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 14 05:22:25 PDT 2016
hokein created this revision.
hokein added a reviewer: ioeric.
hokein added a subscriber: cfe-commits.
The header guard generated by clang-move isn't always a perfect
style, just avoid getting the header included multiple times during
compiling period.
Also, we can use llvm-Header-guard clang-tidy check to correct the guard
automatically.
https://reviews.llvm.org/D25610
Files:
clang-move/ClangMove.cpp
test/clang-move/move-class.cpp
test/clang-move/move-multiple-classes.cpp
unittests/clang-move/ClangMoveTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25610.74663.patch
Type: text/x-patch
Size: 4974 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161014/a532520a/attachment.bin>
More information about the cfe-commits
mailing list