Re: r288493 - [ClangFormat] Only insert #include into the #include block in the beginning of the file.

2016-12-19 Thread Eric Liu via cfe-commits
Hi Mehdi, This is an unintended change. I've reverted this line and added a test case for this in r290093. Thanks, Eric On Fri, Dec 16, 2016 at 7:02 PM Mehdi Amini wrote: Hi Eric, > On Dec 2, 2016, at 3:01 AM, Eric Liu via cfe-commits < cfe-commits@lists.llvm.org>

Re: r288493 - [ClangFormat] Only insert #include into the #include block in the beginning of the file.

2016-12-16 Thread Mehdi Amini via cfe-commits
Hi Eric, > On Dec 2, 2016, at 3:01 AM, Eric Liu via cfe-commits > wrote: > > Author: ioeric > Date: Fri Dec 2 05:01:43 2016 > New Revision: 288493 > > URL: http://llvm.org/viewvc/llvm-project?rev=288493=rev > Log: > [ClangFormat] Only insert #include into the

r288493 - [ClangFormat] Only insert #include into the #include block in the beginning of the file.

2016-12-02 Thread Eric Liu via cfe-commits
Author: ioeric Date: Fri Dec 2 05:01:43 2016 New Revision: 288493 URL: http://llvm.org/viewvc/llvm-project?rev=288493=rev Log: [ClangFormat] Only insert #include into the #include block in the beginning of the file. Summary: This avoid inserting #include into: - raw string literals containing