reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/Sema/DeclSpec.h
   68   SourceRange getRange() const { return Range; }
   69   void setRange(SourceRange R) { Range = R; }
   70   void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); }
   71   void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); }
   72   SourceLocation getBeginLoc() const { return Range.getBegin(); }
   73   SourceLocation getEndLoc() const { return Range.getEnd(); }
  189   bool isEmpty() const { return !Range.isValid(); }
  201     if (Range.getBegin().isInvalid())
  202       Range.setBegin(R.getBegin());
  203     Range.setEnd(R.getEnd());
  212     Range = SourceRange();
tools/clang/lib/Sema/DeclSpec.cpp
   49   if (Range.getBegin().isInvalid())
   50     Range.setBegin(TL.getBeginLoc());
   51   Range.setEnd(ColonColonLoc);
   53   assert(Range == Builder.getSourceRange() &&
   62   if (Range.getBegin().isInvalid())
   63     Range.setBegin(IdentifierLoc);
   64   Range.setEnd(ColonColonLoc);
   66   assert(Range == Builder.getSourceRange() &&
   75   if (Range.getBegin().isInvalid())
   76     Range.setBegin(NamespaceLoc);
   77   Range.setEnd(ColonColonLoc);
   79   assert(Range == Builder.getSourceRange() &&
   88   if (Range.getBegin().isInvalid())
   89     Range.setBegin(AliasLoc);
   90   Range.setEnd(ColonColonLoc);
   92   assert(Range == Builder.getSourceRange() &&
  100   Range = SourceRange(ColonColonLoc);
  102   assert(Range == Builder.getSourceRange() &&
  111   Range.setBegin(SuperLoc);
  112   Range.setEnd(ColonColonLoc);
  114   assert(Range == Builder.getSourceRange() &&
  121   Range = R;
  126     Range = SourceRange();
  131   Range = Other.getSourceRange();