LLVM  8.0.1
Public Member Functions | Static Public Member Functions | List of all members
llvm::SMLoc Class Reference

Represents a location in source code. More...

#include "llvm/Support/SMLoc.h"

Public Member Functions

 SMLoc ()=default
 
bool isValid () const
 
bool operator== (const SMLoc &RHS) const
 
bool operator!= (const SMLoc &RHS) const
 
const chargetPointer () const
 

Static Public Member Functions

static SMLoc getFromPointer (const char *Ptr)
 

Detailed Description

Represents a location in source code.

Definition at line 24 of file SMLoc.h.

Constructor & Destructor Documentation

◆ SMLoc()

llvm::SMLoc::SMLoc ( )
default

Member Function Documentation

◆ getFromPointer()

static SMLoc llvm::SMLoc::getFromPointer ( const char Ptr)
inlinestatic

◆ getPointer()

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

◆ isValid()

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

◆ operator!=()

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

Definition at line 33 of file SMLoc.h.

◆ operator==()

bool llvm::SMLoc::operator== ( const SMLoc RHS) const
inline

Definition at line 32 of file SMLoc.h.


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