Revert "DR458: Search template parameter scopes in the right order."
authorRichard Smith <richard@metafoo.co.uk>
Wed, 17 Jun 2020 06:53:44 +0000 (23:53 -0700)
committerRichard Smith <richard@metafoo.co.uk>
Wed, 17 Jun 2020 06:53:44 +0000 (23:53 -0700)
commit02fccc26cf6af22c07fb81ff3aa69abd77850028
tree34bba35ee58d224e8c63cee9eccbad2f865b7fef
parent2e613d2ded2c465bd06bd3cac30ffb4576bf72cc
Revert "DR458: Search template parameter scopes in the right order."

We weren't re-entering template scopes in the right order, causing this
to break self-host with -fdelayed-template-parsing.

This reverts commit 237c2a23b6d4fa953f5ae910dccf492db61bb959.
12 files changed:
clang/include/clang/Parse/Parser.h
clang/include/clang/Sema/Scope.h
clang/lib/AST/DeclBase.cpp
clang/lib/Parse/ParseExprCXX.cpp
clang/lib/Parse/ParseTemplate.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaLookup.cpp
clang/lib/Sema/SemaTemplate.cpp
clang/test/CXX/drs/dr4xx.cpp
clang/test/CXX/temp/temp.res/temp.local/p8.cpp
clang/test/SemaCXX/lambda-expressions.cpp
clang/www/cxx_dr_status.html