void Struct::passTypePath()

in FBRetainCycleDetector/Layout/Classes/Parser/Struct.mm [14:27]


  void Struct::passTypePath(std::vector<std::string> typePath) {
    this->typePath = typePath;
    
    if (name.length() > 0) {
      typePath.emplace_back(name);
    }
    if (structTypeName.length() > 0 && structTypeName != "?") {
      typePath.emplace_back(structTypeName);
    }
    
    for (auto &type: typesContainedInStruct) {
      type->passTypePath(typePath);
    }
  }