clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::FileID Class Reference

#include <SourceLocation.h>

List of all members.

Public Member Functions

 FileID ()
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

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

Definition at line 36 of file SourceLocation.h.


Constructor & Destructor Documentation

clang::FileID::FileID ( ) [inline]

Definition at line 41 of file SourceLocation.h.


Member Function Documentation

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

Definition at line 53 of file SourceLocation.h.

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

static FileID clang::FileID::getSentinel ( ) [inline, static]
bool clang::FileID::isInvalid ( ) const [inline]
bool clang::FileID::operator!= ( const FileID RHS) const [inline]

Definition at line 48 of file SourceLocation.h.

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

Definition at line 46 of file SourceLocation.h.

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

Definition at line 47 of file SourceLocation.h.

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

Definition at line 45 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 50 of file SourceLocation.h.


Friends And Related Function Documentation

friend class ASTReader [friend]

Definition at line 58 of file SourceLocation.h.

friend class ASTWriter [friend]

Definition at line 57 of file SourceLocation.h.

friend class SourceManager [friend]

Definition at line 56 of file SourceLocation.h.


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