]> granicus.if.org Git - clang/commit
[clang][Index] Add a knob to index function parameters in declarations
authorKadir Cetinkaya <kadircet@google.com>
Mon, 11 Feb 2019 13:02:21 +0000 (13:02 +0000)
committerKadir Cetinkaya <kadircet@google.com>
Mon, 11 Feb 2019 13:02:21 +0000 (13:02 +0000)
commit13553b75f535a142a1c30ef711202f48112f55f1
tree99e14477fd190d8237a13c1c26bf1f7ce847b633
parenta04be57958e0ca113bb49f16620bb556bf5f2d45
[clang][Index] Add a knob to index function parameters in declarations

Summary:
Parameters in declarations are useful for clangd, so that we can
provide symbol information for them as well. It also helps clangd to be
consistent whether a function's definition is accessible or not.

Reviewers: hokein, akyrtzi

Subscribers: ilya-biryukov, ioeric, arphaman, cfe-commits

Tags: #clang

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@353695 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Index/IndexingAction.h
lib/Index/IndexDecl.cpp
lib/Index/IndexingContext.cpp
lib/Index/IndexingContext.h
unittests/Index/IndexTests.cpp