Home
last modified time | relevance | path

Searched refs:Indent (Results 1 – 25 of 115) sorted by relevance

12345

/NextBSD/contrib/llvm/lib/TableGen/
HDStringMatcher.cpp47 std::string Indent(IndentCount*2+4, ' '); in EmitStringMatcherForChar() local
58 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n"; in EmitStringMatcherForChar()
63 OS << Indent << Split.first << "\n"; in EmitStringMatcherForChar()
86 OS << Indent << "if (" << StrVariableName << "[" << CharNo << "] != '" in EmitStringMatcherForChar()
88 OS << Indent << " break;\n"; in EmitStringMatcherForChar()
92 OS << Indent << "if (memcmp(" << StrVariableName << ".data()+" << CharNo in EmitStringMatcherForChar()
95 OS << Indent << " break;\n"; in EmitStringMatcherForChar()
103 OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\n"; in EmitStringMatcherForChar()
104 OS << Indent << "default: break;\n"; in EmitStringMatcherForChar()
109 OS << Indent << "case '" << LI->first << "':\t // " in EmitStringMatcherForChar()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDPlistDiagnostics.cpp90 Indent(o, indent) << "<dict>\n"; in ReportControlFlow()
93 Indent(o, indent) << "<key>kind</key><string>control</string>\n"; in ReportControlFlow()
96 Indent(o, indent) << "<key>edges</key>\n"; in ReportControlFlow()
98 Indent(o, indent) << "<array>\n"; in ReportControlFlow()
102 Indent(o, indent) << "<dict>\n"; in ReportControlFlow()
108 Indent(o, indent) << "<key>start</key>\n"; in ReportControlFlow()
114 Indent(o, indent) << "<key>end</key>\n"; in ReportControlFlow()
120 Indent(o, indent) << "</dict>\n"; in ReportControlFlow()
123 Indent(o, indent) << "</array>\n"; in ReportControlFlow()
129 Indent(o, indent) << "<key>alternate</key>"; in ReportControlFlow()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDStmtPrinter.cpp54 Indent(); in PrintStmt()
60 Indent() << "<<<NULL STATEMENT>>>\n"; in PrintStmt()
82 raw_ostream &Indent(int Delta = 0) { in Indent() function in __anon03c0dff60111::StmtPrinter
95 Indent() << "<<unknown stmt type>>\n"; in VisitStmt()
120 Indent() << "}"; in PrintRawCompoundStmt()
133 Indent() << ";\n"; in VisitNullStmt()
137 Indent(); in VisitDeclStmt()
143 Indent(); in VisitCompoundStmt()
149 Indent(-1) << "case "; in VisitCaseStmt()
161 Indent(-1) << "default:\n"; in VisitDefaultStmt()
[all …]
HDDeclPrinter.cpp34 raw_ostream& Indent() { return Indent(Indentation); } in Indent() function in __anon587cc7260111::DeclPrinter
35 raw_ostream& Indent(unsigned Indentation);
55 void VisitDeclContext(DeclContext *DC, bool Indent = true);
191 raw_ostream& DeclPrinter::Indent(unsigned Indentation) { in Indent() function in DeclPrinter
222 this->Indent(); in ProcessDeclGroup()
242 void DeclPrinter::VisitDeclContext(DeclContext *DC, bool Indent) { in VisitDeclContext() argument
246 if (Indent) in VisitDeclContext()
295 this->Indent(); in VisitDeclContext()
302 this->Indent(); in VisitDeclContext()
337 if (Indent) in VisitDeclContext()
[all …]
/NextBSD/contrib/llvm/tools/clang/include/clang/Basic/
HDPlistSupport.h39 inline raw_ostream &Indent(raw_ostream &o, const unsigned indent) { in Indent() function
96 Indent(o, indent) << "<dict>\n"; in EmitLocation()
97 Indent(o, indent) << " <key>line</key>"; in EmitLocation()
99 Indent(o, indent) << " <key>col</key>"; in EmitLocation()
101 Indent(o, indent) << " <key>file</key>"; in EmitLocation()
103 Indent(o, indent) << "</dict>\n"; in EmitLocation()
111 Indent(o, indent) << "<array>\n"; in EmitRange()
114 Indent(o, indent) << "</array>\n"; in EmitRange()
/NextBSD/contrib/llvm/tools/clang/lib/Basic/
HDModule.cpp311 void Module::print(raw_ostream &OS, unsigned Indent) const { in print()
312 OS.indent(Indent); in print()
320 OS.indent(Indent + 2); in print()
330 OS.indent(Indent + 2); in print()
343 OS.indent(Indent + 2); in print()
348 OS.indent(Indent + 2); in print()
355 OS.indent(Indent + 2); in print()
378 OS.indent(Indent + 2); in print()
392 (*MI)->print(OS, Indent + 2); in print()
395 OS.indent(Indent + 2); in print()
[all …]
HDVirtualFileSystem.cpp1038 unsigned Indent = getDirIndent(); in startDirectory() local
1039 OS.indent(Indent) << "{\n"; in startDirectory()
1040 OS.indent(Indent + 2) << "'type': 'directory',\n"; in startDirectory()
1041 OS.indent(Indent + 2) << "'name': \"" << llvm::yaml::escape(Name) << "\",\n"; in startDirectory()
1042 OS.indent(Indent + 2) << "'contents': [\n"; in startDirectory()
1046 unsigned Indent = getDirIndent(); in endDirectory() local
1047 OS.indent(Indent + 2) << "]\n"; in endDirectory()
1048 OS.indent(Indent) << "}"; in endDirectory()
1054 unsigned Indent = getFileIndent(); in writeEntry() local
1055 OS.indent(Indent) << "{\n"; in writeEntry()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Format/
HDContinuationIndenter.h148 ParenState(unsigned Indent, unsigned IndentLevel, unsigned LastSpace, in ParenState()
150 : Indent(Indent), IndentLevel(IndentLevel), LastSpace(LastSpace), in ParenState()
151 NestedBlockIndent(Indent), BreakBeforeClosingBrace(false), in ParenState()
160 unsigned Indent; member
266 if (Indent != Other.Indent)
267 return Indent < Other.Indent;
HDUnwrappedLineFormatter.cpp48 unsigned getIndent() const { return Indent; } in getIndent()
59 Indent = Line.Level * Style.IndentWidth + AdditionalIndent; in nextLine()
62 Indent = getIndent(IndentForLevel, Line.Level); in nextLine()
64 if (static_cast<int>(Indent) + Offset >= 0) in nextLine()
65 Indent += Offset; in nextLine()
126 unsigned Indent = 0; member in clang::format::__anon686f1b3d0111::LevelIndentTracker
161 tryFitMultipleLinesInOne(unsigned Indent, in tryFitMultipleLinesInOne() argument
177 if (Style.ColumnLimit > 0 && Indent > Style.ColumnLimit) in tryFitMultipleLinesInOne()
181 Style.ColumnLimit == 0 ? UINT_MAX : Style.ColumnLimit - Indent; in tryFitMultipleLinesInOne()
465 llvm::dbgs() << P.Indent << "|" << P.LastSpace << "|" << P.NestedBlockIndent in printLineState()
[all …]
HDContinuationIndenter.cpp316 else if (State.Stack.back().Indent + Current.LongestObjCSelectorName > in addTokenOnCurrentLine()
320 State.Stack.back().Indent) + in addTokenOnCurrentLine()
329 State.Stack.back().Indent = State.Column + Spaces; in addTokenOnCurrentLine()
373 State.Stack.back().Indent = State.Column; in addTokenOnCurrentLine()
448 ? std::max(State.Stack.back().Indent, in addTokenOnNewLine()
450 : State.Stack.back().Indent) + in addTokenOnNewLine()
470 std::max(State.Stack.back().LastSpace, State.Stack.back().Indent) + in addTokenOnNewLine()
546 std::max(State.Stack.back().LastSpace, State.Stack.back().Indent) + in getNewLineColumn()
557 State.Stack.back().Indent + Style.ContinuationIndentWidth); in getNewLineColumn()
561 : State.Stack.back().Indent; in getNewLineColumn()
[all …]
/NextBSD/contrib/llvm/lib/DebugInfo/DWARF/
HDDWARFDebugLoc.cpp21 const unsigned Indent = 12; in dump() local
24 OS.indent(Indent); in dump()
27 OS.indent(Indent) << " Ending address offset: " in dump()
29 OS.indent(Indent) << " Location description: "; in dump()
114 const unsigned Indent = 12; in dump() local
117 OS.indent(Indent); in dump()
119 OS.indent(Indent) << " Length: " << E.Length << '\n'; in dump()
120 OS.indent(Indent) << " Location description: "; in dump()
/NextBSD/contrib/llvm/tools/lldb/source/Symbol/
HDSymbolContext.cpp215 s->Indent(); in DumpStopContext()
275 s->Indent(" Module: file = \""); in GetDescription()
285 s->Indent("CompileUnit: "); in GetDescription()
292 s->Indent(" Function: "); in GetDescription()
299 s->Indent(" FuncType: "); in GetDescription()
322 s->Indent(" Blocks: "); in GetDescription()
324 s->Indent(" "); in GetDescription()
332 s->Indent(" LineEntry: "); in GetDescription()
339 s->Indent(" Symbol: "); in GetDescription()
346 s->Indent(" Variable: "); in GetDescription()
[all …]
HDSymtab.cpp94 s->Indent(); in Dump()
122 s->Indent(); in Dump()
146 s->Indent(); in Dump()
160 s->Indent(); in Dump()
176 s->Indent(); in Dump()
190 s->Indent(); in Dump()
201 s->Indent(" Debug symbol\n"); in DumpSymbolHeader()
202 s->Indent(" |Synthetic symbol\n"); in DumpSymbolHeader()
203 s->Indent(" ||Externally Visible\n"); in DumpSymbolHeader()
204 s->Indent(" |||\n"); in DumpSymbolHeader()
[all …]
/NextBSD/contrib/llvm/tools/lldb/source/Breakpoint/
HDBreakpointLocation.cpp570 s->Indent(); in GetDescription()
600 s->Indent("module = "); in GetDescription()
607 s->Indent("compile unit = "); in GetDescription()
613 s->Indent("function = "); in GetDescription()
620 s->Indent("location = "); in GetDescription()
632 s->Indent ("re-exported target = "); in GetDescription()
634 s->Indent("symbol = "); in GetDescription()
644 s->Indent(); in GetDescription()
675 s->Indent(); in GetDescription()
684 s->Indent(); in GetDescription()
[all …]
HDWatchpointOptions.cpp188 s->Indent(); in GetDescription()
191 s->Indent(); in GetDescription()
222 s->Indent("watchpoint commands:\n"); in GetDescription()
230 s->Indent(data->user_source.GetStringAtIndex(i)); in GetDescription()
HDBreakpointOptions.cpp223 s->Indent(); in GetDescription()
226 s->Indent(); in GetDescription()
278 s->Indent("Breakpoint commands:\n"); in GetDescription()
286 s->Indent(data->user_source.GetStringAtIndex(i)); in GetDescription()
/NextBSD/contrib/llvm/utils/TableGen/
HDDAGISelMatcherEmitter.cpp54 unsigned EmitMatcherList(const Matcher *N, unsigned Indent,
61 unsigned EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx,
138 EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, in EmitMatcher() argument
140 OS.PadToColumn(Indent*2); in EmitMatcher()
157 OS.PadToColumn(Indent*2) << "/*Scope*/ "; in EmitMatcher()
159 OS.PadToColumn(Indent*2); in EmitMatcher()
176 ChildSize = EmitMatcherList(SM->getChild(i), Indent+1, in EmitMatcher()
198 OS.PadToColumn(Indent*2) << "0, "; in EmitMatcher()
317 ChildSize = EmitMatcherList(Child, Indent+1, CurrentIdx+VBRSize+IdxSize, in EmitMatcher()
326 OS.PadToColumn(Indent*2); in EmitMatcher()
[all …]
/NextBSD/contrib/llvm/tools/llvm-pdbdump/
HDllvm-pdbdump.cpp143 Printer.Indent(); in dumpInput()
175 Printer.Indent(); in dumpInput()
186 Printer.Indent(); in dumpInput()
195 Printer.Indent(); in dumpInput()
206 Printer.Indent(); in dumpInput()
232 Printer.Indent(); in dumpInput()
HDTypeDumper.cpp35 Printer.Indent(); in start()
44 Printer.Indent(); in start()
53 Printer.Indent(); in start()
HDLinePrinter.cpp20 LinePrinter::LinePrinter(int Indent, llvm::raw_ostream &Stream) in LinePrinter() argument
21 : OS(Stream), IndentSpaces(Indent), CurrentIndent(0) { in LinePrinter()
29 void LinePrinter::Indent() { CurrentIndent += IndentSpaces; } in Indent() function in LinePrinter
/NextBSD/contrib/llvm/lib/CodeGen/
HDLexicalScopes.cpp316 void LexicalScope::dump(unsigned Indent) const { in dump()
319 err.indent(Indent); in dump()
322 err.indent(Indent); in dump()
325 err << std::string(Indent, ' ') << "Abstract Scope\n"; in dump()
328 err << std::string(Indent + 2, ' ') << "Children ...\n"; in dump()
331 Children[i]->dump(Indent + 2); in dump()
/NextBSD/contrib/llvm/lib/DebugInfo/PDB/
HDIPDBSourceFile.cpp20 void IPDBSourceFile::dump(raw_ostream &OS, int Indent) const { in dump()
21 OS.indent(Indent); in dump()
HDPDBSymbol.cpp106 Dumper.dump(OS, Indent, *DerivedThis);
110 void PDBSymbol::defaultDump(raw_ostream &OS, int Indent) const { in defaultDump()
111 RawSymbol->dump(OS, Indent); in defaultDump()
/NextBSD/contrib/llvm/tools/lldb/source/Core/
HDStructuredData.cpp226 s.Indent(); in Dump()
231 s.Indent(); in Dump()
285 s.Indent(); in Dump()
291 s.Indent(); in Dump()
/NextBSD/contrib/llvm/tools/llvm-diff/
HDDiffConsumer.h71 unsigned Indent; variable
79 : out(errs()), Differences(false), Indent(0) {} in DiffConsumer()

12345