ΒΆclang::QualType getFullyQualifiedType(
    clang::QualType QT,
    const clang::ASTContext& Ctx,
    bool WithGlobalNsPrefix = false)

Description

Generates a QualType that can be used to name the same type if used at the end of the current translation unit. This ignores issues such as type shadowing.

Declared at: clang/include/clang/AST/QualTypeNames.h:88

Parameters

clang::QualType QT
- the type for which the fully qualified type will be returned.
const clang::ASTContext& Ctx
- the ASTContext to be used.
bool WithGlobalNsPrefix = false
- Indicate whether the global namespace specifier "::" should be prepended or not.