diff options
author | Krystian Stasiowski <sdkrystian@gmail.com> | 2023-10-07 02:55:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-07 10:55:31 +0400 |
commit | 3a3b84b180278207731451dfac24f47d02b50e84 (patch) | |
tree | d5038a0fa46d0041560dedf345e001711d75506e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 859f2d032386632562521a99db20923217d98988 (diff) | |
download | llvm-3a3b84b180278207731451dfac24f47d02b50e84.zip llvm-3a3b84b180278207731451dfac24f47d02b50e84.tar.gz llvm-3a3b84b180278207731451dfac24f47d02b50e84.tar.bz2 |
[clang] remove ClassScopeFunctionSpecializationDecl (#66636)
This removes the `ClassScopeFunctionSpecializationDecl` `Decl` node, and
instead uses `DependentFunctionTemplateSpecializationInfo` to handle
such declarations. `DependentFunctionTemplateSpecializationInfo` is also
changed to store a `const ASTTemplateArgumentListInfo*` to be more in
line with `FunctionTemplateSpecializationInfo`.
This also changes `FunctionDecl::isFunctionTemplateSpecialization` to
return `true` for dependent specializations, and
`FunctionDecl::getTemplateSpecializationKind`/`FunctionDecl::getTemplateSpecializationKindForInstantiation`
to return `TSK_ExplicitSpecialization` for non-friend dependent
specializations (the same behavior as dependent class scope
`ClassTemplateSepcializationDecl` & `VarTemplateSepcializationDecl`).
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions