aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCombiner.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2018-01-31 12:12:29 +0000
committerHaojian Wu <hokein@google.com>2018-01-31 12:12:29 +0000
commitfb68ca182573813b7aa1cfeef522636f84b9c7c6 (patch)
tree07eaec28641857ca0782a80b7d73682981dde77c /llvm/lib/CodeGen/MachineCombiner.cpp
parent2f335af5c05508edaa2f756df88c7d527ec06c04 (diff)
downloadllvm-fb68ca182573813b7aa1cfeef522636f84b9c7c6.zip
llvm-fb68ca182573813b7aa1cfeef522636f84b9c7c6.tar.gz
llvm-fb68ca182573813b7aa1cfeef522636f84b9c7c6.tar.bz2
[clang-move] Clever on handling header file which includes itself.
Summary: Previously, we assume only old.cc includes "old.h", which would introduce incorrect fixes for the cases where old.h also includes `#include "old.h"` Although it should not be occurred in real projects, clang-move should handle this. Old.h: ``` class Foo {}; ``` after moving to a new old.h: ``` class Foo {}; ``` Reviewers: ioeric Reviewed By: ioeric Subscribers: cfe-commits, klimek Differential Revision: https://reviews.llvm.org/D42639 llvm-svn: 323865
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
0 files changed, 0 insertions, 0 deletions