clang  12.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 703 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 712 of file Module.h.

◆ ASTSourceDescriptor() [3/3]

ASTSourceDescriptor::ASTSourceDescriptor ( Module M)

Member Function Documentation

◆ getASTFile()

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

Definition at line 720 of file Module.h.

Referenced by hasDefaultSetterName().

◆ getModuleName()

std::string ASTSourceDescriptor::getModuleName ( ) const

Definition at line 682 of file Module.cpp.

References clang::Module::Name.

Referenced by hasDefaultSetterName().

◆ getModuleOrNull()

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

Definition at line 722 of file Module.h.

Referenced by hasDefaultSetterName().

◆ getPath()

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

Definition at line 719 of file Module.h.

Referenced by hasDefaultSetterName().

◆ getSignature()

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

Definition at line 721 of file Module.h.

Referenced by hasDefaultSetterName().


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