commit | 964782adbb1dc17413707e173f323a19ff479c7d | [log] [tgz] |
---|---|---|
author | Eric Liu <ioeric@google.com> | Fri Dec 02 11:01:43 2016 +0000 |
committer | Eric Liu <ioeric@google.com> | Fri Dec 02 11:01:43 2016 +0000 |
tree | a6ef6148c10cb64ce45f966f99884a37e75011fe | |
parent | c70d3796fb480daf2118dde48d2a339ea86714e1 [diff] |
[ClangFormat] Only insert #include into the #include block in the beginning of the file. Summary: This avoid inserting #include into: - raw string literals containing #include. - #if block. - Special #include among declarations (e.g. functions). Reviewers: djasper Subscribers: cfe-commits, klimek Differential Revision: https://reviews.llvm.org/D26909 llvm-svn: 288493