]> granicus.if.org Git - clang/commit
[CodeComplete] Allow getDeclaration on RK_Pattern result.
authorEric Liu <ioeric@google.com>
Wed, 18 Jul 2018 15:17:52 +0000 (15:17 +0000)
committerEric Liu <ioeric@google.com>
Wed, 18 Jul 2018 15:17:52 +0000 (15:17 +0000)
commit70cf0f619eaa16e62b228a20caee34af9be89ce8
tree49861b5eb418760b3cce6e2b805984b1c3fcdef8
parent8deba4344428131861f909fd6d59b0f2c4d643e2
[CodeComplete] Allow getDeclaration on RK_Pattern result.

Summary:
RK_Pattern results can also have associated declarations e.g. field
decls in constructor initializers.

Reviewers: bkramer

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D49484

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@337394 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/CodeCompleteConsumer.h