Home
last modified time | relevance | path

Searched refs:Role (Results 1 – 25 of 30) sorted by relevance

12

/openbsd-src/gnu/llvm/clang/include/clang/Tooling/Syntax/
H A DNodes.td52 Role<"OpenParen", Token<"l_paren">>,
53 Role<"SubExpression", Expression>,
54 Role<"CloseParen", Token<"r_paren">>,
67 Role<"LiteralToken", Token<"numeric_constant">>,
79 Role<"LiteralToken", AnyCharacterLiteral>,
87 Role<"LiteralToken", Token<"numeric_constant">>,
102 Role<"LiteralToken", AnyStringLiteral>,
110 Role<"LiteralToken", AnyToken<["kw_false","kw_true"]>>,
118 Role<"LiteralToken", Keyword<"nullptr">>,
136 Role<"LiteralToken", Keyword<"numeric_constant">>,
[all …]
H A DTree.h71 NodeRole getRole() const { return static_cast<NodeRole>(Role); } in getRole()
125 unsigned Role : 8; variable
226 void appendChildLowLevel(Node *Child, NodeRole Role);
228 void prependChildLowLevel(Node *Child, NodeRole Role);
H A DSyntax.td14 // The concrete node defines a Role sequence which identifies the children.
66 class Role<string role_, Syntax syntax_> {
81 // Children must be Role or have a default role derived from the NodeType.
82 list<Role> children;
/openbsd-src/gnu/llvm/clang/lib/Tooling/Syntax/
H A DMutations.cpp30 static void addAfter(syntax::Node *Anchor, syntax::Node *New, NodeRole Role) { in addAfter() argument
37 assert(Role != NodeRole::Detached); in addAfter()
39 New->setRole(Role); in addAfter()
57 New->Role = Old->Role; in replace()
H A DTree.cpp39 Kind(static_cast<unsigned>(Kind)), Role(0), Original(false), in Node()
49 this->Role = static_cast<unsigned>(NR); in setRole()
52 void syntax::Tree::appendChildLowLevel(Node *Child, NodeRole Role) { in appendChildLowLevel() argument
54 assert(Role != NodeRole::Detached); in appendChildLowLevel()
56 Child->setRole(Role); in appendChildLowLevel()
76 void syntax::Tree::prependChildLowLevel(Node *Child, NodeRole Role) { in prependChildLowLevel() argument
78 assert(Role != NodeRole::Detached); in prependChildLowLevel()
80 Child->setRole(Role); in prependChildLowLevel()
H A DBuildTree.cpp423 void markStmtChild(Stmt *Child, NodeRole Role);
426 void markExprChild(Expr *Child, NodeRole Role);
585 void assignRole(ArrayRef<syntax::Token> Range, syntax::NodeRole Role) { in assignRole()
595 It->second->setRole(Role); in assignRole()
612 auto Role = KV.second->getRole(); in shrinkToFitList() local
613 return Role == syntax::NodeRole::ListElement || in shrinkToFitList()
614 Role == syntax::NodeRole::ListDelimiter; in shrinkToFitList()
1688 void syntax::TreeBuilder::markChildToken(SourceLocation Loc, NodeRole Role) { in markChildToken() argument
1691 Pending.assignRole(*findToken(Loc), Role); in markChildToken()
1716 void syntax::TreeBuilder::markStmtChild(Stmt *Child, NodeRole Role) { in markStmtChild() argument
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DModuleMap.h154 static Module::HeaderKind headerRoleToKind(ModuleHeaderRole Role);
157 static bool isModular(ModuleHeaderRole Role);
166 KnownHeader(Module *M, ModuleHeaderRole Role) : Storage(M, Role) {} in KnownHeader() argument
692 ModuleHeaderRole Role, bool Imported = false);
H A DHeaderSearch.h539 ModuleMap::ModuleHeaderRole Role,
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexSymbol.cpp417 #define APPLY_FOR_ROLE(Role) \ in applyForEachSymbolRoleInterruptible() argument
418 if (Roles & (unsigned)SymbolRole::Role) \ in applyForEachSymbolRoleInterruptible()
419 if (!Fn(SymbolRole::Role)) \ in applyForEachSymbolRoleInterruptible()
459 applyForEachSymbolRole(Roles, [&](SymbolRole Role) { in printSymbolRoles() argument
464 switch (Role) { in printSymbolRoles()
H A DIndexingAction.cpp226 auto Role = DirectiveKind == MacroDirective::MD_Define in indexPreprocessorMacro() local
229 DataConsumer.handleMacroOccurrence(II, MI, static_cast<unsigned>(Role), Loc); in indexPreprocessorMacro()
/openbsd-src/gnu/llvm/clang/lib/Format/
H A DMacroCallReconstructor.cpp99 (Token->MacroCtx->Role != MR_Hidden || in add()
218 if (Token->MacroCtx->Role != MR_Hidden) in reconstruct()
224 if (Token->MacroCtx->Role != MR_Hidden) { in reconstruct()
392 if (Token->MacroCtx->Role == MR_Hidden) in processNextReconstructed()
H A DTokenAnnotator.h79 Current->Role.reset(); in ~AnnotatedLine()
H A DFormatToken.h220 MacroExpansion(MacroRole Role) : Role(Role) {} in MacroExpansion()
228 MacroRole Role; member
271 std::shared_ptr<TokenRole> Role; member
H A DContinuationIndenter.cpp1481 if (Current.Role) in moveStateToNextToken()
1482 Current.Role->formatFromToken(State, this, DryRun); in moveStateToNextToken()
1488 if (Previous && Previous->Role) in moveStateToNextToken()
1489 Penalty += Previous->Role->formatAfterToken(State, this, DryRun); in moveStateToNextToken()
H A DTokenAnnotator.cpp902 if (!Left->Role) in updateParameterCount()
903 Left->Role.reset(new CommaSeparatedList(Style)); in updateParameterCount()
904 Left->Role->CommaFound(Current); in updateParameterCount()
1585 CurrentToken->Role.reset(); in resetTokenMetadata()
3071 if (Current->Role) in calculateFormattingInformation()
3072 Current->Role->precomputeFormattingInfos(Current); in calculateFormattingInformation()
4765 if (!Left.Role) in mustBreakBefore()
4767 auto Comma = Left.Role->lastComma(); in mustBreakBefore()
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DModuleMap.cpp76 Module::HeaderKind ModuleMap::headerRoleToKind(ModuleHeaderRole Role) { in headerRoleToKind() argument
77 switch ((int)Role) { in headerRoleToKind()
109 bool ModuleMap::isModular(ModuleHeaderRole Role) { in isModular() argument
110 return !(Role & (ModuleMap::TextualHeader | ModuleMap::ExcludedHeader)); in isModular()
311 auto Role = headerKindToRole(Header.Kind); in resolveAsBuiltinHeader() local
313 addHeader(Mod, H, Role); in resolveAsBuiltinHeader()
1235 ModuleHeaderRole Role, bool Imported) { in addHeader() argument
1236 KnownHeader KH(Mod, Role); in addHeader()
1246 Mod->Headers[headerRoleToKind(Role)].push_back(Header); in addHeader()
1253 HeaderInfo.MarkFileModuleHeader(Header.Entry, Role, in addHeader()
[all …]
H A DHeaderSearch.cpp1385 ModuleMap::ModuleHeaderRole Role, in MarkFileModuleHeader() argument
1387 bool isModularHeader = ModuleMap::isModular(Role); in MarkFileModuleHeader()
/openbsd-src/gnu/llvm/clang/utils/TableGen/
H A DClangSyntaxEmitter.cpp220 llvm::StringRef Role = C->getValueAsString("role"); in EmitClangSyntaxNodeClasses() local
227 Role, Constraint.NodeType, Const); in EmitClangSyntaxNodeClasses()
H A DClangDiagnosticsEmitter.cpp507 StringRef Role; member
509 TextPiece(StringRef Text, StringRef Role = "") in TextPiece()
510 : Piece(TextPieceClass), Role(Role), Text(Text.str()) {} in TextPiece()
606 std::vector<std::string> buildForDocumentation(StringRef Role,
881 S += P->Role; in VisitText()
1705 StringRef Role, raw_ostream &OS) { in writeDiagnosticText() argument
1710 std::vector<std::string> Out = Builder.buildForDocumentation(Role, R); in writeDiagnosticText()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp156 CXSymbolRole getSymbolRole(SymbolRoleSet Role) { in getSymbolRole() argument
158 return CXSymbolRole(static_cast<uint32_t>(Role) & ((1 << 9) - 1)); in getSymbolRole()
903 CXSymbolRole Role) { in handleReference() argument
940 Role }; in handleReference()
H A DCXIndexDataConsumer.h419 CXSymbolRole Role = CXSymbolRole_None);
/openbsd-src/gnu/usr.bin/perl/pod/
H A Dperlootut.pod509 use Moose::Role;
674 =head2 Role::Tiny
680 roles with L<Role::Tiny>
682 C<Role::Tiny> provides some of the same features as Moose's role
716 =item * L<Role::Tiny>
718 Use C<Role::Tiny> with C<Class::Accessor> or C<Class::Tiny> if you find
/openbsd-src/gnu/usr.bin/perl/t/porting/
H A Dknown_pod_issues.dat300 Role::Tiny
/openbsd-src/gnu/usr.bin/perl/lib/unicore/
H A DIndex.txt4167 Portrait and Role Symbols 1F464
4168 Portrait and Role Symbols 1F930
4169 Portrait and Role Symbols 1F9D0
4608 Role Symbols 1F481
4609 Role Symbols, Portrait and 1F464
4610 Role Symbols, Portrait and 1F930
4611 Role Symbols, Portrait and 1F9D0
5291 Symbols, Portrait and Role 1F464
5292 Symbols, Portrait and Role 1F930
5297 Symbols, Role 1F481
/openbsd-src/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/lib/
H A Dperlxstypemap.pod144 =head2 The Role of the typemap File in Your Distribution

12