| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | ParsedAttr.cpp | 106 static StringRef normalizeAttrScopeName(StringRef ScopeName, in normalizeAttrScopeName() argument 112 if (ScopeName == "__gnu__") in normalizeAttrScopeName() 113 ScopeName = "gnu"; in normalizeAttrScopeName() 114 else if (ScopeName == "_Clang") in normalizeAttrScopeName() 115 ScopeName = "clang"; in normalizeAttrScopeName() 117 return ScopeName; in normalizeAttrScopeName() 138 const IdentifierInfo *ScopeName, in getKind() argument 143 if (ScopeName) in getKind() 144 FullName += normalizeAttrScopeName(ScopeName->getName(), SyntaxUsed); in getKind() 150 if (ScopeName || SyntaxUsed == AS_CXX11 || SyntaxUsed == AS_C2x) in getKind() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | Attributes.cpp | 16 StringRef ScopeName = Scope ? Scope->getName() : ""; in hasAttribute() local 17 if (ScopeName == "__gnu__") in hasAttribute() 18 ScopeName = "gnu"; in hasAttribute() 19 else if (ScopeName == "_Clang") in hasAttribute() 20 ScopeName = "clang"; in hasAttribute()
|
| /freebsd-12.1/sys/contrib/dev/acpica/components/namespace/ |
| H A D | nssearch.c | 221 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 D | nsinit.c | 865 char *ScopeName = AcpiNsGetNormalizedPathname (DeviceNode, TRUE); in AcpiNsInitOneDevice() local 868 ScopeName)); in AcpiNsInitOneDevice() 869 ACPI_FREE (ScopeName); in AcpiNsInitOneDevice()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | ParsedAttr.h | 170 IdentifierInfo *ScopeName; variable 238 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in ParsedAttr() 255 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in ParsedAttr() 273 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in ParsedAttr() 290 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in ParsedAttr() 308 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in ParsedAttr() 322 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in ParsedAttr() 382 bool hasScope() const { return ScopeName; } in hasScope() 383 IdentifierInfo *getScopeName() const { return ScopeName; } in getScopeName() 387 return ScopeName && in isGNUScope() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseDeclCXX.cpp | 3890 IdentifierInfo *ScopeName, in ParseCXX11AttributeArgs() argument 3908 if (ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__"))) { in ParseCXX11AttributeArgs() 3918 if (ScopeName && (ScopeName->isStr("clang") || ScopeName->isStr("_Clang"))) in ParseCXX11AttributeArgs() 3924 ScopeName, ScopeLoc, Syntax); in ParseCXX11AttributeArgs() 3927 IsBuiltInOrStandardCXX11Attribute(AttrName, ScopeName)) { in ParseCXX11AttributeArgs() 4016 IdentifierInfo *ScopeName = nullptr, *AttrName = nullptr; in ParseCXX11AttributeSpecifier() local 4025 ScopeName = AttrName; in ParseCXX11AttributeSpecifier() 4037 if (ScopeName) { in ParseCXX11AttributeSpecifier() 4041 ScopeName = CommonScopeName; in ParseCXX11AttributeSpecifier() 4057 ScopeName, ScopeLoc); in ParseCXX11AttributeSpecifier() [all …]
|
| H A D | ParseDecl.cpp | 258 IdentifierInfo *ScopeName, in ParseAttributeWithTypeArg() argument 277 ScopeName, ScopeLoc, T.get(), Syntax); in ParseAttributeWithTypeArg() 280 ScopeName, ScopeLoc, nullptr, 0, Syntax); in ParseAttributeWithTypeArg() 296 ParsedAttr::getKind(AttrName, ScopeName, Syntax); in ParseAttributeArgsCommon() 359 IdentifierInfo *ScopeName, in ParseGNUAttributeArgs() argument 367 ParsedAttr::getKind(AttrName, ScopeName, Syntax); in ParseGNUAttributeArgs() 379 ScopeName, ScopeLoc, Syntax); in ParseGNUAttributeArgs() 417 ParsedAttr::getKind(AttrName, ScopeName, Syntax); in ParseClangAttributeArgs() 1130 ScopeName, ScopeLoc, in ParseAvailabilityAttribute() 1267 IdentifierInfo *ScopeName, in ParseObjCBridgeRelatedAttribute() argument [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | ARMAttributeParser.cpp | 652 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()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Parse/ |
| H A D | Parser.h | 2387 IdentifierInfo *ScopeName, SourceLocation ScopeLoc, 2412 IdentifierInfo *ScopeName, SourceLocation ScopeLoc, 2419 IdentifierInfo *ScopeName, SourceLocation ScopeLoc, 2455 IdentifierInfo *ScopeName, 2504 IdentifierInfo *ScopeName, 2515 IdentifierInfo *ScopeName, 2523 IdentifierInfo *ScopeName, 2531 IdentifierInfo *ScopeName, 2538 SourceLocation *EndLoc, IdentifierInfo *ScopeName,
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 250 StringRef ScopeName = Scope->getName(); in getPrettyScopeName() local 251 if (!ScopeName.empty()) in getPrettyScopeName() 252 return ScopeName; in getPrettyScopeName() 273 StringRef ScopeName = getPrettyScopeName(Scope); in getQualifiedNameComponents() local 274 if (!ScopeName.empty()) in getQualifiedNameComponents() 275 QualifiedNameComponents.push_back(ScopeName); in getQualifiedNameComponents() 329 std::string ScopeName = getFullyQualifiedName(Scope); in getScopeIndex() local 330 StringIdRecord SID(TypeIndex(), ScopeName); in getScopeIndex()
|