Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Basic/
DAttributes.cpp17 StringRef ScopeName = Scope ? Scope->getName() : ""; in hasAttribute() local
18 if (ScopeName == "__gnu__") in hasAttribute()
19 ScopeName = "gnu"; in hasAttribute()
20 else if (ScopeName == "_Clang") in hasAttribute()
21 ScopeName = "clang"; in hasAttribute()
46 StringRef ScopeName = Scope->getName(); in normalizeAttrScopeName() local
49 if (ScopeName == "__gnu__") in normalizeAttrScopeName()
50 ScopeName = "gnu"; in normalizeAttrScopeName()
51 else if (ScopeName == "_Clang") in normalizeAttrScopeName()
52 ScopeName = "clang"; in normalizeAttrScopeName()
[all …]
/external/llvm-project/clang/include/clang/Basic/
DAttributeCommonInfo.h63 const IdentifierInfo *ScopeName = nullptr; variable
85 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo() argument
87 : AttrName(AttrName), ScopeName(ScopeName), AttrRange(AttrRange), in AttributeCommonInfo()
89 AttrKind(getParsedKind(AttrName, ScopeName, SyntaxUsed)), in AttributeCommonInfo()
93 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo() argument
95 : AttrName(AttrName), ScopeName(ScopeName), AttrRange(AttrRange), in AttributeCommonInfo()
100 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo() argument
103 : AttrName(AttrName), ScopeName(ScopeName), AttrRange(AttrRange), in AttributeCommonInfo()
109 : AttrName(AttrName), ScopeName(nullptr), AttrRange(AttrRange), in AttributeCommonInfo()
110 ScopeLoc(), AttrKind(getParsedKind(AttrName, ScopeName, SyntaxUsed)), in AttributeCommonInfo()
[all …]
/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/llvm-project/clang/lib/Parse/
DParseDeclCXX.cpp4043 IdentifierInfo *ScopeName) { in IsBuiltInOrStandardCXX11Attribute() argument
4045 ParsedAttr::getParsedKind(AttrName, ScopeName, ParsedAttr::AS_CXX11)) { in IsBuiltInOrStandardCXX11Attribute()
4055 return !ScopeName && AttrName->getName().equals("nodiscard"); in IsBuiltInOrStandardCXX11Attribute()
4057 return !ScopeName && AttrName->getName().equals("maybe_unused"); in IsBuiltInOrStandardCXX11Attribute()
4081 IdentifierInfo *ScopeName, in ParseCXX11AttributeArgs() argument
4091 if (!hasAttribute(LO.CPlusPlus ? AttrSyntax::CXX : AttrSyntax::C, ScopeName, in ParseCXX11AttributeArgs()
4099 if (ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__"))) { in ParseCXX11AttributeArgs()
4102 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseCXX11AttributeArgs()
4109 if (ScopeName && (ScopeName->isStr("clang") || ScopeName->isStr("_Clang"))) in ParseCXX11AttributeArgs()
4111 ScopeName, ScopeLoc, Syntax); in ParseCXX11AttributeArgs()
[all …]
DParseDecl.cpp306 IdentifierInfo *ScopeName, in ParseAttributeWithTypeArg() argument
325 ScopeName, ScopeLoc, T.get(), Syntax); in ParseAttributeWithTypeArg()
328 ScopeName, ScopeLoc, nullptr, 0, Syntax); in ParseAttributeWithTypeArg()
333 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseAttributeArgsCommon() argument
351 ParsedAttr::getParsedKind(AttrName, ScopeName, Syntax); in ParseAttributeArgsCommon()
415 ScopeName, ScopeLoc, TheParsedType, Syntax); in ParseAttributeArgsCommon()
417 Attrs.addNew(AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc, in ParseAttributeArgsCommon()
434 IdentifierInfo *ScopeName, in ParseGNUAttributeArgs() argument
442 ParsedAttr::getParsedKind(AttrName, ScopeName, Syntax); in ParseGNUAttributeArgs()
445 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DARMAttributeParser.cpp666 StringRef ScopeName, IndexName; in ParseSubsection() local
670 ScopeName = "FileAttributes"; in ParseSubsection()
673 ScopeName = "SectionAttributes"; in ParseSubsection()
678 ScopeName = "SymbolAttributes"; in ParseSubsection()
688 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-project/clang/include/clang/Parse/
DParser.h2656 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2681 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2688 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2726 IdentifierInfo *ScopeName,
2775 IdentifierInfo *ScopeName,
2786 IdentifierInfo *ScopeName,
2794 IdentifierInfo *ScopeName,
2802 IdentifierInfo *ScopeName,
2810 IdentifierInfo *ScopeName,
2817 SourceLocation *EndLoc, IdentifierInfo *ScopeName,
/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/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp264 StringRef ScopeName = Scope->getName(); in getPrettyScopeName() local
265 if (!ScopeName.empty()) in getPrettyScopeName()
266 return ScopeName; in getPrettyScopeName()
294 StringRef ScopeName = getPrettyScopeName(Scope); in collectParentScopeNames() local
295 if (!ScopeName.empty()) in collectParentScopeNames()
296 QualifiedNameComponents.push_back(ScopeName); in collectParentScopeNames()
355 std::string ScopeName = getFullyQualifiedName(Scope); in getScopeIndex() local
356 StringIdRecord SID(TypeIndex(), ScopeName); in getScopeIndex()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp289 StringRef ScopeName = Scope->getName(); in getPrettyScopeName() local
290 if (!ScopeName.empty()) in getPrettyScopeName()
291 return ScopeName; in getPrettyScopeName()
312 StringRef ScopeName = getPrettyScopeName(Scope); in getQualifiedNameComponents() local
313 if (!ScopeName.empty()) in getQualifiedNameComponents()
314 QualifiedNameComponents.push_back(ScopeName); in getQualifiedNameComponents()
368 std::string ScopeName = getFullyQualifiedName(Scope); in getScopeIndex() local
369 StringIdRecord SID(TypeIndex(), ScopeName); in getScopeIndex()
/external/llvm-project/flang/include/flang/Semantics/
Dsymbol.h330 ENUM_CLASS(Kind, None, ConstructName, ScopeName, PassName, ComplexPartRe,
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp2781 IdentifierInfo *ScopeName = Record.readIdentifier(); in readAttr() local
2788 AttributeCommonInfo Info(AttrName, ScopeName, AttrRange, ScopeLoc, in readAttr()
/external/llvm-project/flang/lib/Semantics/
Dresolve-names.cpp1988 newSymbol.set_details(MiscDetails{MiscDetails::Kind::ScopeName}); in PushScope()