commit | e601b237e495bb15a5e5df2e20c61fa01a6c4df0 | [log] [tgz] |
---|---|---|
author | Dmitri Gribenko <gribozavr@gmail.com> | Thu Jun 21 22:04:37 2012 +0000 |
committer | Dmitri Gribenko <gribozavr@gmail.com> | Thu Jun 21 22:04:37 2012 +0000 |
tree | 30c0657fd9a368d7758c06b6bf9caef1516d3a2e | |
parent | 091005954a2e42e6f699dfef25369b3654397536 [diff] |
Handle include directive with comments. It turns out that in this case comments are not coming in source order. Instead of trying to std::sort() comments (which can be costly), just remove comments that are not in order. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158940 91177308-0d34-0410-b5e6-96231b3b80d8