Chandler Carruth
f20ec92331
Apply a bug-fix patch from Marcin Kowalczyk to the source locations for
...
a couple of operator overloads which form interesting expressions in the
AST.
I added test cases for both bugs with the c-index-test's token
annotation feature. Also, thanks to John McCall for confirming that this
is the correct solution.
llvm-svn: 128768
2011-04-02 09:47:38 +00:00
Chris Lattner
6cc8fe9356
add missing newlines at end of file.
...
llvm-svn: 122309
2010-12-21 02:36:58 +00:00
Francois Pichet
cf7731b40b
Fix bug where annotate tokens was not working for BinaryTypeTraitExpr.
...
CIndex's EnqueueVisitor must visit elements backward apparently.
llvm-svn: 121247
2010-12-08 09:11:05 +00:00
Francois Pichet
c247e1a119
Fix test that didn't really test anything.
...
llvm-svn: 121246
2010-12-08 09:04:37 +00:00
Douglas Gregor
b59d21c22b
Visit the children of CXXOperatorCallExprs in source order within
...
libclang, so that clang_annotateTokens() doesn't get confused and miss
annotations.
llvm-svn: 109706
2010-07-29 00:26:18 +00:00