Home
last modified time | relevance | path

Searched refs:startsWith (Results 1 – 11 of 11) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/lib/Format/
DTokenAnnotator.h87 template <typename... Ts> bool startsWith(Ts... Tokens) const { in startsWith() function
118 return startsWith(tok::kw_namespace) || startsWith(TT_NamespaceMacro) || in startsWithNamespace()
119 startsWith(tok::kw_inline, tok::kw_namespace) || in startsWithNamespace()
120 startsWith(tok::kw_export, tok::kw_namespace); in startsWithNamespace()
DTokenAnnotator.cpp166 !Line.startsWith(tok::kw_template)) in parseAngle()
246 (Line.startsWith(Keywords.kw_type, tok::identifier) || in parseParens()
247 Line.startsWith(tok::kw_export, Keywords.kw_type, in parseParens()
556 bool InsideInlineASM = Line.startsWith(tok::kw_asm); in parseSquare()
914 Line.startsWith(TT_ObjCMethodSpecifier)) { in consumeToken()
920 Line.startsWith(TT_ObjCMethodSpecifier) && in consumeToken()
1019 !Contexts.back().IsExpression && !Line.startsWith(TT_ObjCProperty) && in consumeToken()
1136 (Contexts.size() == 1 || Line.startsWith(tok::kw_for))) { in consumeToken()
1375 if (Line.startsWith(TT_ObjCMethodSpecifier)) { in parseLine()
1497 (Line.startsWith(Keywords.kw_type, tok::identifier) || in modifyContext()
[all …]
DUnwrappedLineFormatter.cpp25 return Line.startsWith(tok::kw_extern) && Next && Next->isStringLiteral() && in startsExternCBlock()
149 if (!Line->startsWith(tok::r_brace)) in getMatchingNamespaceToken()
500 if (I + 2 != E && Line.startsWith(tok::kw_if) && in tryMergeSimpleControlStatement()
589 Line.startsWith(tok::kw_if) && in tryMergeSimpleBlock()
594 Line.startsWith(tok::kw_if) && in tryMergeSimpleBlock()
1156 PreviousLine && PreviousLine->startsWith(tok::r_brace); in format()
1160 !TheLine.startsWith(tok::r_brace)); in format()
1280 PreviousLine->startsWith(tok::l_brace)) && in formatFirstToken()
DUsingDeclarationsSorter.cpp194 !AnnotatedLines[I]->startsWith(tok::kw_using) || FirstTok->Finalized) { in analyze()
DNamespaceEndCommentsFixer.cpp173 if (!Line->Affected || Line->InPPDirective || !Line->startsWith(tok::r_brace)) in getNamespaceToken()
DFormat.cpp1947 if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) { in checkEmptyNamespace()
1955 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace)) in checkEmptyNamespace()
DContinuationIndenter.cpp399 State.Line->startsWith(TT_ObjCMethodSpecifier)) in mustBreak()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Demangle/
DStringView.h83 if (!startsWith(C)) in consumeFront()
90 if (!startsWith(S)) in consumeFront()
96 bool startsWith(char C) const { return !empty() && *begin() == C; } in startsWith() function
98 bool startsWith(StringView Str) const { in startsWith() function
DItaniumDemangle.h2436 if (StringView(First, Last).startsWith(S)) { in consumeIf()
2776 if (Name.startsWith("_GLOBAL__N")) in parseSourceName()
3687 if (Qual.startsWith("objcproto")) { in parseQualifiedType()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Demangle/
DMicrosoftDemangle.cpp195 if (S.startsWith("$$Q")) // foo && in isPointerType()
212 return S.startsWith("$$A8@@") || S.startsWith("$$A6"); in isFunctionType()
485 assert(MangledName.startsWith('?')); in demangleFunctionIdentifierCode()
755 assert(MangledName.startsWith("??@")); in demangleMD5Name()
787 assert(MangledName.startsWith('.')); in demangleTypeinfoName()
803 if (MangledName.startsWith('.')) in parse()
806 if (MangledName.startsWith("??@")) in parse()
810 if (!MangledName.startsWith('?')) { in parse()
984 assert(MangledName.startsWith("?$")); in demangleTemplateInstantiationName()
1035 if (!MangledName.startsWith('?')) in demangleCharLiteral()
[all …]
DRustDemangle.cpp159 if (!Mangled.startsWith("_R")) { in rustDemangle()