Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A 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 …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A 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 …]
/netbsd-src/sys/external/bsd/acpica/dist/namespace/
H A Dnssearch.c113 char *ScopeName; in AcpiNsSearchOneScope() local
115 ScopeName = AcpiNsGetNormalizedPathname (ParentNode, TRUE); in AcpiNsSearchOneScope()
116 if (ScopeName) in AcpiNsSearchOneScope()
120 ScopeName, ParentNode, ACPI_CAST_PTR (char, &TargetName), in AcpiNsSearchOneScope()
123 ACPI_FREE (ScopeName); in AcpiNsSearchOneScope()
H A Dnsinit.c746 char *ScopeName = AcpiNsGetNormalizedPathname (DeviceNode, TRUE); in AcpiNsInitOneDevice() local
749 ScopeName)); in AcpiNsInitOneDevice()
750 ACPI_FREE (ScopeName); in AcpiNsInitOneDevice()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseDeclCXX.cpp4056 IdentifierInfo *ScopeName) { in IsBuiltInOrStandardCXX11Attribute() argument
4058 ParsedAttr::getParsedKind(AttrName, ScopeName, ParsedAttr::AS_CXX11)) { in IsBuiltInOrStandardCXX11Attribute()
4068 return !ScopeName && AttrName->getName().equals("nodiscard"); in IsBuiltInOrStandardCXX11Attribute()
4070 return !ScopeName && AttrName->getName().equals("maybe_unused"); in IsBuiltInOrStandardCXX11Attribute()
4094 IdentifierInfo *ScopeName, in ParseCXX11AttributeArgs() argument
4104 if (!hasAttribute(LO.CPlusPlus ? AttrSyntax::CXX : AttrSyntax::C, ScopeName, in ParseCXX11AttributeArgs()
4112 if (ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__"))) { in ParseCXX11AttributeArgs()
4115 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseCXX11AttributeArgs()
4122 if (ScopeName && (ScopeName->isStr("clang") || ScopeName->isStr("_Clang"))) in ParseCXX11AttributeArgs()
4124 ScopeName, ScopeLoc, Syntax); in ParseCXX11AttributeArgs()
[all …]
H A DParseDecl.cpp330 IdentifierInfo *ScopeName, in ParseAttributeWithTypeArg() argument
349 ScopeName, ScopeLoc, T.get(), Syntax); in ParseAttributeWithTypeArg()
352 ScopeName, ScopeLoc, nullptr, 0, Syntax); in ParseAttributeWithTypeArg()
357 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseAttributeArgsCommon() argument
375 ParsedAttr::getParsedKind(AttrName, ScopeName, Syntax); in ParseAttributeArgsCommon()
439 ScopeName, ScopeLoc, TheParsedType, Syntax); in ParseAttributeArgsCommon()
441 Attrs.addNew(AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc, in ParseAttributeArgsCommon()
458 IdentifierInfo *ScopeName, in ParseGNUAttributeArgs() argument
466 ParsedAttr::getParsedKind(AttrName, ScopeName, Syntax); in ParseGNUAttributeArgs()
469 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DParser.h2643 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2759 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2766 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2807 IdentifierInfo *ScopeName,
2848 IdentifierInfo *ScopeName,
2859 IdentifierInfo *ScopeName,
2867 IdentifierInfo *ScopeName,
2875 IdentifierInfo *ScopeName,
2883 IdentifierInfo *ScopeName,
2890 SourceLocation *EndLoc, IdentifierInfo *ScopeName,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp940 auto ScopeName = SNANode.getName(); in cloneNoAliasScopes() local
941 if (!ScopeName.empty()) in cloneNoAliasScopes()
942 Name = (Twine(ScopeName) + ":" + Ext).str(); in cloneNoAliasScopes()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderDecl.cpp2783 IdentifierInfo *ScopeName = Record.readIdentifier(); in readAttr() local
2790 AttributeCommonInfo Info(AttrName, ScopeName, AttrRange, ScopeLoc, in readAttr()