clang  14.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/Module.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 720 of file Module.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 729 of file Module.h.

◆ ASTSourceDescriptor() [3/3]

ASTSourceDescriptor::ASTSourceDescriptor ( Module M)

Member Function Documentation

◆ getASTFile()

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

Definition at line 737 of file Module.h.

◆ getModuleName()

std::string ASTSourceDescriptor::getModuleName ( ) const

Definition at line 684 of file Module.cpp.

References clang::Module::Name, and string().

◆ getModuleOrNull()

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

Definition at line 739 of file Module.h.

◆ getPath()

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

Definition at line 736 of file Module.h.

◆ getSignature()

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

Definition at line 738 of file Module.h.


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