Home | History | Annotate | Download | only in Parse

Lines Matching refs:AttrName

132       IdentifierInfo *AttrName = Tok.getIdentifierInfo();
137 if (LateAttrs && isAttributeLateParsed(*AttrName)) {
139 new LateParsedAttribute(this, *AttrName, AttrNameLoc);
155 ParseGNUAttributeArgs(AttrName, AttrNameLoc, attrs, endLoc);
158 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc,
175 void Parser::ParseGNUAttributeArgs(IdentifierInfo *AttrName,
183 if (AttrName->isStr("availability")) {
184 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc);
189 if (IsThreadSafetyAttribute(AttrName->getName())) {
190 ParseThreadSafetyAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc);
253 else if (Tok.is(tok::less) && AttrName->isStr("iboutletcollection")) {
274 Attrs.addNew(AttrName, SourceRange(AttrNameLoc, RParen), 0, AttrNameLoc,
302 IdentifierInfo *AttrName = Tok.getIdentifierInfo();
307 if (AttrName->getName() == "property") {
318 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc, 0,
324 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc,
341 IdentifierInfo *AttrName = Tok.getIdentifierInfo();
347 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc, 0,
355 IdentifierInfo *AttrName = Tok.getIdentifierInfo();
357 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc, 0,
787 if (OnDefinition && !IsThreadSafetyAttribute(LA.AttrName.getName())) {
789 << LA.AttrName.getName();
810 ParseGNUAttributeArgs(&LA.AttrName, LA.AttrNameLoc, Attrs, &endLoc);
822 ParseGNUAttributeArgs(&LA.AttrName, LA.AttrNameLoc, Attrs, &endLoc);
824 Diag(Tok, diag::warn_attribute_no_decl) << LA.AttrName.getName();
843 /// \brief Wrapper around a case statement checking if AttrName is
845 bool Parser::IsThreadSafetyAttribute(llvm::StringRef AttrName){
846 return llvm::StringSwitch<bool>(AttrName)
880 void Parser::ParseThreadSafetyAttribute(IdentifierInfo &AttrName,
908 Attrs.addNew(&AttrName, AttrNameLoc, 0, AttrNameLoc, 0, SourceLocation(),