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

References

tools/clang/tools/extra/clangd/refactor/tweaks/ExtractFunction.cpp
  359     ZoneRelative DeclaredIn;
  365     DeclInformation(const Decl *TheDecl, ZoneRelative DeclaredIn,
  369     void markOccurence(ZoneRelative ReferenceLoc);
  380   DeclInformation *createDeclInfo(const Decl *D, ZoneRelative RelativeLoc);
  385 CapturedZoneInfo::createDeclInfo(const Decl *D, ZoneRelative RelativeLoc) {
  403     ZoneRelative ReferenceLoc) {
  405   case ZoneRelative::Inside:
  408   case ZoneRelative::After:
  440         CurrentLocation = ZoneRelative::Inside;
  448         CurrentLocation = ZoneRelative::After;
  455       if (CurrentLocation != ZoneRelative::Inside)
  466       if (CurrentLocation != ZoneRelative::Inside)
  485         DeclInfo = Info.createDeclInfo(D, ZoneRelative::OutsideFunc);
  492       if (CurrentLocation == ZoneRelative::Inside)
  500       if (CurrentLocation == ZoneRelative::Inside &&
  509       if (CurrentLocation == ZoneRelative::Inside && !CurNumberOfNestedLoops)
  515     ZoneRelative CurrentLocation = ZoneRelative::Before;
  515     ZoneRelative CurrentLocation = ZoneRelative::Before;
  536     if (DeclInfo.DeclaredIn == ZoneRelative::Inside &&
  541     if (DeclInfo.DeclaredIn == ZoneRelative::Inside ||
  542         DeclInfo.DeclaredIn == ZoneRelative::OutsideFunc)