[clang-move] Add header guard for the new header.
authorHaojian Wu <hokein@google.com>
Fri, 14 Oct 2016 13:01:36 +0000 (13:01 +0000)
committerHaojian Wu <hokein@google.com>
Fri, 14 Oct 2016 13:01:36 +0000 (13:01 +0000)
commit220c755dfc3a98277f92166546d46c248a7dda68
tree87b8e0945862fde6e20016f68e663c3d50cb45b4
parent81c0be3f561b1db2947dd2ff84059a25a43bf71b
[clang-move] Add header guard for the new header.

Summary:
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.

Reviewers: ioeric

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D25610

llvm-svn: 284233
clang-tools-extra/clang-move/ClangMove.cpp
clang-tools-extra/test/clang-move/move-class.cpp
clang-tools-extra/test/clang-move/move-multiple-classes.cpp
clang-tools-extra/unittests/clang-move/ClangMoveTests.cpp