Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
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 …]
DTree.h97 NodeRole getRole() const { return static_cast<NodeRole>(Role); } in getRole()
151 unsigned Role : 8; variable
248 void appendChildLowLevel(Node *Child, NodeRole Role);
250 void prependChildLowLevel(Node *Child, NodeRole Role);
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-12-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/
DMutations.cpp31 static void addAfter(syntax::Node *Anchor, syntax::Node *New, NodeRole Role) { in addAfter() argument
38 assert(Role != NodeRole::Detached); in addAfter()
40 New->setRole(Role); in addAfter()
58 New->Role = Old->Role; in replace()
DTree.cpp57 Kind(static_cast<unsigned>(Kind)), Role(0), Original(false), in Node()
67 this->Role = static_cast<unsigned>(NR); in setRole()
70 void syntax::Tree::appendChildLowLevel(Node *Child, NodeRole Role) { in appendChildLowLevel() argument
72 assert(Role != NodeRole::Detached); in appendChildLowLevel()
74 Child->setRole(Role); in appendChildLowLevel()
94 void syntax::Tree::prependChildLowLevel(Node *Child, NodeRole Role) { in prependChildLowLevel() argument
96 assert(Role != NodeRole::Detached); in prependChildLowLevel()
98 Child->setRole(Role); in prependChildLowLevel()
DBuildTree.cpp420 void markStmtChild(Stmt *Child, NodeRole Role);
423 void markExprChild(Expr *Child, NodeRole Role);
581 void assignRole(ArrayRef<syntax::Token> Range, syntax::NodeRole Role) { in assignRole()
591 It->second->setRole(Role); in assignRole()
608 auto Role = KV.second->getRole(); in shrinkToFitList() local
609 return Role == syntax::NodeRole::ListElement || in shrinkToFitList()
610 Role == syntax::NodeRole::ListDelimiter; in shrinkToFitList()
1683 void syntax::TreeBuilder::markChildToken(SourceLocation Loc, NodeRole Role) { in markChildToken() argument
1686 Pending.assignRole(*findToken(Loc), Role); in markChildToken()
1711 void syntax::TreeBuilder::markStmtChild(Stmt *Child, NodeRole Role) { in markStmtChild() argument
[all …]
/freebsd-12-stable/contrib/libxo/doc/
Dfield-roles.rst46 The Color Role ({C:})
126 The Decoration Role ({D:})
139 The Gettext Role ({G:})
174 The Label Role ({L:})
184 The Note Role ({N:})
194 The Padding Role ({P:})
209 The Title Role ({T:})
234 The Units Role ({U:})
259 The Value Role ({V:} and {:})
Dlibxo.txt505 **** The Color Role ({C:}) @color-role@
581 **** The Decoration Role ({D:})
590 **** The Gettext Role ({G:}) @gettext-role@
621 **** The Label Role ({L:})
627 **** The Note Role ({N:})
633 **** The Padding Role ({P:}) @padding-role@
644 **** The Title Role ({T:})
664 **** The Units Role ({U:})
685 **** The Value Role ({V:} and {:})
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Lex/
DModuleMap.h151 static Module::HeaderKind headerRoleToKind(ModuleHeaderRole Role);
160 KnownHeader(Module *M, ModuleHeaderRole Role) : Storage(M, Role) {} in KnownHeader() argument
664 ModuleHeaderRole Role, bool Imported = false);
DHeaderSearch.h473 ModuleMap::ModuleHeaderRole Role,
/freebsd-12-stable/contrib/llvm-project/clang/lib/Index/
DIndexSymbol.cpp414 #define APPLY_FOR_ROLE(Role) \ in applyForEachSymbolRoleInterruptible() argument
415 if (Roles & (unsigned)SymbolRole::Role) \ in applyForEachSymbolRoleInterruptible()
416 if (!Fn(SymbolRole::Role)) \ in applyForEachSymbolRoleInterruptible()
456 applyForEachSymbolRole(Roles, [&](SymbolRole Role) { in printSymbolRoles() argument
461 switch (Role) { in printSymbolRoles()
DIndexingAction.cpp226 auto Role = DirectiveKind == MacroDirective::MD_Define in indexPreprocessorMacro() local
229 DataConsumer.handleMacroOccurrence(II, MI, static_cast<unsigned>(Role), Loc); in indexPreprocessorMacro()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Lex/
DModuleMap.cpp76 Module::HeaderKind ModuleMap::headerRoleToKind(ModuleHeaderRole Role) { in headerRoleToKind() argument
77 switch ((int)Role) { in headerRoleToKind()
308 auto Role = headerKindToRole(Header.Kind); in resolveAsBuiltinHeader() local
310 addHeader(Mod, H, Role); in resolveAsBuiltinHeader()
1214 ModuleHeaderRole Role, bool Imported) { in addHeader() argument
1215 KnownHeader KH(Mod, Role); in addHeader()
1226 Mod->Headers[headerRoleToKind(Role)].push_back(Header); in addHeader()
1233 HeaderInfo.MarkFileModuleHeader(Header.Entry, Role, in addHeader()
2281 ModuleMap::ModuleHeaderRole Role = ModuleMap::NormalHeader; in parseHeaderDecl() local
2283 Role = ModuleMap::PrivateHeader; in parseHeaderDecl()
[all …]
DHeaderSearch.cpp1252 ModuleMap::ModuleHeaderRole Role, in MarkFileModuleHeader() argument
1254 bool isModularHeader = !(Role & ModuleMap::TextualHeader); in MarkFileModuleHeader()
/freebsd-12-stable/contrib/llvm-project/clang/utils/TableGen/
DClangSyntaxEmitter.cpp220 llvm::StringRef Role = C->getValueAsString("role"); in EmitClangSyntaxNodeClasses() local
227 Role, Constraint.NodeType, Const); in EmitClangSyntaxNodeClasses()
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()
1690 StringRef Role, raw_ostream &OS) { in writeDiagnosticText() argument
1695 std::vector<std::string> Out = Builder.buildForDocumentation(Role, R); in writeDiagnosticText()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Format/
DFormatToken.h184 MacroExpansion(MacroRole Role) : Role(Role) {} in MacroExpansion()
192 MacroRole Role; member
233 std::shared_ptr<TokenRole> Role; member
DTokenAnnotator.h80 Current->Role.reset(); in ~AnnotatedLine()
DTokenAnnotator.cpp834 if (!Left->Role) in updateParameterCount()
835 Left->Role.reset(new CommaSeparatedList(Style)); in updateParameterCount()
836 Left->Role->CommaFound(Current); in updateParameterCount()
1420 CurrentToken->Role.reset(); in resetTokenMetadata()
2641 if (Current->Role) in calculateFormattingInformation()
2642 Current->Role->precomputeFormattingInfos(Current); in calculateFormattingInformation()
3923 if (!Left.Role) in mustBreakBefore()
3925 auto Comma = Left.Role->lastComma(); in mustBreakBefore()
DContinuationIndenter.cpp1309 if (Current.Role) in moveStateToNextToken()
1310 Current.Role->formatFromToken(State, this, DryRun); in moveStateToNextToken()
1316 if (Previous && Previous->Role) in moveStateToNextToken()
1317 Penalty += Previous->Role->formatAfterToken(State, this, DryRun); in moveStateToNextToken()
/freebsd-12-stable/share/misc/
Dbsd-family-tree888 Michael G. Brown. The Role of BSD in the Development of Unix.
/freebsd-12-stable/sys/dev/pms/RefTisa/sallsdk/spc/
Dsampirsp.c7552 bit8 option, Role = 0; in mpiGetOperatorRsp() local
7595 Role = IDstr[0] & 0xFF; in mpiGetOperatorRsp()
7610 SA_DBG1(("mpiGetOperatorRsp:status 0x%x option 0x%x Role 0x%x\n",status,option,Role )); in mpiGetOperatorRsp()
7612 ossaGetOperatorCB(agRoot,agContext,status,option,NumOperators ,Role,IDString ); in mpiGetOperatorRsp()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/
DASTWriter.cpp1726 auto EmitModule = [&](Module *M, ModuleMap::ModuleHeaderRole Role) { in EmitData() argument
1728 uint32_t Value = (ModID << 2) | (unsigned)Role; in EmitData()