| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | TokenAnnotator.h | 85 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 D | TokenAnnotator.cpp | 32 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 D | UnwrappedLineFormatter.cpp | 25 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 D | UsingDeclarationsSorter.cpp | 193 if (Line->InPPDirective || !Line->startsWith(tok::kw_using) || in analyze()
|
| H A D | NamespaceEndCommentsFixer.cpp | 250 if (!Line->Affected || Line->InPPDirective || !Line->startsWith(tok::r_brace)) in getNamespaceToken()
|
| H A D | Format.cpp | 2297 if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) { in checkEmptyNamespace() 2305 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace)) in checkEmptyNamespace()
|
| H A D | ContinuationIndenter.cpp | 415 State.Line->startsWith(TT_ObjCMethodSpecifier)) { in mustBreak()
|
| /llvm-project-15.0.7/llvm/include/llvm/Demangle/ |
| H A D | StringView.h | 86 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 D | ItaniumDemangle.h | 1569 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 D | StringView.h | 86 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 D | ItaniumDemangle.h | 1569 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 D | MicrosoftDemangle.cpp | 195 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 D | RustDemangle.cpp | 156 if (!Mangled.startsWith("_R")) in rustDemangle()
|
| /llvm-project-15.0.7/.github/workflows/ |
| H A D | llvm-project-tests.yml | 26 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 D | lld-tests.yml | 28 cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
|
| H A D | clang-tests.yml | 28 cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
|
| H A D | libclc-tests.yml | 30 cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
|
| H A D | lldb-tests.yml | 30 cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
|
| H A D | libclang-abi-tests.yml | 24 cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
|
| H A D | llvm-tests.yml | 26 cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | UnicodeNameToCodepoint.cpp | 120 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 D | HTMLForest.js | 157 if (!(match.startsWith('[') && match.endsWith(']')) /*annotations*/
|
| /llvm-project-15.0.7/libc/test/src/__support/CPP/ |
| H A D | stringview_test.cpp | 50 TEST(LlvmLibcStringViewTest, startsWith) { in TEST() argument
|