Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DNodes.td52 Role<"OpenParen", Token<"l_paren">>,
53 Role<"SubExpression", Expression>,
54 Role<"CloseParen", Token<"r_paren">>,
102 Role<"LiteralToken", AnyStringLiteral>,
176 Role<"UnqualifiedId", UnqualifiedId>,
191 Role<"Object", Expression>,
194 Role<"Member", IdExpression>,
213 Role<"Callee", Expression>,
214 Role<"OpenParen", Token<"l_paren">>,
215 Role<"Arguments", CallArguments>,
[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;
/freebsd-14.2/contrib/llvm-project/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);
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()
1691 Pending.assignRole(*findToken(Loc), Role); in markChildToken()
1716 void syntax::TreeBuilder::markStmtChild(Stmt *Child, NodeRole Role) { in markStmtChild() argument
1732 setRole(ChildNode, Role); in markStmtChild()
1735 void syntax::TreeBuilder::markExprChild(Expr *Child, NodeRole Role) { in markExprChild() argument
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleMap.h152 static Module::HeaderKind headerRoleToKind(ModuleHeaderRole Role);
155 static bool isModular(ModuleHeaderRole Role);
164 KnownHeader(Module *M, ModuleHeaderRole Role) : Storage(M, Role) {} in KnownHeader() argument
704 ModuleHeaderRole Role, bool Imported = false);
/freebsd-14.2/contrib/libxo/doc/
H A Dfield-roles.rst48 The Color Role ({C:})
128 The Decoration Role ({D:})
141 The Gettext Role ({G:})
176 The Label Role ({L:})
191 The Note Role ({N:})
201 The Padding Role ({P:})
216 The Title Role ({T:})
241 The Units Role ({U:})
266 The Value Role ({V:} and {:})
/freebsd-14.2/sys/contrib/device-tree/Bindings/usb/
H A Drenesas,rzv2m-usb3drd.yaml14 * Role swapping function by the ID pin of the Micro-AB receptacle
30 - description: Dual Role Device (DRD)
H A Dti,hd3ss3220.yaml16 Dual Role Port (DRP) making it ideal for any application.
H A Dmediatek,musb.txt32 - usb-role-switch : use USB Role Switch to support dual-role switch, see
H A Drichtek,rt1711h.yaml25 RT1711H support PD20, RT1715 support PD30 except Fast Role Swap.
H A Dusb-drd.yaml25 Tells Dual-Role USB controllers that we want to work on a particular
H A Dgeneric.txt10 - dr_mode: tells Dual-Role USB controllers that we want to work on a
H A Dmediatek,mtu3.txt47 - usb-role-switch : use USB Role Switch to support dual-role switch, but
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/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()
393 if (Token->MacroCtx->Role == MR_Hidden) in processNextReconstructed()
H A DFormatToken.h250 MacroExpansion(MacroRole Role) : Role(Role) {} in MacroExpansion()
258 MacroRole Role; member
302 std::shared_ptr<TokenRole> Role; member
414 if (MacroCtx && MacroCtx->Role == MR_UnexpandedArg) in setType()
425 if (MacroCtx && MacroCtx->Role == MR_UnexpandedArg) in setFinalizedType()
431 if (MacroCtx && MacroCtx->Role == MR_UnexpandedArg) in overwriteFixedType()
H A DTokenAnnotator.h107 Current->Role.reset(); in ~AnnotatedLine()
H A DContinuationIndenter.cpp697 if (!PrevNonComment->Role) in addTokenOnCurrentLine()
699 auto Comma = PrevNonComment->Role->lastComma(); in addTokenOnCurrentLine()
1639 if (Current.Role) in moveStateToNextToken()
1640 Current.Role->formatFromToken(State, this, DryRun); in moveStateToNextToken()
1646 if (Previous && Previous->Role) in moveStateToNextToken()
1647 Penalty += Previous->Role->formatAfterToken(State, this, DryRun); in moveStateToNextToken()
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp77 switch ((int)Role) { in headerRoleToKind()
109 bool ModuleMap::isModular(ModuleHeaderRole Role) { in isModular() argument
352 auto Role = headerKindToRole(Header.Kind); in resolveAsBuiltinHeader() local
353 addHeader(Mod, H, Role); in resolveAsBuiltinHeader()
1285 KnownHeader KH(Mod, Role); in addHeader()
1301 HeaderInfo.MarkFileModuleHeader(Header.Entry, Role, in addHeader()
2393 Role = ModuleMap::PrivateHeader; in parseHeaderDecl()
2400 Role = ModuleMap::ExcludedHeader; in parseHeaderDecl()
2404 Role = ModuleMap::ModuleHeaderRole(Role | ModuleMap::TextualHeader); in parseHeaderDecl()
2409 Role = ModuleMap::ModuleHeaderRole(Role | ModuleMap::TextualHeader); in parseHeaderDecl()
[all …]
/freebsd-14.2/contrib/llvm-project/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,
889 S += P->Role; in VisitText()
1713 StringRef Role, raw_ostream &OS) { in writeDiagnosticText() argument
1718 std::vector<std::string> Out = Builder.buildForDocumentation(Role, R); in writeDiagnosticText()
/freebsd-14.2/sys/contrib/device-tree/Bindings/connector/
H A Dusb-connector.yaml69 support. "dual" refers to Dual Role Port (DRP).
88 Dual Role Device (DRD).
197 is applied during PD3.0 Fast Role Swap. "Table 6-14 Fixed Supply PDO - Sink"
199 different power levels and "6.4.1.3.1.6 Fast Role Swap USB Type-C Current"

12