clang 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::serialization::InputFile Class Reference

The input file that has been loaded from this AST file, along with bools indicating whether this was an overridden buffer or if it was out-of-date or not-found. More...

#include "clang/Serialization/ModuleFile.h"

Public Member Functions

 InputFile ()=default
 
 InputFile (FileEntryRef File, bool isOverridden=false, bool isOutOfDate=false)
 
OptionalFileEntryRef getFile () const
 
bool isOverridden () const
 
bool isOutOfDate () const
 
bool isNotFound () const
 

Static Public Member Functions

static InputFile getNotFound ()
 

Detailed Description

The input file that has been loaded from this AST file, along with bools indicating whether this was an overridden buffer or if it was out-of-date or not-found.

Definition at line 84 of file ModuleFile.h.

Constructor & Destructor Documentation

◆ InputFile() [1/2]

clang::serialization::InputFile::InputFile ( )
default

◆ InputFile() [2/2]

clang::serialization::InputFile::InputFile ( FileEntryRef  File,
bool  isOverridden = false,
bool  isOutOfDate = false 
)
inline

Definition at line 95 of file ModuleFile.h.

References clang::File, isOutOfDate(), and isOverridden().

Member Function Documentation

◆ getFile()

OptionalFileEntryRef clang::serialization::InputFile::getFile ( ) const
inline

Definition at line 113 of file ModuleFile.h.

References P.

Referenced by clang::ASTReader::ReadSLocEntry().

◆ getNotFound()

static InputFile clang::serialization::InputFile::getNotFound ( )
inlinestatic

Definition at line 107 of file ModuleFile.h.

References clang::File.

◆ isNotFound()

bool clang::serialization::InputFile::isNotFound ( ) const
inline

Definition at line 120 of file ModuleFile.h.

◆ isOutOfDate()

bool clang::serialization::InputFile::isOutOfDate ( ) const
inline

Definition at line 119 of file ModuleFile.h.

Referenced by InputFile().

◆ isOverridden()

bool clang::serialization::InputFile::isOverridden ( ) const
inline

Definition at line 118 of file ModuleFile.h.

Referenced by InputFile(), and clang::ASTReader::ReadSLocEntry().


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