]> granicus.if.org Git - clang/commit
[index] Fix repeated visitation of the same InitListExpr for indexing.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 31 Oct 2016 22:12:12 +0000 (22:12 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 31 Oct 2016 22:12:12 +0000 (22:12 +0000)
commite30072cab95f2538755e30383349e91e20750eca
treebb05a2dc7967cd2e6d4647edc7ff45fc7cc9c8b0
parentcc21152c21d1ba222e796b904eab8640e720df3c
[index] Fix repeated visitation of the same InitListExpr for indexing.

It was visited multiple times unnecessarily.

rdar://28985038

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285647 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Index/IndexBody.cpp
test/Index/Core/designated-inits.c [new file with mode: 0644]