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

References

tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
  534     std::string ReplacedName = NewName.str();
  537       size_t LastColonPos = NewName.find_last_of(':');
  539         ReplacedName = NewName.substr(LastColonPos + 1);
  547               NewName.startswith("::") ? NewName.str()
  547               NewName.startswith("::") ? NewName.str()
  548                                        : ("::" + NewName).str());
  563           if (ActualName.startswith("::") && !NewName.startswith("::")) {
  564             ReplacedName = "::" + NewName.str();
  569       if (NewName.startswith("::") && NewName.substr(2) == ReplacedName)
  569       if (NewName.startswith("::") && NewName.substr(2) == ReplacedName)
  570         ReplacedName = NewName.str();
  578     Replace(Using->getBeginLoc(), Using->getEndLoc(), "using " + NewName.str());