Lines Matching defs:Main
345 bool add(const T &Main) {
346 if (get(Main).hasValue())
350 return addAtMerging(Main, NewIndex);
354 /// set above "Main". There are some cases where this is not possible (see
355 /// above), so we merge them such that ToAdd and Main are in the same set.
356 bool addAbove(const T &Main, const T &ToAdd) {
357 assert(has(Main));
358 auto Index = *indexOf(Main);
367 /// set below "Main". There are some cases where this is not possible (see
368 /// above), so we merge them such that ToAdd and Main are in the same set.
369 bool addBelow(const T &Main, const T &ToAdd) {
370 assert(has(Main));
371 auto Index = *indexOf(Main);
379 bool addWith(const T &Main, const T &ToAdd) {
380 assert(has(Main));
381 auto MainIndex = *indexOf(Main);
385 void noteAttributes(const T &Main, AliasAttrs NewAttrs) {
386 assert(has(Main));
387 auto *Info = *get(Main);