Lines Matching refs:SMLoc
1 //===- SMLoc.h - Source location for use with diagnostics -------*- C++ -*-===//
10 // This file declares the SMLoc class. This class encapsulates a location in
23 class SMLoc {
26 SMLoc() : Ptr(0) {}
30 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; }
31 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; }
35 static SMLoc getFromPointer(const char *Ptr) {
36 SMLoc L;
49 SMLoc Start, End;
52 SMRange(SMLoc St, SMLoc En) : Start(St), End(En) {