/external/clang/lib/Sema/ |
D | AttributeList.cpp | 114 StringRef AttrName = Name->getName(); in getKind() local 124 if (IsGNU && AttrName.size() >= 4 && AttrName.startswith("__") && in getKind() 125 AttrName.endswith("__")) in getKind() 126 AttrName = AttrName.slice(2, AttrName.size() - 2); in getKind() 132 FullName += AttrName; in getKind() 140 StringRef Name = AttrName->getName(); in getAttributeSpellingListIndex()
|
/external/clang/test/Index/ |
D | recursive-cxx-member-calls.cpp | 101 llvm::StringRef AttrName = Name->getName(); in getKind() local 102 if (AttrName.startswith("__") && AttrName.endswith("__")) in getKind() 103 AttrName = AttrName.substr(2, AttrName.size() - 4); in getKind() 105 return llvm::StringSwitch < AttributeList::Kind > (AttrName) in getKind()
|
/external/pdfium/core/src/reflow/ |
D | layoutprovider_taggedpdf.cpp | 474 CFX_ByteStringC AttrName = ConvertLayoutAttr(attr_type); in GetEnumAttr() local 475 …CFX_ByteString AttrValue = m_pTaggedElement->GetName(owner, AttrName, default_value, IsInheritable… in GetEnumAttr() 504 CFX_ByteStringC AttrName = ConvertLayoutAttr(attr_type); in GetNumberAttr() local 505 …FX_FLOAT f = m_pTaggedElement->GetNumber(owner, AttrName, default_value, IsInheritable(attr_type),… in GetNumberAttr() 507 …f = m_pTaggedElement->GetNumber("Table", AttrName, default_value, IsInheritable(attr_type), index); in GetNumberAttr() 518 CFX_ByteStringC AttrName = ConvertLayoutAttr(attr_type); in GetColorAttr() local 519 …FX_ARGB f = m_pTaggedElement->GetColor(owner, AttrName, default_value, IsInheritable(attr_type), i… in GetColorAttr()
|
/external/clang/lib/Parse/ |
D | ParseDecl.cpp | 148 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); in ParseGNUAttributes() local 149 if (!AttrName) in ParseGNUAttributes() 155 attrs.addNew(AttrName, AttrNameLoc, nullptr, AttrNameLoc, nullptr, 0, in ParseGNUAttributes() 161 if (!LateAttrs || !isAttributeLateParsed(*AttrName)) { in ParseGNUAttributes() 162 ParseGNUAttributeArgs(AttrName, AttrNameLoc, attrs, endLoc, nullptr, in ParseGNUAttributes() 169 new LateParsedAttribute(this, *AttrName, AttrNameLoc); in ParseGNUAttributes() 240 void Parser::ParseAttributeWithTypeArg(IdentifierInfo &AttrName, in ParseAttributeWithTypeArg() argument 261 Attrs.addNewTypeAttr(&AttrName, in ParseAttributeWithTypeArg() 265 Attrs.addNew(&AttrName, SourceRange(AttrNameLoc, Parens.getCloseLocation()), in ParseAttributeWithTypeArg() 270 IdentifierInfo *AttrName, SourceLocation AttrNameLoc, in ParseAttributeArgsCommon() argument [all …]
|
D | ParseDeclCXX.cpp | 1064 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); in ParseMicrosoftInheritanceClassAttributes() local 1066 attrs.addNew(AttrName, AttrNameLoc, nullptr, AttrNameLoc, nullptr, 0, in ParseMicrosoftInheritanceClassAttributes() 3544 static bool IsBuiltInOrStandardCXX11Attribute(IdentifierInfo *AttrName, in IsBuiltInOrStandardCXX11Attribute() argument 3546 switch (AttributeList::getKind(AttrName, ScopeName, in IsBuiltInOrStandardCXX11Attribute() 3574 bool Parser::ParseCXX11AttributeArgs(IdentifierInfo *AttrName, in ParseCXX11AttributeArgs() argument 3585 if (!hasAttribute(AttrSyntax::CXX, ScopeName, AttrName, in ParseCXX11AttributeArgs() 3596 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseCXX11AttributeArgs() 3600 ParseAttributeArgsCommon(AttrName, AttrNameLoc, Attrs, EndLoc, in ParseCXX11AttributeArgs() 3604 if (Attr && IsBuiltInOrStandardCXX11Attribute(AttrName, ScopeName)) { in ParseCXX11AttributeArgs() 3612 Diag(LParenLoc, diag::err_attribute_requires_arguments) << AttrName; in ParseCXX11AttributeArgs() [all …]
|
D | ParseObjc.cpp | 551 SourceLocation AttrName = ConsumeToken(); // consume last attribute name in ParseObjCPropertyAttribute() local 618 Diag(AttrName, diag::err_objc_expected_property_attr) << II; in ParseObjCPropertyAttribute()
|
/external/clang/include/clang/Sema/ |
D | AttributeList.h | 89 IdentifierInfo *AttrName; 219 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 237 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 258 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 276 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 294 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 308 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 329 IdentifierInfo *getName() const { return AttrName; } in getName()
|
/external/clang/utils/TableGen/ |
D | ClangAttrEmitter.cpp | 104 static StringRef NormalizeAttrName(StringRef AttrName) { in NormalizeAttrName() argument 105 if (AttrName.startswith("__")) in NormalizeAttrName() 106 AttrName = AttrName.substr(2, AttrName.size()); in NormalizeAttrName() 108 if (AttrName.endswith("__")) in NormalizeAttrName() 109 AttrName = AttrName.substr(0, AttrName.size() - 2); in NormalizeAttrName() 111 return AttrName; in NormalizeAttrName() 2166 static bool isArgVariadic(const Record &R, StringRef AttrName) { in isArgVariadic() argument 2167 return createArgument(R, AttrName)->isVariadic(); in isArgVariadic() 2663 std::string AttrName; in EmitClangAttrParsedAttrKinds() local 2666 AttrName = Attr.getValueAsString("ParseKind"); in EmitClangAttrParsedAttrKinds() [all …]
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 911 IdentifierInfo &AttrName; member 917 : Self(P), AttrName(Name), AttrNameLoc(Loc) {} in LateParsedAttribute() 2007 ParseAttributeArgsCommon(IdentifierInfo *AttrName, SourceLocation AttrNameLoc, 2031 void ParseGNUAttributeArgs(IdentifierInfo *AttrName, 2071 bool ParseCXX11AttributeArgs(IdentifierInfo *AttrName, 2087 bool ParseMicrosoftDeclSpecArgs(IdentifierInfo *AttrName, 2115 void ParseTypeTagForDatatypeAttribute(IdentifierInfo &AttrName, 2123 void ParseAttributeWithTypeArg(IdentifierInfo &AttrName,
|
/external/clang/unittests/AST/ |
D | CommentParser.cpp | 388 StringRef AttrName, in HasHTMLStartTagAt() argument 404 if (ActualName != AttrName) in HasHTMLStartTagAt() 407 "expected \"" << AttrName.str() << "\""; in HasHTMLStartTagAt()
|