clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
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>

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

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

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

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 52 of file SourceLocation.h.

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

Definition at line 53 of file SourceLocation.h.


Friends And Related Function Documentation

friend class ASTReader [friend]

Definition at line 61 of file SourceLocation.h.

friend class ASTWriter [friend]

Definition at line 60 of file SourceLocation.h.

friend class SourceManager [friend]

Definition at line 59 of file SourceLocation.h.


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