Home
last modified time | relevance | path

Searched refs:ScopeName (Results 1 – 11 of 11) sorted by relevance

/external/clang/lib/Sema/
DAttributeList.cpp112 static StringRef normalizeAttrName(StringRef AttrName, StringRef ScopeName, in normalizeAttrName() argument
117 (SyntaxUsed == AttributeList::AS_CXX11 && ScopeName == "gnu"); in normalizeAttrName()
126 const IdentifierInfo *ScopeName, in getKind() argument
131 if (ScopeName) in getKind()
132 FullName += ScopeName->getName(); in getKind()
138 if (ScopeName || SyntaxUsed == AS_CXX11) in getKind()
148 StringRef Scope = ScopeName ? ScopeName->getName() : ""; in getAttributeSpellingListIndex()
/external/clang/include/clang/Sema/
DAttributeList.h114 IdentifierInfo *ScopeName; variable
241 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
261 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
281 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
298 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
316 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
330 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
355 bool hasScope() const { return ScopeName; } in hasScope()
356 IdentifierInfo *getScopeName() const { return ScopeName; } in getScopeName()
/external/tensorflow/tensorflow/cc/framework/
Dscope_internal.h55 enum class ScopeName; member
69 Impl(const Scope& other, Tags::ScopeName, const string& name,
Dscope.cc82 Scope::Impl::Impl(const Scope& other, Tags::ScopeName, const string& name, in Impl() argument
408 return Scope(new Impl(*this, Impl::Tags::ScopeName(), impl()->name_, in NewSubScope()
415 return Scope(new Impl(*this, Impl::Tags::ScopeName(), in NewSubScope()
495 return {Scope(new Impl(*this, Impl::Tags::ScopeName(), impl()->op_name_, in GetCompositeOpScopes()
/external/llvm/tools/llvm-readobj/
DARMAttributeParser.cpp633 StringRef ScopeName, IndexName; in ParseSubsection() local
637 ScopeName = "FileAttributes"; in ParseSubsection()
640 ScopeName = "SectionAttributes"; in ParseSubsection()
645 ScopeName = "SymbolAttributes"; in ParseSubsection()
654 DictScope ASS(SW, ScopeName); in ParseSubsection()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DARMAttributeParser.cpp652 StringRef ScopeName, IndexName; in ParseSubsection() local
656 ScopeName = "FileAttributes"; in ParseSubsection()
659 ScopeName = "SectionAttributes"; in ParseSubsection()
664 ScopeName = "SymbolAttributes"; in ParseSubsection()
674 DictScope ASS(*SW, ScopeName); in ParseSubsection()
/external/clang/lib/Parse/
DParseDeclCXX.cpp3649 IdentifierInfo *ScopeName) { 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()
3684 IdentifierInfo *ScopeName, in ParseCXX11AttributeArgs() argument
3691 if (!hasAttribute(AttrSyntax::CXX, ScopeName, AttrName, in ParseCXX11AttributeArgs()
3699 if (ScopeName && ScopeName->getName() == "gnu") in ParseCXX11AttributeArgs()
3702 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseCXX11AttributeArgs()
3707 ScopeName, ScopeLoc, AttributeList::AS_CXX11); in ParseCXX11AttributeArgs()
3710 if (Attr && IsBuiltInOrStandardCXX11Attribute(AttrName, ScopeName)) { in ParseCXX11AttributeArgs()
[all …]
DParseDecl.cpp246 IdentifierInfo *ScopeName, in ParseAttributeWithTypeArg() argument
265 ScopeName, ScopeLoc, T.get(), Syntax); in ParseAttributeWithTypeArg()
268 ScopeName, ScopeLoc, nullptr, 0, Syntax); in ParseAttributeWithTypeArg()
273 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseAttributeArgsCommon() argument
283 AttributeList::getKind(AttrName, ScopeName, Syntax); in ParseAttributeArgsCommon()
323 Attrs.addNew(AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc, in ParseAttributeArgsCommon()
339 IdentifierInfo *ScopeName, in ParseGNUAttributeArgs() argument
347 AttributeList::getKind(AttrName, ScopeName, Syntax); in ParseGNUAttributeArgs()
350 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs()
355 ScopeName, ScopeLoc, Syntax); in ParseGNUAttributeArgs()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp132 StringRef ScopeName = Scope->getName(); in getPrettyScopeName() local
133 if (!ScopeName.empty()) in getPrettyScopeName()
134 return ScopeName; in getPrettyScopeName()
155 StringRef ScopeName = getPrettyScopeName(Scope); in getQualifiedNameComponents() local
156 if (!ScopeName.empty()) in getQualifiedNameComponents()
157 QualifiedNameComponents.push_back(ScopeName); in getQualifiedNameComponents()
210 std::string ScopeName = getFullyQualifiedName(Scope); in getScopeIndex() local
212 TypeTable.writeStringId(StringIdRecord(TypeIndex(), ScopeName)); in getScopeIndex()
/external/clang/include/clang/Parse/
DParser.h2130 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2156 IdentifierInfo *ScopeName,
2195 IdentifierInfo *ScopeName,
2243 IdentifierInfo *ScopeName,
2251 IdentifierInfo *ScopeName,
2259 IdentifierInfo *ScopeName,
2267 IdentifierInfo *ScopeName,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp223 StringRef ScopeName = Scope->getName(); in getPrettyScopeName() local
224 if (!ScopeName.empty()) in getPrettyScopeName()
225 return ScopeName; in getPrettyScopeName()
246 StringRef ScopeName = getPrettyScopeName(Scope); in getQualifiedNameComponents() local
247 if (!ScopeName.empty()) in getQualifiedNameComponents()
248 QualifiedNameComponents.push_back(ScopeName); in getQualifiedNameComponents()
302 std::string ScopeName = getFullyQualifiedName(Scope); in getScopeIndex() local
303 StringIdRecord SID(TypeIndex(), ScopeName); in getScopeIndex()