[Index] Set OrigD before D is changed.
authorEric Liu <ioeric@google.com>
Fri, 20 Jul 2018 08:08:56 +0000 (08:08 +0000)
committerEric Liu <ioeric@google.com>
Fri, 20 Jul 2018 08:08:56 +0000 (08:08 +0000)
commit3e0051bb51b0a57f5d220bec3d7930a72bd7c057
tree04212e4ff3c2ac185ab1705b3545ef96c09741af
parentc2c7d1548661dcf68afce2e5111d58ec4914082f
[Index] Set OrigD before D is changed.

Reviewers: akyrtzi, arphaman

Reviewed By: akyrtzi

Subscribers: cfe-commits

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

llvm-svn: 337529
clang/lib/Index/IndexingContext.cpp
clang/test/Index/index-template-specialization.cpp [new file with mode: 0644]
clang/tools/c-index-test/c-index-test.c
clang/tools/libclang/Indexing.cpp