Home
last modified time | relevance | path

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

/external/clang/lib/Parse/
DParseDeclCXX.cpp488 ParsedAttributesWithRange MisplacedAttrs(AttrFactory); in ParseUsingDeclaration() local
489 MaybeParseCXX11Attributes(MisplacedAttrs); in ParseUsingDeclaration()
548 if (MisplacedAttrs.Range.isValid()) { in ParseUsingDeclaration()
549 Diag(MisplacedAttrs.Range.getBegin(), diag::err_attributes_not_allowed) in ParseUsingDeclaration()
552 CharSourceRange::getTokenRange(MisplacedAttrs.Range)) in ParseUsingDeclaration()
553 << FixItHint::CreateRemoval(MisplacedAttrs.Range); in ParseUsingDeclaration()
554 Attrs.takeAllFrom(MisplacedAttrs); in ParseUsingDeclaration()
606 ProhibitAttributes(MisplacedAttrs); in ParseUsingDeclaration()