]> granicus.if.org Git - clang/commit
Always rebuild a DeclRefExpr if its FoundDecl would change.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 26 Sep 2019 22:28:32 +0000 (22:28 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 26 Sep 2019 22:28:32 +0000 (22:28 +0000)
commitc826b8988aa9d245942908e6bef7fc7c1992540e
tree7770d0fc8ff6c5f10c9a8c5a32a28b29e5b77bab
parent61dcf5fc3bef286fed83d3d699d979abe1cb4fc4
Always rebuild a DeclRefExpr if its FoundDecl would change.

Fixes a regression introduced by r369999.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373022 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/TreeTransform.h
test/SemaTemplate/using-decl.cpp [new file with mode: 0644]