Searched refs:OldAlignasAttr (Results 1 – 1 of 1) sorted by relevance
2142 AlignedAttr *OldAlignasAttr = nullptr; in mergeAlignedAttrs() local2156 OldAlignasAttr = I; in mergeAlignedAttrs()2180 if (OldAlignasAttr && NewAlignasAttr && OldAlign != NewAlign) { in mergeAlignedAttrs()2205 S.Diag(OldAlignasAttr->getLocation(), diag::note_previous_declaration); in mergeAlignedAttrs()2209 if (OldAlignasAttr && !NewAlignasAttr && isAttributeTargetADefinition(New)) { in mergeAlignedAttrs()2219 << OldAlignasAttr; in mergeAlignedAttrs()2220 S.Diag(OldAlignasAttr->getLocation(), diag::note_alignas_on_declaration) in mergeAlignedAttrs()2221 << OldAlignasAttr; in mergeAlignedAttrs()2235 if (OldAlignasAttr && !NewAlignasAttr && in mergeAlignedAttrs()2237 AlignedAttr *Clone = OldAlignasAttr->clone(S.Context); in mergeAlignedAttrs()