| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | Attributes.cpp | 18 if (ScopeName == "__gnu__") in hasAttribute() 19 ScopeName = "gnu"; in hasAttribute() 20 else if (ScopeName == "_Clang") in hasAttribute() 21 ScopeName = "clang"; in hasAttribute() 28 ScopeName == "omp") in hasAttribute() 58 ScopeName = "gnu"; in normalizeAttrScopeName() 60 ScopeName = "clang"; in normalizeAttrScopeName() 62 return ScopeName; in normalizeAttrScopeName() 85 return ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__")); in isGNUScope() 89 return ScopeName && (ScopeName->isStr("clang") || ScopeName->isStr("_Clang")); in isClangScope() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | AttributeCommonInfo.h | 66 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() 136 bool hasScope() const { return ScopeName; } in hasScope() [all …]
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseDeclCXX.cpp | 4240 return !ScopeName && AttrName->getName().equals("nodiscard"); in IsBuiltInOrStandardCXX11Attribute() 4293 if (ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__"))) { in ParseCXX11AttributeArgs() 4301 if (ScopeName && ScopeName->isStr("omp")) { in ParseCXX11AttributeArgs() 4315 if (ScopeName && (ScopeName->isStr("clang") || ScopeName->isStr("_Clang"))) in ParseCXX11AttributeArgs() 4317 ScopeName, ScopeLoc, Syntax); in ParseCXX11AttributeArgs() 4323 IsBuiltInOrStandardCXX11Attribute(AttrName, ScopeName)) { in ParseCXX11AttributeArgs() 4427 IdentifierInfo *ScopeName = nullptr, *AttrName = nullptr; in ParseCXX11AttributeSpecifierInternal() local 4437 ScopeName = AttrName; in ParseCXX11AttributeSpecifierInternal() 4450 if (ScopeName) { in ParseCXX11AttributeSpecifierInternal() 4454 ScopeName = CommonScopeName; in ParseCXX11AttributeSpecifierInternal() [all …]
|
| H A D | ParseDecl.cpp | 336 IdentifierInfo *ScopeName, in ParseAttributeWithTypeArg() argument 355 ScopeName, ScopeLoc, T.get(), Syntax); in ParseAttributeWithTypeArg() 358 ScopeName, ScopeLoc, nullptr, 0, Syntax); in ParseAttributeWithTypeArg() 383 ParsedAttr::getParsedKind(AttrName, ScopeName, Syntax); in ParseAttributeArgsCommon() 509 ParsedAttr::getParsedKind(AttrName, ScopeName, Syntax); in ParseGNUAttributeArgs() 521 ScopeName, ScopeLoc, Syntax); in ParseGNUAttributeArgs() 529 ScopeName, ScopeLoc, Syntax); in ParseGNUAttributeArgs() 563 ParsedAttr::getParsedKind(AttrName, ScopeName, Syntax); in ParseClangAttributeArgs() 568 ScopeName, ScopeLoc, Syntax); in ParseClangAttributeArgs() 579 ScopeName, ScopeLoc, Syntax); in ParseClangAttributeArgs() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Parse/ |
| H A D | Parser.h | 2687 IdentifierInfo *ScopeName, SourceLocation ScopeLoc, 2748 IdentifierInfo *ScopeName, SourceLocation ScopeLoc, 2755 IdentifierInfo *ScopeName, SourceLocation ScopeLoc, 2804 IdentifierInfo *ScopeName, 2858 IdentifierInfo *ScopeName, 2869 IdentifierInfo *ScopeName, 2877 IdentifierInfo *ScopeName, 2885 IdentifierInfo *ScopeName, 2893 IdentifierInfo *ScopeName, 2900 IdentifierInfo *ScopeName,
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CloneFunction.cpp | 1049 auto ScopeName = SNANode.getName(); in cloneNoAliasScopes() local 1050 if (!ScopeName.empty()) in cloneNoAliasScopes() 1051 Name = (Twine(ScopeName) + ":" + Ext).str(); in cloneNoAliasScopes()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 259 StringRef ScopeName = Scope->getName(); in getPrettyScopeName() local 260 if (!ScopeName.empty()) in getPrettyScopeName() 261 return ScopeName; in getPrettyScopeName() 289 StringRef ScopeName = getPrettyScopeName(Scope); in collectParentScopeNames() local 290 if (!ScopeName.empty()) in collectParentScopeNames() 291 QualifiedNameComponents.push_back(ScopeName); in collectParentScopeNames() 359 std::string ScopeName = getFullyQualifiedName(Scope); in getScopeIndex() local 360 StringIdRecord SID(TypeIndex(), ScopeName); in getScopeIndex()
|
| /llvm-project-15.0.7/flang/include/flang/Semantics/ |
| H A D | symbol.h | 364 ENUM_CLASS(Kind, None, ConstructName, ScopeName, PassName, ComplexPartRe,
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 2909 IdentifierInfo *ScopeName = Record.readIdentifier(); in readAttr() local 2916 AttributeCommonInfo Info(AttrName, ScopeName, AttrRange, ScopeLoc, in readAttr()
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | resolve-names.cpp | 2227 newSymbol.set_details(MiscDetails{MiscDetails::Kind::ScopeName}); in PushScope() 3728 MiscDetails{MiscDetails::Kind::ScopeName})); in PushSubprogramScope()
|