lib/Sema/ConstraintLocator.h
ConstraintLocatorBuilder withPathElement(LocatorPathElt newElt) {
    unsigned newFlags = summaryFlags | newElt.getNewSummaryFlags();
    if (!element)
      return ConstraintLocatorBuilder(previous, newElt, newFlags);

    return ConstraintLocatorBuilder(this, newElt, newFlags);
  }
/// Retrieve a new path with the given path element added to it.
Retrieve a new path with the given path element added to it.
Retrieve a new path with the given path element added to it .
ConstraintLocatorBuilder withPathElement(LocatorPathElt newElt) {
    unsigned newFlags = summaryFlags | newElt.getNewSummaryFlags();
    if (!element)
      return ConstraintLocatorBuilder(previous, newElt, newFlags);
    return ConstraintLocatorBuilder(this, newElt, newFlags);
  }
ConstraintLocatorBuilder withPathElement ( LocatorPathElt newElt ) { unsigned newFlags = summaryFlags | newElt . getNewSummaryFlags ( ) ; if ( ! element ) return ConstraintLocatorBuilder ( previous , newElt , newFlags ) ; return ConstraintLocatorBuilder ( this , newElt , newFlags ) ; }
Retrieve a new path with the given path element added to it.
Retrieve a new path with the given path element added to it .