clang  6.0.0svn
Public Member Functions | List of all members
clang::ExternalASTSource::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/AST/ExternalASTSource.h"

Public Member Functions

 ASTSourceDescriptor ()
 
 ASTSourceDescriptor (StringRef Name, StringRef Path, StringRef ASTFile, ASTFileSignature Signature)
 
 ASTSourceDescriptor (const Module &M)
 
std::string getModuleName () const
 
StringRef getPath () const
 
StringRef getASTFile () const
 
ASTFileSignature getSignature () const
 
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 149 of file ExternalASTSource.h.

Constructor & Destructor Documentation

◆ ASTSourceDescriptor() [1/3]

clang::ExternalASTSource::ASTSourceDescriptor::ASTSourceDescriptor ( )
inline

Definition at line 157 of file ExternalASTSource.h.

◆ ASTSourceDescriptor() [2/3]

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

Definition at line 158 of file ExternalASTSource.h.

◆ ASTSourceDescriptor() [3/3]

ExternalASTSource::ASTSourceDescriptor::ASTSourceDescriptor ( const Module M)

Member Function Documentation

◆ getASTFile()

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

Definition at line 165 of file ExternalASTSource.h.

◆ getModuleName()

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

Definition at line 44 of file ExternalASTSource.cpp.

References clang::Module::Name.

◆ getModuleOrNull()

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

◆ getPath()

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

Definition at line 164 of file ExternalASTSource.h.

◆ getSignature()

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

Definition at line 166 of file ExternalASTSource.h.


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