Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Format/
H A DTokenAnnotator.h85 template <typename... Ts> bool startsWith(Ts... Tokens) const { in startsWith() function
116 return startsWith(tok::kw_namespace) || startsWith(TT_NamespaceMacro) || in startsWithNamespace()
117 startsWith(tok::kw_inline, tok::kw_namespace) || in startsWithNamespace()
118 startsWith(tok::kw_export, tok::kw_namespace); in startsWithNamespace()
H A DTokenAnnotator.cpp32 return Line.startsWith(tok::kw_for) || Line.startsWith(tok::kw_if) || in startsWithInitStatement()
33 Line.startsWith(tok::kw_switch); in startsWithInitStatement()
180 !Line.startsWith(tok::kw_template)) { in parseAngle()
1653 if (!Line.startsWith(TT_UnaryOperator)) { in modifyContext()
2698 if (Line.startsWith(TT_ObjCMethodSpecifier)) in annotate()
2700 else if (Line.startsWith(TT_ObjCDecl)) in annotate()
2702 else if (Line.startsWith(TT_ObjCProperty)) in annotate()
3140 if (Line.startsWith(TT_ObjCMethodSpecifier)) in splitPenalty()
4141 Line.startsWith(tok::hash)) { in spaceRequiredBefore()
4237 (Line.startsWith(tok::kw_enum) || in mustBreakBefore()
[all …]
H A DUnwrappedLineFormatter.cpp25 return Line.startsWith(tok::kw_extern) && Next && Next->isStringLiteral() && in startsExternCBlock()
176 if (!Line->startsWith(tok::r_brace)) in getMatchingNamespaceToken()
622 if (I + 2 != E && Line.startsWith(tok::kw_if) && in tryMergeSimpleControlStatement()
1303 PreviousLine && PreviousLine->startsWith(tok::r_brace); in format()
1307 !TheLine.startsWith(tok::r_brace)); in format()
1428 PreviousLine->startsWith(tok::l_brace)) && in formatFirstToken()
H A DUsingDeclarationsSorter.cpp193 if (Line->InPPDirective || !Line->startsWith(tok::kw_using) || in analyze()
H A DNamespaceEndCommentsFixer.cpp250 if (!Line->Affected || Line->InPPDirective || !Line->startsWith(tok::r_brace)) in getNamespaceToken()
H A DFormat.cpp2297 if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) { in checkEmptyNamespace()
2305 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace)) in checkEmptyNamespace()
H A DContinuationIndenter.cpp415 State.Line->startsWith(TT_ObjCMethodSpecifier)) { in mustBreak()
/llvm-project-15.0.7/llvm/include/llvm/Demangle/
H A DStringView.h86 if (!startsWith(C)) in consumeFront()
93 if (!startsWith(S)) in consumeFront()
99 bool startsWith(char C) const { return !empty() && *begin() == C; } in startsWith() function
101 bool startsWith(StringView Str) const { in startsWith() function
H A DItaniumDemangle.h1569 assert(SV.startsWith("basic_")); in getBaseName()
2465 if (StringView(First, Last).startsWith(S)) { in consumeIf()
2617 assert(Res.startsWith("operator") && in getSymbol()
2923 if (Name.startsWith("_GLOBAL__N")) in parseSourceName()
3685 if (Qual.startsWith("objcproto")) { in parseQualifiedType()
/llvm-project-15.0.7/libcxxabi/src/demangle/
H A DStringView.h86 if (!startsWith(C)) in consumeFront()
93 if (!startsWith(S)) in consumeFront()
99 bool startsWith(char C) const { return !empty() && *begin() == C; } in startsWith() function
101 bool startsWith(StringView Str) const { in startsWith() function
H A DItaniumDemangle.h1569 assert(SV.startsWith("basic_")); in getBaseName()
2465 if (StringView(First, Last).startsWith(S)) { in consumeIf()
2617 assert(Res.startsWith("operator") && in getSymbol()
2923 if (Name.startsWith("_GLOBAL__N")) in parseSourceName()
3685 if (Qual.startsWith("objcproto")) { in parseQualifiedType()
/llvm-project-15.0.7/llvm/lib/Demangle/
H A DMicrosoftDemangle.cpp195 if (S.startsWith("$$Q")) // foo && in isPointerType()
212 return S.startsWith("$$A8@@") || S.startsWith("$$A6"); in isFunctionType()
803 if (MangledName.startsWith('.')) in parse()
1036 if (!MangledName.startsWith('?')) in demangleCharLiteral()
1520 if (MangledName.startsWith("?$")) in demangleUnqualifiedTypeName()
1531 if (MangledName.startsWith("?$")) in demangleUnqualifiedSymbolName()
1533 if (MangledName.startsWith('?')) in demangleUnqualifiedSymbolName()
1542 if (MangledName.startsWith("?$")) in demangleNameScopePiece()
2211 } else if (MangledName.startsWith("$1") || MangledName.startsWith("$H") || in demangleTemplateParameterList()
2212 MangledName.startsWith("$I") || MangledName.startsWith("$J")) { in demangleTemplateParameterList()
[all …]
H A DRustDemangle.cpp156 if (!Mangled.startsWith("_R")) in rustDemangle()
/llvm-project-15.0.7/.github/workflows/
H A Dllvm-project-tests.yml26 cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
45 if: startsWith(matrix.os, 'windows')
89 if: "!startsWith(matrix.os, 'windows') && contains(inputs.projects, 'libclc')"
H A Dlld-tests.yml28 cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
H A Dclang-tests.yml28 cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
H A Dlibclc-tests.yml30 cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
H A Dlldb-tests.yml30 cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
H A Dlibclang-abi-tests.yml24 cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
H A Dllvm-tests.yml26 cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
/llvm-project-15.0.7/llvm/lib/Support/
H A DUnicodeNameToCodepoint.cpp120 static bool startsWith(StringRef Name, StringRef Needle, bool Strict, in startsWith() function
186 N.IsRoot || startsWith(Name, N.Name, Strict, Consummed, in compareNode()
274 bool DoesStartWith = startsWith(Name, Syllable, Strict, Consummed, in findSyllable()
294 bool DoesStartWith = startsWith(Name, "HANGUL SYLLABLE ", Strict, Consummed, in nameToHangulCodePoint()
353 bool DoesStartWith = startsWith(Name, Item.Prefix, Strict, Consummed, in nameToGeneratedCodePoint()
/llvm-project-15.0.7/clang-tools-extra/pseudo/tool/
H A DHTMLForest.js157 if (!(match.startsWith('[') && match.endsWith(']')) /*annotations*/
/llvm-project-15.0.7/libc/test/src/__support/CPP/
H A Dstringview_test.cpp50 TEST(LlvmLibcStringViewTest, startsWith) { in TEST() argument