| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclPrinter.cpp | 380 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 D | TypePrinter.cpp | 119 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 D | StmtPrinter.cpp | 77 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 D | TraversalChecker.cpp | 83 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 D | DecoderEmitter.cpp | 781 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 D | GlobalISelEmitter.cpp | 597 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 D | Format.cpp | 162 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 D | PrettyPrinter.h | 60 : Indentation(2), SuppressSpecifiers(false), in PrintingPolicy() 91 unsigned Indentation : 8; member
|
| H A D | Type.h | 1091 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 D | DeclBase.h | 1194 void print(raw_ostream &Out, unsigned Indentation = 0, 1197 unsigned Indentation = 0, bool PrintInstantiation = false) const; 1200 unsigned Indentation = 0);
|
| H A D | Stmt.h | 1218 const PrintingPolicy &Policy, unsigned Indentation = 0, in alignas() 1223 unsigned Indentation = 0, in alignas()
|
| /llvm-project-15.0.7/llvm/test/YAMLParser/ |
| H A D | spec-09-18.test | 9 - >1 # Indentation indicator
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | WhitespaceManager.cpp | 1483 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 D | WhitespaceManager.h | 347 unsigned Indentation);
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaAvailability.cpp | 814 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 D | SemaChecking.cpp | 451 Indent.resize(Depth * Policy.Indentation, ' '); in getIndentString()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | FormatTests.cpp | 157 TEST(FormatIncremental, Indentation) { in TEST() argument
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 616 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 D | CodeExpanderTest.cpp | 80 TEST(CodeExpander, Indentation) { in TEST() argument
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/unittests/ |
| H A D | TokenTest.cpp | 166 TEST(TokenTest, Indentation) { in TEST() argument
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | DeclPrinterTest.cpp | 40 Policy.Indentation = 0; in PrintDecl()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndex.cpp | 5136 return P->Indentation; in clang_PrintingPolicy_getProperty() 5202 P->Indentation = Value; in clang_PrintingPolicy_setProperty()
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | CodingStandards.rst | 1484 Namespace Indentation
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | ClangFormatStyleOptions.rst | 2408 - Indentation with the continuation indent, not with the block indent.
|