llvm-project/clang/utils/TableGen
Richard Smith f7514454a7 Refactor tree printing in AST dumping.
Instead of manually maintaining a flag indicating whether we're about to print
out the last child of the parent node (to determine whether we print "`" or
"|"), capture a callable to print that child and defer printing it until we
either see a next child or finish the parent.

No functionality change intended.

llvm-svn: 220930
2014-10-30 21:02:37 +00:00
..
CMakeLists.txt [CMake] Deprecate CLANG_RUNTIME_OUTPUT_INTDIR and CLANG_LIBRARY_OUTPUT_INTDIR. 2014-01-19 13:00:01 +00:00
ClangASTNodesEmitter.cpp [C++11] Use 'nullptr'. 2014-05-07 06:21:57 +00:00
ClangAttrEmitter.cpp Refactor tree printing in AST dumping. 2014-10-30 21:02:37 +00:00
ClangCommentCommandInfoEmitter.cpp Documentation parsing: add support for \throws \throw \exception commands 2013-11-12 22:16:08 +00:00
ClangCommentHTMLNamedCharacterReferenceEmitter.cpp TableGen backends: use emitSourceFileHeader() to emit the warning about 2013-01-30 21:54:20 +00:00
ClangCommentHTMLTagsEmitter.cpp Comment parsing: remove HTML attribute validation 2014-04-30 21:54:30 +00:00
ClangDiagnosticsEmitter.cpp Use the ShowInSystemHeader bit consistently for all diagnostics 2014-06-16 13:56:47 +00:00
ClangSACheckersEmitter.cpp [C++11] Use 'nullptr'. 2014-05-07 06:21:57 +00:00
Makefile Don't require exception handling for clang-tblgen. 2012-10-25 20:34:00 +00:00
NeonEmitter.cpp Simplify creation of a bunch of ArrayRefs by using None, makeArrayRef or just letting them be implicitly created. 2014-08-27 06:28:36 +00:00
TableGen.cpp Reapplying r204952 a second time. 2014-03-31 13:14:44 +00:00
TableGenBackends.h Add missing header guards. 2014-08-08 13:24:19 +00:00