Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DAttributes.cpp16 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()
27 ScopeName == "omp") in hasAttribute()
53 StringRef ScopeName = Scope->getName(); in normalizeAttrScopeName() local
56 if (ScopeName == "__gnu__") in normalizeAttrScopeName()
57 ScopeName = "gnu"; in normalizeAttrScopeName()
58 else if (ScopeName == "_Clang") in normalizeAttrScopeName()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DAttributeCommonInfo.h66 const IdentifierInfo *ScopeName = nullptr; variable
88 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo() argument
90 : AttrName(AttrName), ScopeName(ScopeName), AttrRange(AttrRange), in AttributeCommonInfo()
92 AttrKind(getParsedKind(AttrName, ScopeName, SyntaxUsed)), in AttributeCommonInfo()
96 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo() argument
98 : AttrName(AttrName), ScopeName(ScopeName), AttrRange(AttrRange), in AttributeCommonInfo()
103 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo() argument
106 : AttrName(AttrName), ScopeName(ScopeName), AttrRange(AttrRange), in AttributeCommonInfo()
112 : AttrName(AttrName), ScopeName(nullptr), AttrRange(AttrRange), in AttributeCommonInfo()
113 ScopeLoc(), AttrKind(getParsedKind(AttrName, ScopeName, SyntaxUsed)), in AttributeCommonInfo()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseDeclCXX.cpp4320 IdentifierInfo *ScopeName) { in IsBuiltInOrStandardCXX11Attribute() argument
4322 ParsedAttr::getParsedKind(AttrName, ScopeName, ParsedAttr::AS_CXX11)) { in IsBuiltInOrStandardCXX11Attribute()
4332 return !ScopeName && AttrName->getName().equals("nodiscard"); in IsBuiltInOrStandardCXX11Attribute()
4334 return !ScopeName && AttrName->getName().equals("maybe_unused"); in IsBuiltInOrStandardCXX11Attribute()
4356 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseCXX11AttributeArgs() argument
4366 if (hasAttribute(AttributeCommonInfo::Syntax::AS_Microsoft, ScopeName, in ParseCXX11AttributeArgs()
4376 ScopeName, AttrName, getTargetInfo(), getLangOpts())) { in ParseCXX11AttributeArgs()
4385 if (ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__"))) { in ParseCXX11AttributeArgs()
4388 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseCXX11AttributeArgs()
4393 if (ScopeName && ScopeName->isStr("omp")) { in ParseCXX11AttributeArgs()
[all …]
H A DParseDecl.cpp336 IdentifierInfo *ScopeName, in ParseAttributeWithTypeArg() argument
355 ScopeName, ScopeLoc, T.get(), Syntax); in ParseAttributeWithTypeArg()
358 ScopeName, ScopeLoc, nullptr, 0, Syntax); in ParseAttributeWithTypeArg()
363 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseAttributeArgsCommon() argument
383 ParsedAttr::getParsedKind(AttrName, ScopeName, Syntax); in ParseAttributeArgsCommon()
484 ScopeName, ScopeLoc, TheParsedType, Syntax); in ParseAttributeArgsCommon()
486 Attrs.addNew(AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc, in ParseAttributeArgsCommon()
501 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseGNUAttributeArgs() argument
507 ParsedAttr::getParsedKind(AttrName, ScopeName, Syntax); in ParseGNUAttributeArgs()
510 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Parse/
H A DParser.h2763 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2824 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2831 IdentifierInfo *ScopeName, SourceLocation ScopeLoc,
2880 IdentifierInfo *ScopeName,
2948 IdentifierInfo *ScopeName,
2959 IdentifierInfo *ScopeName,
2967 IdentifierInfo *ScopeName,
2975 IdentifierInfo *ScopeName,
2983 IdentifierInfo *ScopeName,
2990 IdentifierInfo *ScopeName,
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp606 std::string ScopeName(getName()); in doPrint() local
608 getReaderSplitContext().open(ScopeName, ".txt", OS)) in doPrint()
610 ScopeName.c_str()); in doPrint()
2066 std::string ScopeName(Scope->getName()); in doPrintMatches() local
2068 getReaderSplitContext().open(ScopeName, ".txt", OS)) in doPrintMatches()
2070 ScopeName.c_str()); in doPrintMatches()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp1095 auto ScopeName = SNANode.getName(); in cloneNoAliasScopes() local
1096 if (!ScopeName.empty()) in cloneNoAliasScopes()
1097 Name = (Twine(ScopeName) + ":" + Ext).str(); in cloneNoAliasScopes()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp257 StringRef ScopeName = Scope->getName(); in getPrettyScopeName() local
258 if (!ScopeName.empty()) in getPrettyScopeName()
259 return ScopeName; in getPrettyScopeName()
287 StringRef ScopeName = getPrettyScopeName(Scope); in collectParentScopeNames() local
288 if (!ScopeName.empty()) in collectParentScopeNames()
289 QualifiedNameComponents.push_back(ScopeName); in collectParentScopeNames()
357 std::string ScopeName = getFullyQualifiedName(Scope); in getScopeIndex() local
358 StringIdRecord SID(TypeIndex(), ScopeName); in getScopeIndex()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderDecl.cpp3003 IdentifierInfo *ScopeName = Record.readIdentifier(); in readAttr() local
3010 AttributeCommonInfo Info(AttrName, ScopeName, AttrRange, ScopeLoc, in readAttr()