diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-06-21 22:04:37 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-06-21 22:04:37 +0000 |
commit | e601b237e495bb15a5e5df2e20c61fa01a6c4df0 (patch) | |
tree | 30c0657fd9a368d7758c06b6bf9caef1516d3a2e /test/Index/Inputs/annotate-comments-preprocessor.h | |
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
Diffstat (limited to 'test/Index/Inputs/annotate-comments-preprocessor.h')
-rw-r--r-- | test/Index/Inputs/annotate-comments-preprocessor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Index/Inputs/annotate-comments-preprocessor.h b/test/Index/Inputs/annotate-comments-preprocessor.h new file mode 100644 index 0000000000..220f36ede4 --- /dev/null +++ b/test/Index/Inputs/annotate-comments-preprocessor.h @@ -0,0 +1,2 @@ +/* Meow */ + |