/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | Attributes.cpp | 23 StringRef ScopeName, const TargetInfo &Target, in hasAttributeImpl() argument 40 StringRef ScopeName = Scope ? Scope->getName() : ""; in hasAttribute() local 41 if (ScopeName == "__gnu__") in hasAttribute() 42 ScopeName = "gnu"; in hasAttribute() 43 else if (ScopeName == "_Clang") in hasAttribute() 44 ScopeName = "clang"; in hasAttribute() 53 if (LangOpts.OpenMP && ScopeName == "omp" && in hasAttribute() 57 int res = hasAttributeImpl(Syntax, Name, ScopeName, Target, LangOpts); in hasAttribute() 87 StringRef ScopeName = Scope->getName(); in normalizeAttrScopeName() local 90 if (ScopeName == "__gnu__") in normalizeAttrScopeName() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | AttributeCommonInfo.h | 73 const IdentifierInfo *ScopeName = nullptr; variable 141 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo() argument 143 : AttrName(AttrName), ScopeName(ScopeName), AttrRange(AttrRange), in AttributeCommonInfo() 154 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo() argument 157 AttrName, ScopeName, AttrRange, ScopeLoc, in AttributeCommonInfo() 158 getParsedKind(AttrName, ScopeName, FormUsed.getSyntax()), in AttributeCommonInfo() 185 bool hasScope() const { return ScopeName; } in hasScope() 186 const IdentifierInfo *getScopeName() const { return ScopeName; } in getScopeName()
|
/freebsd/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 | 854 char *ScopeName = AcpiNsGetNormalizedPathname (DeviceNode, TRUE); in AcpiNsInitOneDevice() local 857 ScopeName)); in AcpiNsInitOneDevice() 858 ACPI_FREE (ScopeName); in AcpiNsInitOneDevice()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseDeclCXX.cpp | 4587 IdentifierInfo *ScopeName) { in IsBuiltInOrStandardCXX11Attribute() argument 4589 ParsedAttr::getParsedKind(AttrName, ScopeName, ParsedAttr::AS_CXX11)) { in IsBuiltInOrStandardCXX11Attribute() 4599 return !ScopeName && AttrName->getName() == "nodiscard"; in IsBuiltInOrStandardCXX11Attribute() 4601 return !ScopeName && AttrName->getName() == "maybe_unused"; in IsBuiltInOrStandardCXX11Attribute() 4679 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseCXX11AttributeArgs() argument 4689 if (hasAttribute(AttributeCommonInfo::Syntax::AS_Microsoft, ScopeName, in ParseCXX11AttributeArgs() 4699 ScopeName, AttrName, getTargetInfo(), getLangOpts())) { in ParseCXX11AttributeArgs() 4706 if (ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__"))) { in ParseCXX11AttributeArgs() 4709 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseCXX11AttributeArgs() 4715 if (ScopeName && ScopeName->isStr("omp") && in ParseCXX11AttributeArgs() [all …]
|
H A D | ParseDecl.cpp | 414 IdentifierInfo *ScopeName, in ParseAttributeWithTypeArg() argument 433 ScopeName, ScopeLoc, T.get(), Form); in ParseAttributeWithTypeArg() 436 ScopeName, ScopeLoc, nullptr, 0, Form); in ParseAttributeWithTypeArg() 521 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseAttributeArgsCommon() argument 541 ParsedAttr::getParsedKind(AttrName, ScopeName, Form.getSyntax()); in ParseAttributeArgsCommon() 654 ScopeName, ScopeLoc, TheParsedType, Form); in ParseAttributeArgsCommon() 656 Attrs.addNew(AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc, in ParseAttributeArgsCommon() 671 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseGNUAttributeArgs() argument 677 ParsedAttr::getParsedKind(AttrName, ScopeName, Form.getSyntax()); in ParseGNUAttributeArgs() 680 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 2890 IdentifierInfo *ScopeName, SourceLocation ScopeLoc, 2951 IdentifierInfo *ScopeName, SourceLocation ScopeLoc, 2958 IdentifierInfo *ScopeName, SourceLocation ScopeLoc, 3006 IdentifierInfo *ScopeName, 3086 IdentifierInfo *ScopeName, 3097 IdentifierInfo *ScopeName, 3105 IdentifierInfo *ScopeName, 3113 IdentifierInfo *ScopeName, 3121 IdentifierInfo *ScopeName, 3128 IdentifierInfo *ScopeName, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
H A D | LVScope.cpp | 593 std::string ScopeName(getName()); in doPrint() 595 getReaderSplitContext().open(ScopeName, ".txt", OS)) in doPrint() 597 ScopeName.c_str()); in doPrint() 2075 std::string ScopeName(Scope->getName()); in doPrintMatches() 2077 getReaderSplitContext().open(ScopeName, ".txt", OS)) in doPrintMatches() 2079 ScopeName.c_str()); in doPrintMatches() 601 std::string ScopeName(getName()); doPrint() local 2083 std::string ScopeName(Scope->getName()); doPrintMatches() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CloneFunction.cpp | 1123 auto ScopeName = SNANode.getName(); in cloneNoAliasScopes() local 1124 if (!ScopeName.empty()) in cloneNoAliasScopes() 1125 Name = (Twine(ScopeName) + ":" + Ext).str(); in cloneNoAliasScopes()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | CodeViewDebug.cpp | 261 StringRef ScopeName = Scope->getName(); in getPrettyScopeName() 262 if (!ScopeName.empty()) in getPrettyScopeName() 263 return ScopeName; in getPrettyScopeName() 291 StringRef ScopeName = getPrettyScopeName(Scope); in collectParentScopeNames() 292 if (!ScopeName.empty()) in collectParentScopeNames() 293 QualifiedNameComponents.push_back(ScopeName); in collectParentScopeNames() 361 std::string ScopeName = getFullyQualifiedName(Scope); in getScopeIndex() 362 StringIdRecord SID(TypeIndex(), ScopeName); 257 StringRef ScopeName = Scope->getName(); getPrettyScopeName() local 287 StringRef ScopeName = getPrettyScopeName(Scope); collectParentScopeNames() local 357 std::string ScopeName = getFullyQualifiedName(Scope); getScopeIndex() local
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 3135 IdentifierInfo *ScopeName = Record.readIdentifier(); in readAttr() local 3146 AttributeCommonInfo Info(AttrName, ScopeName, AttrRange, ScopeLoc, in readAttr()
|