Home | History | Annotate | Download | only in Support

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
24 class SMLoc {
28 SMLoc() = default;
32 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; }
33 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; }
37 static SMLoc getFromPointer(const char *Ptr) {
38 SMLoc L;
51 SMLoc Start, End;
55 SMRange(SMLoc St, SMLoc En) : Start(St), End(En) {