aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
author刘雨培 <liuyupei951018@hotmail.com>2023-11-01 21:45:48 +0800
committerGitHub <noreply@github.com>2023-11-01 06:45:48 -0700
commit128b3b61fe6768c724975fd1df2be0abec848cf6 (patch)
tree245f38fa052f68d363e84ec0ebbff222ad4b5207 /clang/lib/Frontend/CompilerInvocation.cpp
parent65761200ce4e1f366e8418652efdafd2f744291b (diff)
downloadllvm-128b3b61fe6768c724975fd1df2be0abec848cf6.zip
llvm-128b3b61fe6768c724975fd1df2be0abec848cf6.tar.gz
llvm-128b3b61fe6768c724975fd1df2be0abec848cf6.tar.bz2
[Clang] Defer the instantiation of explicit-specifier until constraint checking completes (#70548)
Modifications: - Skip the instantiation of the explicit-specifier during Decl substitution if we are deducing template arguments and the explicit-specifier is value dependent. - Instantiate the explicit-specifier after the constraint checking completes. - Make `instantiateExplicitSpecifier` a member function in order to instantiate the explicit-specifier in different stages. This PR doesn’t defer the instantiation of the explicit specifier for deduction guides, because I’m not familiar with deduction guides yet. I’ll dig into it after this PR. According to my local test, GCC 13 tuple works with this PR. Fixes #59827. --------- Co-authored-by: Erich Keane <ekeane@nvidia.com>
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions