LLVM API Documentation

llvm::SMLoc Class Reference

#include <SourceMgr.h>

Collaboration diagram for llvm::SMLoc:
[legend]

List of all members.

Public Member Functions

 SMLoc ()
 SMLoc (const SMLoc &RHS)
bool isValid () const
bool operator== (const SMLoc &RHS) const
bool operator!= (const SMLoc &RHS) const
const char * getPointer () const

Static Public Member Functions

static SMLoc getFromPointer (const char *Ptr)


Detailed Description

Definition at line 29 of file SourceMgr.h.


Constructor & Destructor Documentation

llvm::SMLoc::SMLoc (  )  [inline]

Definition at line 32 of file SourceMgr.h.

llvm::SMLoc::SMLoc ( const SMLoc &  RHS  )  [inline]

Definition at line 33 of file SourceMgr.h.


Member Function Documentation

bool llvm::SMLoc::isValid (  )  const [inline]

Definition at line 35 of file SourceMgr.h.

bool llvm::SMLoc::operator== ( const SMLoc &  RHS  )  const [inline]

Definition at line 37 of file SourceMgr.h.

References Ptr.

bool llvm::SMLoc::operator!= ( const SMLoc &  RHS  )  const [inline]

Definition at line 38 of file SourceMgr.h.

References Ptr.

const char* llvm::SMLoc::getPointer (  )  const [inline]

static SMLoc llvm::SMLoc::getFromPointer ( const char *  Ptr  )  [inline, static]

Definition at line 42 of file SourceMgr.h.

References L, and Ptr.

Referenced by llvm::SourceMgr::FindLineNumber(), llvm::AsmToken::getLoc(), and llvm::LLLexer::getLoc().


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