Home
last modified time | relevance | path

Searched refs:Line (Results 1 – 25 of 550) sorted by relevance

12345678910>>...22

/llvm-project-15.0.7/llvm/lib/DebugInfo/Symbolize/
H A DMarkup.cpp42 this->Line = Line; in parseLine()
56 if (Line.empty()) in nextNode()
72 Line = Line.drop_front(Line.size()); in nextNode()
92 Line = Line.drop_front(Line.size()); in nextNode()
97 parseTextOutsideMarkup(Line); in nextNode()
98 Line = Line.drop_front(Line.size()); in nextNode()
105 Line = {}; in flush()
126 Line = Line.substr(EndPos); in parseElement()
192 return Line.substr(BeginPos); in parseMultiLineBegin()
198 size_t EndPos = Line.find("}}}"); in parseMultiLineEnd()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Breakpad/
H A DBreakpadRecords.cpp186 std::tie(Str, Line) = getToken(Line); in parse()
210 std::tie(Str, Line) = getToken(Line); in parse()
235 std::tie(Str, Line) = getToken(Line); in parseNumberName()
280 std::tie(Str, Line) = getToken(Line); in parsePublicOrFunc()
294 std::tie(Str, Line) = getToken(Line); in parsePublicOrFunc()
382 std::tie(Str, Line) = getToken(Line); in parse()
387 std::tie(Str, Line) = getToken(Line); in parse()
392 std::tie(Str, Line) = getToken(Line); in parse()
397 std::tie(Str, Line) = getToken(Line); in parse()
448 std::tie(Str, Line) = getToken(Line); in parse()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-rc/
H A DResourceScriptCppFilter.cpp31 bool parseLine(StringRef Line);
51 if (parseLine(Line)) in run()
52 Output.push_back(Line); in run()
59 Line = Line.ltrim(); in parseLine()
61 if (!Line.consume_front("#")) { in parseLine()
69 Line.consume_front("line"); in parseLine()
70 if (!Line.startswith(" ")) in parseLine()
76 Line = in parseLine()
83 Line = Line.ltrim(); in parseLine()
85 if (!Line.consume_front("\"")) in parseLine()
[all …]
/llvm-project-15.0.7/clang/lib/Format/
H A DAffectedRangeManager.cpp29 AnnotatedLine *Line = *I; in computeAffectedLines() local
30 assert(Line->First); in computeAffectedLines()
31 Line->LeadingEmptyLinesAffected = affectsLeadingEmptyLines(*Line->First); in computeAffectedLines()
35 if (Line->InPPDirective) { in computeAffectedLines()
36 FormatToken *Last = Line->Last; in computeAffectedLines()
55 PreviousLine = Line; in computeAffectedLines()
105 Line->ChildrenAffected = computeAffectedLines(Line->Children); in nonPPLineAffected()
106 if (Line->ChildrenAffected) in nonPPLineAffected()
119 assert(Line->First); in nonPPLineAffected()
138 Line->First->is(tok::comment) && Line->First->Next == nullptr && in nonPPLineAffected()
[all …]
H A DTokenAnnotator.h38 AnnotatedLine(const UnwrappedLine &Line) in AnnotatedLine() argument
39 : First(Line.Tokens.front().Tok), Level(Line.Level), in AnnotatedLine()
42 InPPDirective(Line.InPPDirective), in AnnotatedLine()
46 FirstStartColumn(Line.FirstStartColumn) { in AnnotatedLine()
47 assert(!Line.Tokens.empty()); in AnnotatedLine()
166 void annotate(AnnotatedLine &Line) const;
179 bool spaceRequiredBefore(const AnnotatedLine &Line,
182 bool mustBreakBefore(const AnnotatedLine &Line,
185 bool canBreakBefore(const AnnotatedLine &Line,
188 bool mustBreakForReturnType(const AnnotatedLine &Line) const;
[all …]
H A DUnwrappedLineFormatter.cpp93 if ((!Line.First->is(tok::comment) || IndentForLevel[Line.Level] == -1) && in adjustToUnmodifiedLine()
331 if (!Line) in tryFitMultipleLinesInOne()
605 if (!Line.First->is(tok::kw_do) && !Line.First->is(tok::kw_else) && in tryMergeSimpleControlStatement()
606 !Line.Last->is(tok::kw_else) && Line.Last->isNot(tok::r_paren)) { in tryMergeSimpleControlStatement()
610 if (Line.First->is(tok::kw_do) && !Line.Last->is(tok::kw_do)) in tryMergeSimpleControlStatement()
663 Line = *J; in tryMergeShortCaseLabels()
668 if (Line->First->isNot(tok::comment) || Level != Line->Level) in tryMergeShortCaseLabels()
703 (Line.First->Next && Line.First->Next->is(tok::kw_else))) { in tryMergeSimpleBlock()
816 if (Line.First == Line.Last && Line.First->isNot(TT_FunctionLBrace) && in tryMergeSimpleBlock()
1292 Line; PrevPrevLine = PreviousLine, PreviousLine = Line, Line = NextLine, in format()
[all …]
H A DUsingDeclarationsSorter.cpp68 const AnnotatedLine *Line; member
72 : Line(Line), Label(Label) {} in UsingDeclaration()
119 if (Declaration.Line->Affected) { in endUsingDeclarationBlock()
143 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock()
152 if ((*UsingDeclarations)[I].Line == SortedUsingDeclarations[I].Line) in endUsingDeclarationBlock()
155 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock()
157 SortedUsingDeclarations[I].Line->First->Tok.getLocation(); in endUsingDeclarationBlock()
191 for (const AnnotatedLine *Line : AnnotatedLines) { in analyze() local
192 const auto *FirstTok = Line->First; in analyze()
193 if (Line->InPPDirective || !Line->startsWith(tok::kw_using) || in analyze()
[all …]
H A DUnwrappedLineParser.cpp71 : Line(Line), Stack(Stack) { in ScopedDeclarationState()
111 : Line(Line), TokenSource(TokenSource), ResetToken(ResetToken), in ScopedMacroState()
117 Line.Level = 0; in ScopedMacroState()
364 if (Line.InPPDirective && Line.Level > 0) in parse()
586 (Line->InPPDirective && Line->Level == 1))) { in parseLevel()
1235 ++Line->Level; in parsePPDefine()
1914 auto I = Line->Tokens.begin(), E = Line->Tokens.end(); in parseStructuralElement()
2517 ++Line->Level; in parseUnbracedBody()
2536 --Line->Level; in parseUnbracedBody()
2965 if (Line->Level > 1 || (!Line->InPPDirective && Line->Level > 0)) in parseLabel()
[all …]
/llvm-project-15.0.7/libc/utils/UnitTest/
H A DLibcTest.cpp82 std::cout << File << ":" << Line << ": FAILURE\n" in explainDifference()
92 unsigned long Line) { in test() argument
229 unsigned long Line);
277 const char *File, unsigned long Line);
285 File, Line); in testStrEq()
292 File, Line); in testStrNe()
301 std::cout << File << ":" << Line << ": FAILURE\n" in testMatch()
323 std::cout << File << ":" << Line << ": FAILURE\n" in testProcessKilled()
330 std::cout << File << ":" << Line << ": FAILURE\n" in testProcessKilled()
343 std::cout << File << ":" << Line << ": FAILURE\n" in testProcessKilled()
[all …]
/llvm-project-15.0.7/llvm/test/DebugInfo/
H A Ddebuglineinfo-macho.test20 TEST_SIMPLE-NEXT: Line info @ 0: simple.c, line:1
21 TEST_SIMPLE-NEXT: Line info @ 7: simple.c, line:2
22 TEST_SIMPLE-NOT: Line info @ 11: simple.c, line:2
25 TEST_MULTIPLE-NEXT: Line info @ 0: multiple.c, line:5
26 TEST_MULTIPLE-NEXT: Line info @ 7: multiple.c, line:6
27 TEST_MULTIPLE-NEXT: Line info @ 16: multiple.c, line:9
28 TEST_MULTIPLE-NEXT: Line info @ 21: multiple.c, line:9
29 TEST_MULTIPLE-NEXT: Line info @ 26: multiple.c, line:7
33 TEST_MULTIPLE-NEXT: Line info @ 0: multiple.c, line:1
34 TEST_MULTIPLE-NEXT: Line info @ 7: multiple.c, line:2
[all …]
/llvm-project-15.0.7/lldb/source/Host/linux/
H A DHost.cpp68 llvm::StringRef Line; in GetStatusInfo() local
73 Line = Line.ltrim(); in GetStatusInfo()
75 Line.consumeInteger(10, RGid); in GetStatusInfo()
76 Line = Line.ltrim(); in GetStatusInfo()
77 Line.consumeInteger(10, EGid); in GetStatusInfo()
83 Line = Line.ltrim(); in GetStatusInfo()
85 Line.consumeInteger(10, RUid); in GetStatusInfo()
86 Line = Line.ltrim(); in GetStatusInfo()
87 Line.consumeInteger(10, EUid); in GetStatusInfo()
111 Line = Line.ltrim(); in GetStatusInfo()
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-opt-report/Inputs/
H A Ddm.yaml4 DebugLoc: { File: Inputs/dm.c, Line: 3, Column: 12 }
10 DebugLoc: { File: Inputs/dm.c, Line: 2, Column: 0 }
16 DebugLoc: { File: Inputs/dm.c, Line: 7, Column: 3 }
20 DebugLoc: { File: Inputs/dm.c, Line: 2, Column: 0 }
23 DebugLoc: { File: Inputs/dm.c, Line: 6, Column: 0 }
33 DebugLoc: { File: Inputs/dm.c, Line: 7, Column: 3 }
45 DebugLoc: { File: Inputs/dm.c, Line: 11, Column: 3 }
62 DebugLoc: { File: Inputs/dm.c, Line: 11, Column: 3 }
74 DebugLoc: { File: Inputs/dm.c, Line: 3, Column: 28 }
83 DebugLoc: { File: Inputs/dm.c, Line: 3, Column: 28 }
[all …]
H A Dor.yaml4 DebugLoc: { File: Inputs/or.c, Line: 2, Column: 14 }
15 DebugLoc: { File: Inputs/or.h, Line: 15, Column: 10 }
26 DebugLoc: { File: Inputs/or.h, Line: 13, Column: 3 }
41 DebugLoc: { File: Inputs/or.h, Line: 13, Column: 3 }
51 DebugLoc: { File: Inputs/or.h, Line: 15, Column: 3 }
66 DebugLoc: { File: Inputs/or.h, Line: 15, Column: 3 }
76 DebugLoc: { File: Inputs/or.h, Line: 15, Column: 17 }
91 DebugLoc: { File: Inputs/or.h, Line: 15, Column: 17 }
101 DebugLoc: { File: Inputs/or.h, Line: 9, Column: 3 }
122 DebugLoc: { File: Inputs/or.c, Line: 18, Column: 3 }
[all …]
H A Dq2.yaml4 DebugLoc: { File: Inputs/q2.c, Line: 4, Column: 5 }
15 DebugLoc: { File: Inputs/q2.c, Line: 8, Column: 3 }
30 DebugLoc: { File: Inputs/q2.c, Line: 8, Column: 3 }
40 DebugLoc: { File: Inputs/q2.c, Line: 3, Column: 31 }
50 DebugLoc: { File: Inputs/q2.c, Line: 3, Column: 3 }
60 DebugLoc: { File: Inputs/q2.c, Line: 12, Column: 3 }
75 DebugLoc: { File: Inputs/q2.c, Line: 12, Column: 3 }
85 DebugLoc: { File: Inputs/q2.c, Line: 3, Column: 31 }
95 DebugLoc: { File: Inputs/q2.c, Line: 3, Column: 3 }
105 DebugLoc: { File: Inputs/q2.c, Line: 4, Column: 5 }
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-query/
H A DQueryParser.cpp30 Line = Line.drop_while([](char c) { in lexWord()
35 if (Line.empty()) in lexWord()
39 return Line; in lexWord()
42 if (Line.front() == '#') in lexWord()
47 Line = Line.drop_front(Word.size()); in lexWord()
164 Line = Line.drop_until([](char c) { return c == '\n'; }); in endQuery()
165 Line = Line.drop_while([](char c) { return c == '\n'; }); in endQuery()
210 Line, CompletionPos - Line.begin(), nullptr, &QS.NamedValues); in completeMatcherExpression()
238 Line = Line.drop_until([](char c) { return c == '\n'; }); in doParse()
239 Line = Line.drop_while([](char c) { return c == '\n'; }); in doParse()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-cov/
H A DSourceCoverageView.h57 unsigned Line; member
60 InstantiationView(StringRef FunctionName, unsigned Line, in InstantiationView()
62 : FunctionName(FunctionName), Line(Line), View(std::move(View)) {} in InstantiationView()
66 return LHS.Line < RHS.Line;
74 unsigned Line; member
76 BranchView(unsigned Line, ArrayRef<CountedRegion> Regions, in BranchView()
78 : Regions(Regions), View(std::move(View)), Line(Line) {} in BranchView()
80 unsigned getLine() const { return Line; } in getLine()
83 return LHS.Line < RHS.Line;
172 StringRef Line; member
[all …]
/llvm-project-15.0.7/llvm/lib/LineEditor/
H A DLineEditor.cpp266 (Line[LineLen - 1] == '\n' || Line[LineLen - 1] == '\r')) in readLine()
302 std::string Line; in readLine() local
307 if (Line.empty()) in readLine()
310 return Line; in readLine()
312 Line.append(Buf); in readLine()
313 } while (Line.empty() || in readLine()
314 (Line[Line.size() - 1] != '\n' && Line[Line.size() - 1] != '\r')); in readLine()
316 while (!Line.empty() && in readLine()
317 (Line[Line.size() - 1] == '\n' || Line[Line.size() - 1] == '\r')) in readLine()
318 Line.resize(Line.size() - 1); in readLine()
[all …]
/llvm-project-15.0.7/llvm/test/tools/opt-viewer/Inputs/basic/
H A Dor.yaml4 DebugLoc: { File: basic/or.c, Line: 2, Column: 14 }
15 DebugLoc: { File: basic/or.h, Line: 15, Column: 10 }
26 DebugLoc: { File: basic/or.h, Line: 13, Column: 3 }
41 DebugLoc: { File: basic/or.h, Line: 13, Column: 3 }
51 DebugLoc: { File: basic/or.h, Line: 15, Column: 3 }
66 DebugLoc: { File: basic/or.h, Line: 15, Column: 3 }
76 DebugLoc: { File: basic/or.h, Line: 15, Column: 17 }
91 DebugLoc: { File: basic/or.h, Line: 15, Column: 17 }
101 DebugLoc: { File: basic/or.h, Line: 9, Column: 3 }
122 DebugLoc: { File: basic/or.c, Line: 18, Column: 3 }
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-symbolizer/
H A Dsource.ll18 ; COMMON-NEXT:2 : // Line 2
20 ; COMMON-NEXT:4 : // Line 4
25 …ileName":"/source.c","FunctionName":"foo","Line":3,"Source":"2 : // Line 2\n3 >: void foo() {}\n4…
28 ;; // Line 1
29 ;; // Line 2
31 ;; // Line 4
32 ;; // Line 5
48 …lename: "source.c", directory: "/", source: "// Line 1\0A// Line 2\0Avoid foo() {}\0A// Line 4\0A/…
/llvm-project-15.0.7/llvm/test/DebugInfo/PDB/DIA/
H A Dpdbdump-linenumbers.test5 ; LINE_NUMS_FPO: Line 5, Address: [0x000011a0 - 0x000011a5] (6 bytes)
6 ; LINE_NUMS_FPO: Line 6, Address: [0x000011a6 - 0x000011a6] (1 bytes)
9 ; LINE_NUMS: Line 6, Address: [0x00001060 - 0x00001066] (7 bytes)
10 ; LINE_NUMS: Line 80, Address: [0x000010d0 - 0x000010d1] (2 bytes)
11 ; LINE_NUMS: Line 81, Address: [0x000010d2 - 0x000010d5] (4 bytes)
12 ; LINE_NUMS: Line 28, Address: [0x00001170 - 0x0000117a] (11 bytes)
13 ; LINE_NUMS: Line 21, Address: [0x00001180 - 0x0000118a] (11 bytes)
14 ; LINE_NUMS: Line 20, Address: [0x00001190 - 0x0000119a] (11 bytes)
/llvm-project-15.0.7/llvm/test/tools/llvm-dwarfdump/X86/Inputs/
H A Ddebug_line_malformed.s11 .byte -5 # Line Base
12 .byte 14 # Line Range
52 .byte -5 # Line Base
53 .byte 14 # Line Range
72 .byte -5 # Line Base
73 .byte 14 # Line Range
98 .byte -5 # Line Base
99 .byte 14 # Line Range
127 .byte -5 # Line Base
160 .byte -5 # Line Base
[all …]
/llvm-project-15.0.7/llvm/lib/IR/
H A DLLVMContextImpl.h267 unsigned Line;
478 unsigned Line;
570 unsigned Line;
699 unsigned Line;
724 Line(Line), Type(Type), ScopeLine(ScopeLine),
825 unsigned Line;
995 unsigned Line;
1010 Line(Line), Type(Type), IsLocalToUnit(IsLocalToUnit),
1055 unsigned Line;
1097 unsigned Line;
[all …]
/llvm-project-15.0.7/llvm/test/tools/opt-viewer/Inputs/suppress/
H A Ds.opt.yaml6 Line: 7
20 Line: 7
34 Line: 7
48 Line: 8
62 Line: 8
76 Line: 7
102 Line: 8
124 Line: 4
138 Line: 4
152 Line: 4
[all …]
/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_powerpc64.cpp37 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) in clearCache() local
38 asm volatile("dcbf 0, %0" : : "r"(Line)); in clearCache()
41 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) in clearCache() local
42 asm volatile("icbi 0, %0" : : "r"(Line)); in clearCache()
/llvm-project-15.0.7/lldb/tools/lldb-test/
H A DFormatUtil.h28 class Line {
32 Line(LinePrinter &P) : P(&P) { P.OS.indent(P.CurrentIndent); } in Line() function
33 ~Line();
35 Line(Line &&RHS) : P(RHS.P) { RHS.P = nullptr; } in Line() function
36 void operator=(Line &&) = delete;
57 Line line() { return Line(*this); } in line()

12345678910>>...22