Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/
HDAttributes.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()
39 normalizeAttrScopeName(StringRef ScopeName, in normalizeAttrScopeName() argument
45 if (ScopeName == "__gnu__") in normalizeAttrScopeName()
46 ScopeName = "gnu"; in normalizeAttrScopeName()
47 else if (ScopeName == "_Clang") in normalizeAttrScopeName()
48 ScopeName = "clang"; in normalizeAttrScopeName()
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
HDAttributeCommonInfo.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 …]
/freebsd-11-stable/sys/contrib/dev/acpica/components/namespace/
HDnssearch.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()
HDnsinit.c818 char *ScopeName = AcpiNsGetNormalizedPathname (DeviceNode, TRUE); in AcpiNsInitOneDevice() local
821 ScopeName)); in AcpiNsInitOneDevice()
822 ACPI_FREE (ScopeName); in AcpiNsInitOneDevice()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
HDParseDeclCXX.cpp3986 IdentifierInfo *ScopeName) { in IsBuiltInOrStandardCXX11Attribute() argument
3988 ParsedAttr::getParsedKind(AttrName, ScopeName, ParsedAttr::AS_CXX11)) { in IsBuiltInOrStandardCXX11Attribute()
3996 return !ScopeName && AttrName->getName().equals("nodiscard"); in IsBuiltInOrStandardCXX11Attribute()
3998 return !ScopeName && AttrName->getName().equals("maybe_unused"); in IsBuiltInOrStandardCXX11Attribute()
4022 IdentifierInfo *ScopeName, in ParseCXX11AttributeArgs() argument
4032 if (!hasAttribute(LO.CPlusPlus ? AttrSyntax::CXX : AttrSyntax::C, ScopeName, in ParseCXX11AttributeArgs()
4040 if (ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__"))) { in ParseCXX11AttributeArgs()
4043 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseCXX11AttributeArgs()
4050 if (ScopeName && (ScopeName->isStr("clang") || ScopeName->isStr("_Clang"))) in ParseCXX11AttributeArgs()
4052 ScopeName, ScopeLoc, Syntax); in ParseCXX11AttributeArgs()
[all …]
HDParseDecl.cpp305 IdentifierInfo *ScopeName, in ParseAttributeWithTypeArg() argument
324 ScopeName, ScopeLoc, T.get(), Syntax); in ParseAttributeWithTypeArg()
327 ScopeName, ScopeLoc, nullptr, 0, Syntax); in ParseAttributeWithTypeArg()
332 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseAttributeArgsCommon() argument
350 ParsedAttr::getParsedKind(AttrName, ScopeName, Syntax); in ParseAttributeArgsCommon()
414 ScopeName, ScopeLoc, TheParsedType, Syntax); in ParseAttributeArgsCommon()
416 Attrs.addNew(AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc, in ParseAttributeArgsCommon()
433 IdentifierInfo *ScopeName, in ParseGNUAttributeArgs() argument
441 ParsedAttr::getParsedKind(AttrName, ScopeName, Syntax); in ParseGNUAttributeArgs()
444 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
HDARMAttributeParser.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()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Parse/
HDParser.h2524 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2549 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2556 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2592 IdentifierInfo *ScopeName,
2641 IdentifierInfo *ScopeName,
2652 IdentifierInfo *ScopeName,
2660 IdentifierInfo *ScopeName,
2668 IdentifierInfo *ScopeName,
2675 SourceLocation *EndLoc, IdentifierInfo *ScopeName,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
HDCodeViewDebug.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()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
HDASTReaderDecl.cpp2766 IdentifierInfo *ScopeName = Record.readIdentifier(); in readAttr() local
2773 AttributeCommonInfo Info(AttrName, ScopeName, AttrRange, ScopeLoc, in readAttr()