clang 19.0.0git
Public Member Functions | List of all members
clang::ASTSourceDescriptor Class Reference

Abstracts clang modules and precompiled header files and holds everything needed to generate debug info for an imported module or PCH. More...

#include "clang/Basic/ASTSourceDescriptor.h"

Public Member Functions

 ASTSourceDescriptor ()=default
 
 ASTSourceDescriptor (StringRef Name, StringRef Path, StringRef ASTFile, ASTFileSignature Signature)
 
 ASTSourceDescriptor (Module &M)
 
std::string getModuleName () const
 
StringRef getPath () const
 
StringRef getASTFile () const
 
ASTFileSignature getSignature () const
 
ModulegetModuleOrNull () const
 

Detailed Description

Abstracts clang modules and precompiled header files and holds everything needed to generate debug info for an imported module or PCH.

Definition at line 28 of file ASTSourceDescriptor.h.

Constructor & Destructor Documentation

◆ ASTSourceDescriptor() [1/3]

clang::ASTSourceDescriptor::ASTSourceDescriptor ( )
default

◆ ASTSourceDescriptor() [2/3]

clang::ASTSourceDescriptor::ASTSourceDescriptor ( StringRef  Name,
StringRef  Path,
StringRef  ASTFile,
ASTFileSignature  Signature 
)
inline

Definition at line 37 of file ASTSourceDescriptor.h.

◆ ASTSourceDescriptor() [3/3]

clang::ASTSourceDescriptor::ASTSourceDescriptor ( Module M)

Member Function Documentation

◆ getASTFile()

StringRef clang::ASTSourceDescriptor::getASTFile ( ) const
inline

Definition at line 45 of file ASTSourceDescriptor.h.

◆ getModuleName()

std::string clang::ASTSourceDescriptor::getModuleName ( ) const

Definition at line 26 of file ASTSourceDescriptor.cpp.

References clang::Module::Name.

◆ getModuleOrNull()

Module * clang::ASTSourceDescriptor::getModuleOrNull ( ) const
inline

Definition at line 47 of file ASTSourceDescriptor.h.

◆ getPath()

StringRef clang::ASTSourceDescriptor::getPath ( ) const
inline

Definition at line 44 of file ASTSourceDescriptor.h.

◆ getSignature()

ASTFileSignature clang::ASTSourceDescriptor::getSignature ( ) const
inline

Definition at line 46 of file ASTSourceDescriptor.h.


The documentation for this class was generated from the following files: