Skip to content

SageInterface::cxxSourceTypeMatchesSemanticType

Verify that a distinct C++ TypeLoc-owned source type resolves to its exact canonical semantic type. This includes written template-id graphs whose SgNonrealType identity is intentionally distinct from the resolved class or alias-template instantiation.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility("default")]]
bool
cxxSourceTypeMatchesSemanticType(
    SgType const* source,
    SgType const* semantic);

Parameters

Name Description
source This class represents the base class for all types.
semantic This class represents the base class for all types.

Created with MrDocs