ΒΆtemplate <
    typename T,
    std::enable_if_t<TypeListContainsSuperOf<
        TypeList<CXXBaseSpecifier,
                 CXXCtorInitializer,
                 CXXTemporaryObjectExpr,
                 CXXUnresolvedConstructExpr,
                 CompoundLiteralExpr,
                 DeclaratorDecl,
                 ObjCPropertyDecl,
                 TemplateArgumentLoc,
                 TypedefNameDecl>,
        T>::value>* = nullptr>
inline clang::TypeSourceInfo* GetTypeSourceInfo(
    const T& Node)

Description

Unifies obtaining a `TypeSourceInfo` from different node types.

Declared at: clang/include/clang/ASTMatchers/ASTMatchersInternal.h:174

Templates

T
std::enable_if_t, T>::value> * = nullptr

Parameters

const T& Node