]> granicus.if.org Git - clang/commit
[index] Index static_assert declarations
authorAlex Lorenz <arphaman@gmail.com>
Thu, 15 Jun 2017 20:50:43 +0000 (20:50 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Thu, 15 Jun 2017 20:50:43 +0000 (20:50 +0000)
commit4648a7930cdc500d2609bea73eac99886c01f21a
treec533c9e8bcfb8b77a412b6aeefe3bab4ddaf98a2
parent50a50feee3d03ebf21b3c1f7831f39418fd38c89
[index] Index static_assert declarations

static_assert declarations have to be visited while indexing so that we can
gather the references to declarations that are present in their assert
expression.

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

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