Lines Matching refs:AttrName
1071 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); in ParseMicrosoftInheritanceClassAttributes() local
1073 attrs.addNew(AttrName, AttrNameLoc, nullptr, AttrNameLoc, nullptr, 0, in ParseMicrosoftInheritanceClassAttributes()
3648 static bool IsBuiltInOrStandardCXX11Attribute(IdentifierInfo *AttrName, in IsBuiltInOrStandardCXX11Attribute() argument
3650 switch (AttributeList::getKind(AttrName, ScopeName, in IsBuiltInOrStandardCXX11Attribute()
3658 return !ScopeName && AttrName->getName().equals("nodiscard"); in IsBuiltInOrStandardCXX11Attribute()
3660 return !ScopeName && AttrName->getName().equals("maybe_unused"); in IsBuiltInOrStandardCXX11Attribute()
3680 bool Parser::ParseCXX11AttributeArgs(IdentifierInfo *AttrName, in ParseCXX11AttributeArgs() argument
3691 if (!hasAttribute(AttrSyntax::CXX, ScopeName, AttrName, in ParseCXX11AttributeArgs()
3702 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseCXX11AttributeArgs()
3706 ParseAttributeArgsCommon(AttrName, AttrNameLoc, Attrs, EndLoc, in ParseCXX11AttributeArgs()
3710 if (Attr && IsBuiltInOrStandardCXX11Attribute(AttrName, ScopeName)) { in ParseCXX11AttributeArgs()
3718 Diag(LParenLoc, diag::err_attribute_requires_arguments) << AttrName; in ParseCXX11AttributeArgs()
3725 << AttrName in ParseCXX11AttributeArgs()
3799 IdentifierInfo *ScopeName = nullptr, *AttrName = nullptr; in ParseCXX11AttributeSpecifier() local
3801 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc); in ParseCXX11AttributeSpecifier()
3802 if (!AttrName) in ParseCXX11AttributeSpecifier()
3808 ScopeName = AttrName; in ParseCXX11AttributeSpecifier()
3811 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc); in ParseCXX11AttributeSpecifier()
3812 if (!AttrName) { in ParseCXX11AttributeSpecifier()
3829 bool StandardAttr = IsBuiltInOrStandardCXX11Attribute(AttrName, ScopeName); in ParseCXX11AttributeSpecifier()
3833 !SeenAttrs.insert(std::make_pair(AttrName, AttrLoc)).second) in ParseCXX11AttributeSpecifier()
3835 << AttrName << SourceRange(SeenAttrs[AttrName]); in ParseCXX11AttributeSpecifier()
3839 AttrParsed = ParseCXX11AttributeArgs(AttrName, AttrLoc, attrs, endLoc, in ParseCXX11AttributeSpecifier()
3843 attrs.addNew(AttrName, in ParseCXX11AttributeSpecifier()
3850 << AttrName->getName(); in ParseCXX11AttributeSpecifier()