[cfe-dev] CXXRecordDecl: bases() vs vbases()

Deep Majumder via cfe-dev cfe-dev at lists.llvm.org
Wed Feb 10 04:51:37 PST 2021


Hello everyone,
While trying to iterate over the base classes of a class/struct represented
by a CXXRecordDecl, I found two methods: one is bases() and the other is
bases().
Is it that bases() returns all instantiable base classes, while vbases()
returns all abstract base classes? Or is it something different?
Warm regards,
Deep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20210210/a1a40759/attachment.html>


More information about the cfe-dev mailing list