Searched refs:AttrName (Results 1 - 10 of 10) sorted by relevance

/external/clang/lib/Sema/
H A DAttributeList.cpp112 StringRef AttrName = Name->getName(); local
115 if (AttrName.startswith("__") && AttrName.endswith("__") &&
116 AttrName.size() >= 4)
117 AttrName = AttrName.substr(2, AttrName.size() - 4);
126 Buf += AttrName;
134 StringRef Name = AttrName->getName();
H A DSemaDeclAttr.cpp239 StringRef AttrName,
258 std::string Name = std::string("'") + AttrName.str() + std::string("'");
267 << AttrName << AttrArgNum << IdxExpr->getSourceRange();
275 << AttrName << IdxExpr->getSourceRange();
4162 StringRef AttrName = Attr.getName()->getName(); local
4184 if (!checkFunctionOrMethodArgumentIndex(S, D, AttrName,
4190 if (!checkFunctionOrMethodArgumentIndex(S, D, AttrName,
4195 bool IsPointer = (AttrName == "pointer_with_type_tag");
238 checkFunctionOrMethodArgumentIndex(Sema &S, const Decl *D, StringRef AttrName, SourceLocation AttrLoc, unsigned AttrArgNum, const Expr *IdxExpr, uint64_t &Idx) argument
/external/clang/test/Index/
H A Drecursive-cxx-member-calls.cpp101 llvm::StringRef AttrName = Name->getName(); local
102 if (AttrName.startswith("__") && AttrName.endswith("__"))
103 AttrName = AttrName.substr(2, AttrName.size() - 4);
105 return llvm::StringSwitch < AttributeList::Kind > (AttrName)
909 // CHECK-tokens: Punctuation: "::" [101:7 - 101:9] VarDecl=AttrName:101:19 (Definition)
911 // CHECK-tokens: Identifier: "AttrName" [101:19 - 101:27] VarDecl=AttrName
[all...]
/external/clang/utils/TableGen/
H A DClangAttrEmitter.cpp73 static StringRef NormalizeAttrName(StringRef AttrName) { argument
74 if (AttrName.startswith("__"))
75 AttrName = AttrName.substr(2, AttrName.size());
77 if (AttrName.endswith("__"))
78 AttrName = AttrName.substr(0, AttrName.size() - 2);
80 return AttrName;
1427 std::string AttrName = (*I)->getValueAsString("Name"); local
1434 StringRef AttrName = Attr.getName(); local
1436 OS << "PARSED_ATTR(" << AttrName << ")\\n"; local
1462 StringRef AttrName = NormalizeAttrName(DistinctSpellings local
[all...]
/external/clang/lib/Parse/
H A DParseDecl.cpp140 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local
145 if (LateAttrs && isAttributeLateParsed(*AttrName)) {
147 new LateParsedAttribute(this, *AttrName, AttrNameLoc);
163 ParseGNUAttributeArgs(AttrName, AttrNameLoc, attrs, endLoc,
167 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc,
191 void Parser::ParseGNUAttributeArgs(IdentifierInfo *AttrName, argument
202 if (AttrName->isStr("availability")) {
203 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc);
208 if (IsThreadSafetyAttribute(AttrName->getName())) {
209 ParseThreadSafetyAttribute(*AttrName, AttrNameLo
339 ParseMicrosoftDeclSpecWithSingleArg(IdentifierInfo *AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs) argument
568 IdentifierInfo *AttrName; local
607 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local
617 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local
627 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local
1121 IsThreadSafetyAttribute(StringRef AttrName) argument
1156 ParseThreadSafetyAttribute(IdentifierInfo &AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs, SourceLocation *EndLoc) argument
1192 ParseTypeTagForDatatypeAttribute(IdentifierInfo &AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs, SourceLocation *EndLoc) argument
2739 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local
[all...]
H A DParseDeclCXX.cpp983 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local
985 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc, 0,
3114 static bool IsBuiltInOrStandardCXX11Attribute(IdentifierInfo *AttrName, argument
3116 switch (AttributeList::getKind(AttrName, ScopeName,
3193 IdentifierInfo *ScopeName = 0, *AttrName = 0; local
3195 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
3196 if (!AttrName)
3204 ScopeName = AttrName;
3207 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
3208 if (!AttrName) {
[all...]
H A DParseObjc.cpp581 SourceLocation AttrName = ConsumeToken(); // consume last attribute name local
645 Diag(AttrName, diag::err_objc_expected_property_attr) << II;
/external/clang/include/clang/Sema/
H A DAttributeList.h70 IdentifierInfo *AttrName; member in class:clang::AttributeList
187 : AttrName(attrName), ScopeName(scopeName), ParmName(parmName),
207 : AttrName(attrName), ScopeName(scopeName), ParmName(parmName),
227 : AttrName(attrName), ScopeName(scopeName), ParmName(argumentKindName),
245 : AttrName(attrName), ScopeName(scopeName), ParmName(parmName),
261 : AttrName(attrName), ScopeName(scopeName), ParmName(parmName),
283 IdentifierInfo *getName() const { return AttrName; }
/external/clang/include/clang/Parse/
H A DParser.h818 IdentifierInfo &AttrName; member in struct:clang::Parser::LateParsedAttribute
824 : Self(P), AttrName(Name), AttrNameLoc(Loc) {}
1897 void ParseGNUAttributeArgs(IdentifierInfo *AttrName,
1948 void ParseMicrosoftDeclSpecWithSingleArg(IdentifierInfo *AttrName,
1963 bool IsThreadSafetyAttribute(StringRef AttrName);
1964 void ParseThreadSafetyAttribute(IdentifierInfo &AttrName,
1969 void ParseTypeTagForDatatypeAttribute(IdentifierInfo &AttrName,
/external/clang/unittests/AST/
H A DCommentParser.cpp388 StringRef AttrName,
404 if (ActualName != AttrName)
407 "expected \"" << AttrName.str() << "\"";
384 HasHTMLStartTagAt(const Comment *C, size_t Idx, HTMLStartTagComment *&HST, StringRef TagName, StringRef AttrName, StringRef AttrValue) argument

Completed in 145 milliseconds