Home
last modified time | relevance | path

Searched refs:IndentSize (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/libc/utils/HdrGen/
H A DPublicAPICommand.cpp28 size_t IndentSize = Indent.size(); in dedentAndWrite() local
33 if (IndentSize < shortest_indent) in dedentAndWrite()
34 shortest_indent = IndentSize; in dedentAndWrite()
/llvm-project-15.0.7/llvm/lib/Support/
H A DJSON.cpp812 OS << (IndentSize ? "/* " : "/*"); in flushComment()
824 OS << (IndentSize ? " */" : "*/"); in flushComment()
827 if (IndentSize) in flushComment()
835 if (IndentSize) { in newline()
845 Indent += IndentSize; in arrayBegin()
851 Indent -= IndentSize; in arrayEnd()
864 Indent += IndentSize; in objectBegin()
870 Indent -= IndentSize; in objectEnd()
895 if (IndentSize) in attributeBegin()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DJSON.h959 explicit OStream(llvm::raw_ostream &OS, unsigned IndentSize = 0)
960 : OS(OS), IndentSize(IndentSize) { in OS()
1058 unsigned IndentSize; variable