Lines Matching refs:attrLoc
78 SourceLocation attrLoc;
83 attrLoc = Tok.getLocation();
98 if (!ExtraNamespaceLoc.empty() && attrLoc.isValid())
99 Diag(attrLoc, diag::err_unexpected_nested_namespace_attribute);
103 attrLoc = Tok.getLocation();
114 if (attrLoc.isValid())
115 Diag(attrLoc, diag::err_unexpected_namespace_attributes_alias);
3751 SourceLocation ScopeLoc, AttrLoc;
3754 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
3762 ScopeLoc = AttrLoc;
3764 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
3776 !SeenAttrs.insert(std::make_pair(AttrName, AttrLoc)).second)
3777 Diag(AttrLoc, diag::err_cxx11_attribute_repeated)
3782 AttrParsed = ParseCXX11AttributeArgs(AttrName, AttrLoc, attrs, endLoc,
3787 SourceRange(ScopeLoc.isValid() ? ScopeLoc : AttrLoc,
3788 AttrLoc),