[llvm-dev] Getting template arguments for a Type

Massa, Gert via llvm-dev llvm-dev at lists.llvm.org
Mon Dec 14 06:48:23 PST 2020


Hi All,

Can anyone tell me how to get the template arguments from a clang::Type or clang::QualType object? For example, if I have clang::Type pointer for "std::vector<int>", how do I get to this "int". When looking at the API reference I'm getting a bit lost with all the terminology I'm not yet familiar with, any good resources to that explains the terminology?

With Kind Regards,
Gert Massa

Siemens Industry Software NV
Digital Factory Division
Product Lifecycle Management
Simulation and Test Solutions
Researchpark 1237
Interleuvenlaan 68
3001 Leuven, Belgium
Tel: +32 16 38 4252
mailto:gert.massa at siemens.com
www.siemens.com/plm<http://www.siemens.com/plm>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201214/93c37ba1/attachment.html>


More information about the llvm-dev mailing list