]> granicus.if.org Git - clang/commit
[index] Handle properly C++14's template variables.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 7 Nov 2016 21:20:15 +0000 (21:20 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 7 Nov 2016 21:20:15 +0000 (21:20 +0000)
commit0e2326e6f960fefe412a58fc746dd6244d96ab04
tree8696d63f596167a80d312f9817972665bb0ee61c
parentcf55f2614a17bc877fc6428adc1157b995e60df6
[index] Handle properly C++14's template variables.

- Infer the right symbol kind.
- Provide a templated USR, similar to how we handle class templates.

rdar://28980398

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286154 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Index/IndexSymbol.cpp
lib/Index/IndexingContext.cpp
lib/Index/USRGeneration.cpp
test/Index/Core/index-source.cpp