Home
last modified time | relevance | path

Searched refs:Indentation (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/
H A DDeclPrinter.cpp380 Indentation += Policy.Indentation; in VisitDeclContext()
436 Indentation -= Policy.Indentation; in VisitDeclContext()
440 Indentation += Policy.Indentation; in VisitDeclContext()
501 Indentation -= Policy.Indentation; in VisitDeclContext()
781 Indentation += Policy.Indentation; in VisitFunctionDecl()
1340 Indentation += Policy.Indentation; in VisitObjCImplementationDecl()
1345 Indentation -= Policy.Indentation; in VisitObjCImplementationDecl()
1394 Indentation += Policy.Indentation; in VisitObjCInterfaceDecl()
1400 Indentation -= Policy.Indentation; in VisitObjCInterfaceDecl()
1459 Indentation += Policy.Indentation; in VisitObjCCategoryDecl()
[all …]
H A DTypePrinter.cpp119 unsigned Indentation; member in __anon62a22ea70111::TypePrinter
124 explicit TypePrinter(const PrintingPolicy &Policy, unsigned Indentation = 0) in TypePrinter() argument
125 : Policy(Policy), Indentation(Indentation) {} in TypePrinter()
1319 D->print(OS, SubPolicy, Indentation); in printTag()
1535 OwnedTagDecl->print(OS, SubPolicy, Indentation); in printElaboratedBefore()
2317 const Twine &PlaceHolder, unsigned Indentation) const { in print()
2319 Indentation); in print()
2324 const Twine &PlaceHolder, unsigned Indentation) { in print() argument
2328 TypePrinter(policy, Indentation).print(ty, qs, OS, PH); in print()
H A DStmtPrinter.cpp77 const PrintingPolicy &Policy, unsigned Indentation = 0, in StmtPrinter() argument
79 : OS(os), IndentLevel(Indentation), Helper(helper), Policy(Policy), in StmtPrinter()
82 void PrintStmt(Stmt *S) { PrintStmt(S, Policy.Indentation); } in PrintStmt()
2728 const PrintingPolicy &Policy, unsigned Indentation, in printPretty() argument
2730 StmtPrinter P(Out, Helper, Policy, Indentation, NL, Context); in printPretty()
2736 unsigned Indentation, StringRef NL, in printPrettyControlled() argument
2738 StmtPrinter P(Out, Helper, Policy, Indentation, NL, Context); in printPrettyControlled()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DTraversalChecker.cpp83 unsigned Indentation = 0; in checkPreCall() local
86 ++Indentation; in checkPreCall()
91 llvm::outs().indent(Indentation); in checkPreCall()
100 unsigned Indentation = 0; in checkPostCall() local
103 ++Indentation; in checkPostCall()
108 llvm::outs().indent(Indentation); in checkPostCall()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DDecoderEmitter.cpp781 Indentation += 2; in emitTable()
955 OS.indent(Indentation) << "0\n"; in emitTable()
957 Indentation -= 2; in emitTable()
978 Indentation += 2; in emitPredicateFunction()
987 OS.indent(Indentation) << "}\n"; in emitPredicateFunction()
992 Indentation -= 2; in emitPredicateFunction()
1004 OS.indent(Indentation) in emitDecoderFunction()
1007 Indentation += 2; in emitDecoderFunction()
1024 OS.indent(Indentation) << "}\n"; in emitDecoderFunction()
1025 Indentation -= 2; in emitDecoderFunction()
[all …]
H A DGlobalISelEmitter.cpp597 unsigned Indentation = 4; in emitDeclaration() local
600 OS << std::string(Indentation, ' '); in emitDeclaration()
614 Indentation += 2; in emitDeclaration()
618 OS << std::string(Indentation, ' '); in emitDeclaration()
621 Indentation -= 2; in emitDeclaration()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFormat.cpp162 StringRef Indentation = lastLine(Code.take_front(Cursor)); in getIncrementalChangesAfterNewline() local
163 if (Indentation.data() == Code.data()) { in getIncrementalChangesAfterNewline()
168 lastLine(Code.take_front(Indentation.data() - Code.data() - 1)); in getIncrementalChangesAfterNewline()
180 bool NewLineIsComment = !commentMarker(Indentation).empty(); in getIncrementalChangesAfterNewline()
192 Result.Changes.add(replacement(Code, Indentation, IndentAndComment))); in getIncrementalChangesAfterNewline()
196 cantFail(Result.Changes.add(replacement(Code, Indentation, ""))); in getIncrementalChangesAfterNewline()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DPrettyPrinter.h60 : Indentation(2), SuppressSpecifiers(false), in PrintingPolicy()
91 unsigned Indentation : 8; member
H A DType.h1091 unsigned Indentation = 0) const;
1095 unsigned Indentation = 0) {
1096 return print(split.Ty, split.Quals, OS, policy, PlaceHolder, Indentation);
1102 unsigned Indentation = 0);
1120 unsigned Indentation;
1124 const Twine &PlaceHolder, unsigned Indentation)
1126 Indentation(Indentation) {}
1130 SQT.T.print(OS, SQT.Policy, SQT.PlaceHolder, SQT.Indentation);
1137 unsigned Indentation = 0) const {
1138 return StreamedQualTypeHelper(*this, Policy, PlaceHolder, Indentation);
H A DDeclBase.h1194 void print(raw_ostream &Out, unsigned Indentation = 0,
1197 unsigned Indentation = 0, bool PrintInstantiation = false) const;
1200 unsigned Indentation = 0);
H A DStmt.h1218 const PrintingPolicy &Policy, unsigned Indentation = 0, in alignas()
1223 unsigned Indentation = 0, in alignas()
/llvm-project-15.0.7/llvm/test/YAMLParser/
H A Dspec-09-18.test9 - >1 # Indentation indicator
/llvm-project-15.0.7/clang/lib/Format/
H A DWhitespaceManager.cpp1483 unsigned Indentation = IndentLevel * Style.IndentWidth; in appendIndentText() local
1484 Spaces = appendTabIndent(Text, Spaces, Indentation); in appendIndentText()
1495 unsigned Indentation = in appendIndentText() local
1497 Spaces = appendTabIndent(Text, Spaces, Indentation); in appendIndentText()
1505 unsigned Indentation) { in appendTabIndent() argument
1508 if (Indentation > Spaces) in appendTabIndent()
1509 Indentation = Spaces; in appendTabIndent()
1511 unsigned Tabs = Indentation / Style.TabWidth; in appendTabIndent()
H A DWhitespaceManager.h347 unsigned Indentation);
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaAvailability.cpp814 StringRef Indentation = Lexer::getIndentationForLine(IfInsertionLoc, SM); in DiagnoseDeclAvailability() local
824 << Indentation << ExtraIndentation; in DiagnoseDeclAvailability()
834 << Indentation << "} else {\n" in DiagnoseDeclAvailability()
835 << Indentation << ExtraIndentation in DiagnoseDeclAvailability()
837 << Indentation << "}"; in DiagnoseDeclAvailability()
H A DSemaChecking.cpp451 Indent.resize(Depth * Policy.Indentation, ' '); in getIndentString()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DFormatTests.cpp157 TEST(FormatIncremental, Indentation) { in TEST() argument
/llvm-project-15.0.7/clang/lib/Frontend/
H A DTextDiagnostic.cpp616 unsigned Indentation = WordWrapIndentation) { in printWordWrapped() argument
622 IndentStr.assign(Indentation, ' '); in printWordWrapped()
651 OS.write(&IndentStr[0], Indentation); in printWordWrapped()
654 Column = Indentation + WordLength; in printWordWrapped()
/llvm-project-15.0.7/llvm/unittests/TableGen/
H A DCodeExpanderTest.cpp80 TEST(CodeExpander, Indentation) { in TEST() argument
/llvm-project-15.0.7/clang-tools-extra/pseudo/unittests/
H A DTokenTest.cpp166 TEST(TokenTest, Indentation) { in TEST() argument
/llvm-project-15.0.7/clang/unittests/AST/
H A DDeclPrinterTest.cpp40 Policy.Indentation = 0; in PrintDecl()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp5136 return P->Indentation; in clang_PrintingPolicy_getProperty()
5202 P->Indentation = Value; in clang_PrintingPolicy_setProperty()
/llvm-project-15.0.7/llvm/docs/
H A DCodingStandards.rst1484 Namespace Indentation
/llvm-project-15.0.7/clang/docs/
H A DClangFormatStyleOptions.rst2408 - Indentation with the continuation indent, not with the block indent.