clang 24.0.0git
ClassUtils.h File Reference

Go to the source code of this file.

Namespaces

namespace  clang
 Top level wrappers for InstallAPI frontend operations.
namespace  clang::CodeGenUtils

Functions

bool clang::CodeGenUtils::baseInitializerUsesThis (ASTContext &Ctx, const Expr *Init)
 Check whether Init uses 'this' in a way which requires the vtable to be properly set.
bool clang::CodeGenUtils::canSkipVTablePointerInitialization (ASTContext &Ctx, const CXXDestructorDecl *Dtor)
 Check whether we need to initialize any vtable pointers before calling this destructor.
bool clang::CodeGenUtils::fieldHasTrivialDestructorBody (ASTContext &Ctx, const FieldDecl *Field)
 Check whether destructing Field has no observable behaviors, and thus can be skipped when creating a destructor body.
bool clang::CodeGenUtils::isInitializerOfDynamicClass (const CXXCtorInitializer *BaseInit)
 Return whether BaseInit initializes a base class that is dynamic, that is, one whose vtable pointer must be set before the initializer runs.