aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/RDFGraph.cpp
diff options
context:
space:
mode:
authorshafik <syaghmour@apple.com>2020-03-17 10:55:53 -0700
committershafik <syaghmour@apple.com>2020-03-17 11:00:23 -0700
commit9e2715aaacaa3087933b5575d23563751b54843b (patch)
tree9997d23bbf0105cda7a3c749ef63620086fe35b3 /llvm/lib/CodeGen/RDFGraph.cpp
parent585a3cc31bb49f2a526dcb74dc9a980379193f93 (diff)
downloadllvm-9e2715aaacaa3087933b5575d23563751b54843b.zip
llvm-9e2715aaacaa3087933b5575d23563751b54843b.tar.gz
llvm-9e2715aaacaa3087933b5575d23563751b54843b.tar.bz2
[lldb] Remove template parameters from FunctionTemplateDecl names
Fix to get the AST we generate for function templates closer to what clang generates and expects. We fix which FuntionDecl we are passing to CreateFunctionTemplateSpecializationInfo and we strip template parameters from the name when creating the FunctionDecl and FunctionTemplateDecl. These two fixes together fix asserts and ambiguous lookup issues for several cases which are added to the already existing small function template test. This fixes issues with overloads, overloads and ADL, variadic function templates and templated operator overloads. Differential Revision: https://reviews.llvm.org/D75761
Diffstat (limited to 'llvm/lib/CodeGen/RDFGraph.cpp')
0 files changed, 0 insertions, 0 deletions