klimek closed this revision.
klimek added a comment.
Submitted as r246778.
http://reviews.llvm.org/D11976
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
skalinichev added a comment.
Yes, please submit it.
http://reviews.llvm.org/D11976
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
skalinichev added a comment.
This is actually an unrelated issue (clang_getTypeDeclaration doesn't handle
the auto type)
Using c-index-test -test-print-type --std=c++14 on your example I get:
VarDecl=z ... [type=std::basic_stringchar] ...
So, as you can see, z has correct type.
Anyway here is
puremourning added a comment.
I can confirm that this patch fixes a number test cases found in ycmd
http://github.com/Valorric/ycmd (a code-completion server). Specifically
these ones marked as 'sic'
https://github.com/Valloric/ycmd/blob/master/ycmd/tests/subcommands_test.py#L302-L312
So I'm