clang  3.9.0
Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::FileID Class Reference

An opaque identifier used by SourceManager which refers to a source file (MemoryBuffer) along with its #include path and #line data. More...

#include <SourceLocation.h>

Public Member Functions

 FileID ()
 
bool isValid () const
 
bool isInvalid () const
 
bool operator== (const FileID &RHS) const
 
bool operator< (const FileID &RHS) const
 
bool operator<= (const FileID &RHS) const
 
bool operator!= (const FileID &RHS) const
 
bool operator> (const FileID &RHS) const
 
bool operator>= (const FileID &RHS) const
 
unsigned getHashValue () const
 

Static Public Member Functions

static FileID getSentinel ()
 

Friends

class SourceManager
 
class ASTWriter
 
class ASTReader
 

Detailed Description

An opaque identifier used by SourceManager which refers to a source file (MemoryBuffer) along with its #include path and #line data.

Definition at line 39 of file SourceLocation.h.

Constructor & Destructor Documentation

clang::FileID::FileID ( )
inline

Definition at line 44 of file SourceLocation.h.

Member Function Documentation

unsigned clang::FileID::getHashValue ( ) const
inline

Definition at line 57 of file SourceLocation.h.

Referenced by llvm::DenseMapInfo< clang::FileID >::getHashValue().

static FileID clang::FileID::getSentinel ( )
inlinestatic
bool clang::FileID::isInvalid ( ) const
inline
bool clang::FileID::isValid ( ) const
inline
bool clang::FileID::operator!= ( const FileID RHS) const
inline

Definition at line 52 of file SourceLocation.h.

bool clang::FileID::operator< ( const FileID RHS) const
inline

Definition at line 50 of file SourceLocation.h.

bool clang::FileID::operator<= ( const FileID RHS) const
inline

Definition at line 51 of file SourceLocation.h.

bool clang::FileID::operator== ( const FileID RHS) const
inline

Definition at line 49 of file SourceLocation.h.

bool clang::FileID::operator> ( const FileID RHS) const
inline

Definition at line 53 of file SourceLocation.h.

bool clang::FileID::operator>= ( const FileID RHS) const
inline

Definition at line 54 of file SourceLocation.h.

Friends And Related Function Documentation

friend class ASTReader
friend

Definition at line 62 of file SourceLocation.h.

friend class ASTWriter
friend

Definition at line 61 of file SourceLocation.h.

friend class SourceManager
friend

Definition at line 60 of file SourceLocation.h.


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