Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DAttributes.cpp45 StringRef ScopeName, const TargetInfo &Target, in hasAttributeImpl() argument
51 int clang::hasAttribute(AttributeCommonInfo::Syntax Syntax, StringRef ScopeName, in hasAttribute() argument
54 ScopeName = canonicalizeScopeName(ScopeName); in hasAttribute()
64 if (LangOpts.OpenMP && ScopeName == "omp" && in hasAttribute()
68 int res = hasAttributeImpl(Syntax, Name, ScopeName, Target, LangOpts); in hasAttribute()
108 normalizeAttrScopeName(StringRef ScopeName, in normalizeAttrScopeName() argument
112 return canonicalizeScopeName(ScopeName); in normalizeAttrScopeName()
114 return ScopeName; in normalizeAttrScopeName()
118 normalizeAttrScopeName(const IdentifierInfo *ScopeName, in normalizeAttrScopeName() argument
120 if (ScopeName) in normalizeAttrScopeName()
[all …]
/freebsd/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/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafety.h248 Name ScopeName, StringRef Kind, in handleUnmatchedUnderlyingMutexes() argument
259 Name ScopeName, StringRef Kind, in handleExpectMoreUnderlyingMutexes() argument
270 Name ScopeName, in handleExpectFewerUnderlyingMutexes() argument
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttributeCommonInfo.h208 std::string getNormalizedFullName(StringRef ScopeName,
211 StringRef getNormalizedAttrName(StringRef ScopeName) const;
213 std::optional<StringRef> tryGetCorrectedScopeName(StringRef ScopeName) const;
215 tryGetCorrectedAttrName(StringRef ScopeName, StringRef AttrName,
H A DAttributes.h22 int hasAttribute(AttributeCommonInfo::Syntax Syntax, llvm::StringRef ScopeName,
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp284 IdentifierInfo *ScopeName) { in attributeHasIdentifierArg() argument
296 IdentifierInfo *ScopeName) { in attributeStringLiteralListArg() argument
307 IdentifierInfo *ScopeName) { in attributeHasVariadicIdentifierArg() argument
318 IdentifierInfo *ScopeName) { in attributeTreatsKeywordThisAsIdentifier() argument
329 IdentifierInfo *ScopeName) { in attributeAcceptsExprPack() argument
340 IdentifierInfo *ScopeName) { in attributeIsTypeArgAttr() argument
351 IdentifierInfo *ScopeName) { in attributeHasStrictIdentifierArgs() argument
363 IdentifierInfo *ScopeName) { in attributeParsedArgsUnevaluated() argument
382 IdentifierInfo *ScopeName, in ParseAttributeWithTypeArg() argument
401 AttributeScopeInfo(ScopeName, ScopeLoc), T.get(), Form); in ParseAttributeWithTypeArg()
[all …]
H A DParseDeclCXX.cpp4433 IdentifierInfo *ScopeName) { in IsBuiltInOrStandardCXX11Attribute() argument
4435 ParsedAttr::getParsedKind(AttrName, ScopeName, ParsedAttr::AS_CXX11)) { in IsBuiltInOrStandardCXX11Attribute()
4445 return !ScopeName && AttrName->getName() == "nodiscard"; in IsBuiltInOrStandardCXX11Attribute()
4447 return !ScopeName && AttrName->getName() == "maybe_unused"; in IsBuiltInOrStandardCXX11Attribute()
4455 SourceLocation AttrNameLoc, IdentifierInfo *ScopeName, in ParseCXXAssumeAttributeArg() argument
4498 AttributeScopeInfo(ScopeName, ScopeLoc), &Assumption, 1, Form); in ParseCXXAssumeAttributeArg()
4508 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseCXX11AttributeArgs() argument
4518 if (hasAttribute(AttributeCommonInfo::Syntax::AS_Microsoft, ScopeName, in ParseCXX11AttributeArgs()
4528 ScopeName, AttrName, getTargetInfo(), getLangOpts())) { in ParseCXX11AttributeArgs()
4535 if (ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__"))) { in ParseCXX11AttributeArgs()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DSymbolDumper.cpp592 llvm::StringRef ScopeName; in visitKnownRecord() local
595 ScopeName = "Callees"; in visitKnownRecord()
598 ScopeName = "Callers"; in visitKnownRecord()
601 ScopeName = "Inlinees"; in visitKnownRecord()
607 ListScope S(W, ScopeName); in visitKnownRecord()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h2132 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2261 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2268 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2375 IdentifierInfo *ScopeName,
2399 IdentifierInfo *ScopeName,
2420 IdentifierInfo *ScopeName,
2428 IdentifierInfo *ScopeName,
2436 IdentifierInfo *ScopeName,
2443 IdentifierInfo *ScopeName,
2455 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp600 std::string ScopeName(getName()); in doPrint() local
602 getReaderSplitContext().open(ScopeName, ".txt", OS)) in doPrint()
604 ScopeName.c_str()); in doPrint()
2105 std::string ScopeName(Scope->getName()); in doPrintMatches() local
2107 getReaderSplitContext().open(ScopeName, ".txt", OS)) in doPrintMatches()
2109 ScopeName.c_str()); in doPrintMatches()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp1180 auto ScopeName = SNANode.getName(); in cloneNoAliasScopes() local
1181 if (!ScopeName.empty()) in cloneNoAliasScopes()
1182 Name = (Twine(ScopeName) + ":" + Ext).str(); in cloneNoAliasScopes()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp263 StringRef ScopeName = Scope->getName(); in getPrettyScopeName() local
264 if (!ScopeName.empty()) in getPrettyScopeName()
265 return ScopeName; in getPrettyScopeName()
293 StringRef ScopeName = getPrettyScopeName(Scope); in collectParentScopeNames() local
294 if (!ScopeName.empty()) in collectParentScopeNames()
295 QualifiedNameComponents.push_back(ScopeName); in collectParentScopeNames()
363 std::string ScopeName = getFullyQualifiedName(Scope); in getScopeIndex() local
364 StringIdRecord SID(TypeIndex(), ScopeName); in getScopeIndex()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp8037 StringRef ScopeName = AL.getNormalizedScopeName(); in DiagnoseUnknownAttribute() local
8039 AL.tryGetCorrectedScopeName(ScopeName); in DiagnoseUnknownAttribute()
8041 ScopeName = *CorrectedScopeName; in DiagnoseUnknownAttribute()
8044 StringRef AttrName = AL.getNormalizedAttrName(ScopeName); in DiagnoseUnknownAttribute()
8046 ScopeName, AttrName, Context.getTargetInfo(), getLangOpts()); in DiagnoseUnknownAttribute()
8053 AL.getNormalizedFullName(ScopeName, AttrName); in DiagnoseUnknownAttribute()
8065 ScopeName); in DiagnoseUnknownAttribute()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp3183 IdentifierInfo *ScopeName = Record.readIdentifier(); in readAttr() local
3194 AttributeCommonInfo Info(AttrName, AttributeScopeInfo(ScopeName, ScopeLoc), in readAttr()