class HLSLExternalSemaSource

Declaration

class HLSLExternalSemaSource : public ExternalSemaSource { /* full declaration omitted */ };

Description

An abstract interface that should be implemented by external AST sources that also provide information for semantic analysis.

Declared at: clang/include/clang/Sema/HLSLExternalSemaSource.h:21

Inherits from: ExternalSemaSource

Member Variables

private clang::Sema* SemaPtr = nullptr
private clang::NamespaceDecl* HLSLNamespace

Method Overview

Inherited from ExternalSemaSource:

Inherited from ExternalASTSource:

Methods

void ForgetSema()

Description

Inform the semantic consumer that Sema is no longer available.

Declared at: clang/include/clang/Sema/HLSLExternalSemaSource.h:36

void InitializeSema(clang::Sema& S)

Description

Initialize the semantic source with the Sema instance being used to perform semantic analysis on the abstract syntax tree.

Declared at: clang/include/clang/Sema/HLSLExternalSemaSource.h:33

Parameters

clang::Sema& S

void defineHLSLVectorAlias()

Declared at: clang/include/clang/Sema/HLSLExternalSemaSource.h:25

~HLSLExternalSemaSource()

Declared at: clang/include/clang/Sema/HLSLExternalSemaSource.h:28