[all-commits] [llvm/llvm-project] 421c09: [Clang][Sema] Start fixing handling of out-of-line...
Alexander Shaposhnikov via All-commits
all-commits at lists.llvm.org
Fri Mar 10 01:22:00 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 421c098b32bd50122de8de03a71092c7f36994eb
https://github.com/llvm/llvm-project/commit/421c098b32bd50122de8de03a71092c7f36994eb
Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
Date: 2023-03-10 (Fri, 10 Mar 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/DeclSpec.h
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Sema/SemaCXXScopeSpec.cpp
M clang/test/CXX/temp/temp.decls/temp.class.spec/temp.class.spec.mfunc/p1-neg.cpp
A clang/test/SemaTemplate/concepts-out-of-line-def.cpp
Log Message:
-----------
[Clang][Sema] Start fixing handling of out-of-line definitions of constrained templates
This diff starts fixing our handling of out-of-line definitions of constrained templates.
Initially it was motivated by https://github.com/llvm/llvm-project/issues/49620 and
https://github.com/llvm/llvm-project/issues/60231.
In particular, this diff adjusts Sema::computeDeclContext to work properly in the case of
constrained template parameters.
Test plan:
1/ ninja check-all
2/ Bootstrapped Clang passes all the tests
3/ Internal testing
Differential revision: https://reviews.llvm.org/D145034
More information about the All-commits
mailing list