Home
last modified time | relevance | path

Searched refs:OldAlignasAttr (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Sema/
DSemaDecl.cpp2142 AlignedAttr *OldAlignasAttr = nullptr; in mergeAlignedAttrs() local
2156 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()