diff options
author | David Blaikie <dblaikie@gmail.com> | 2021-09-14 00:02:36 -0700 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2021-09-14 00:04:40 -0700 |
commit | db4ff98bf9733605c713e75ab6677523e6d267cb (patch) | |
tree | 6efa51a9b4d3ece8c25ba4c6f5203a2472c347c1 /clang/lib/Lex/ModuleMap.cpp | |
parent | b98c3e957f564d1101c1fe1522686c7d0a9a9ddb (diff) | |
download | llvm-db4ff98bf9733605c713e75ab6677523e6d267cb.zip llvm-db4ff98bf9733605c713e75ab6677523e6d267cb.tar.gz llvm-db4ff98bf9733605c713e75ab6677523e6d267cb.tar.bz2 |
DebugInfo: Add support for template parameters with qualifiers
eg: t1<void () const> - DWARF doesn't have a particularly nice way to
encode this, for real member function types (like `void (t1::*)()
const`) the const-ness is encoded in the type of the artificial first
parameter. But `void () const` has no parameters, so encode it like a
normal const-qualified type, using DW_TAG_const_type. (similarly for
restrict and volatile)
Reference qualifiers (& and &&) coming in a separate commit shortly.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions