Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDecl.cpp2087 AlignedAttr *OldAlignasAttr = nullptr; in mergeAlignedAttrs() local
2101 OldAlignasAttr = I; in mergeAlignedAttrs()
2125 if (OldAlignasAttr && NewAlignasAttr && OldAlign != NewAlign) { in mergeAlignedAttrs()
2150 S.Diag(OldAlignasAttr->getLocation(), diag::note_previous_declaration); in mergeAlignedAttrs()
2154 if (OldAlignasAttr && !NewAlignasAttr && isAttributeTargetADefinition(New)) { in mergeAlignedAttrs()
2164 << OldAlignasAttr; in mergeAlignedAttrs()
2165 S.Diag(OldAlignasAttr->getLocation(), diag::note_alignas_on_declaration) in mergeAlignedAttrs()
2166 << OldAlignasAttr; in mergeAlignedAttrs()
2180 if (OldAlignasAttr && !NewAlignasAttr && in mergeAlignedAttrs()
2182 AlignedAttr *Clone = OldAlignasAttr->clone(S.Context); in mergeAlignedAttrs()