Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DAttributes.cpp18 if (ScopeName == "__gnu__") in hasAttribute()
19 ScopeName = "gnu"; in hasAttribute()
20 else if (ScopeName == "_Clang") in hasAttribute()
21 ScopeName = "clang"; in hasAttribute()
28 ScopeName == "omp") in hasAttribute()
57 if (ScopeName == "__gnu__") in normalizeAttrScopeName()
58 ScopeName = "gnu"; in normalizeAttrScopeName()
60 ScopeName = "clang"; in normalizeAttrScopeName()
62 return ScopeName; in normalizeAttrScopeName()
85 return ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__")); in isGNUScope()
[all …]
/freebsd-13.1/contrib/llvm-project/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()
133 bool hasScope() const { return ScopeName; } in hasScope()
[all …]
/freebsd-13.1/sys/contrib/dev/acpica/components/namespace/
H A Dnssearch.c221 char *ScopeName; in AcpiNsSearchOneScope() local
223 ScopeName = AcpiNsGetNormalizedPathname (ParentNode, TRUE); in AcpiNsSearchOneScope()
224 if (ScopeName) in AcpiNsSearchOneScope()
228 ScopeName, ParentNode, ACPI_CAST_PTR (char, &TargetName), in AcpiNsSearchOneScope()
231 ACPI_FREE (ScopeName); in AcpiNsSearchOneScope()
H A Dnsinit.c854 char *ScopeName = AcpiNsGetNormalizedPathname (DeviceNode, TRUE); in AcpiNsInitOneDevice() local
857 ScopeName)); in AcpiNsInitOneDevice()
858 ACPI_FREE (ScopeName); in AcpiNsInitOneDevice()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp4249 IdentifierInfo *ScopeName, in ParseCXX11AttributeArgs() argument
4268 if (ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__"))) { in ParseCXX11AttributeArgs()
4276 if (ScopeName && ScopeName->isStr("omp")) { in ParseCXX11AttributeArgs()
4290 if (ScopeName && (ScopeName->isStr("clang") || ScopeName->isStr("_Clang"))) in ParseCXX11AttributeArgs()
4296 ScopeName, ScopeLoc, Syntax); in ParseCXX11AttributeArgs()
4299 IsBuiltInOrStandardCXX11Attribute(AttrName, ScopeName)) { in ParseCXX11AttributeArgs()
4402 IdentifierInfo *ScopeName = nullptr, *AttrName = nullptr; in ParseCXX11AttributeSpecifierInternal() local
4411 ScopeName = AttrName; in ParseCXX11AttributeSpecifierInternal()
4423 if (ScopeName) { in ParseCXX11AttributeSpecifierInternal()
4427 ScopeName = CommonScopeName; in ParseCXX11AttributeSpecifierInternal()
[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()
375 ParsedAttr::getParsedKind(AttrName, ScopeName, Syntax); in ParseAttributeArgsCommon()
458 IdentifierInfo *ScopeName, in ParseGNUAttributeArgs() argument
466 ParsedAttr::getParsedKind(AttrName, ScopeName, Syntax); in ParseGNUAttributeArgs()
478 ScopeName, ScopeLoc, Syntax); in ParseGNUAttributeArgs()
520 ParsedAttr::getParsedKind(AttrName, ScopeName, Syntax); in ParseClangAttributeArgs()
1238 ScopeName, ScopeLoc, in ParseAvailabilityAttribute()
1375 IdentifierInfo *ScopeName, in ParseObjCBridgeRelatedAttribute() argument
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h2649 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2765 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2772 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2833 IdentifierInfo *ScopeName,
2875 IdentifierInfo *ScopeName,
2886 IdentifierInfo *ScopeName,
2894 IdentifierInfo *ScopeName,
2902 IdentifierInfo *ScopeName,
2910 IdentifierInfo *ScopeName,
2917 SourceLocation *EndLoc, IdentifierInfo *ScopeName,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp943 auto ScopeName = SNANode.getName(); in cloneNoAliasScopes() local
944 if (!ScopeName.empty()) in cloneNoAliasScopes()
945 Name = (Twine(ScopeName) + ":" + Ext).str(); in cloneNoAliasScopes()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp2801 IdentifierInfo *ScopeName = Record.readIdentifier(); in readAttr() local
2808 AttributeCommonInfo Info(AttrName, ScopeName, AttrRange, ScopeLoc, in readAttr()