Resolver can handle std::vector now !!!!

This commit is contained in:
ykiko
2024-09-07 19:07:07 +08:00
parent 13a8cbef6e
commit 053fd3511a
3 changed files with 186 additions and 25 deletions

View File

@@ -42,6 +42,8 @@ public:
const clang::IdentifierInfo* II,
llvm::ArrayRef<clang::TemplateArgument> arguments);
std::vector<clang::TemplateArgument> resugar(llvm::ArrayRef<clang::TemplateArgument> arguments);
/// we use `Sema::SubstType` to substitute the template arguments in dependent type.
/// but it doesn't substitute the template arguments in alias type.
/// i.e. `typename base::type`, when base is `std::vector<T>`, it will ignore the `T`.