Add a dump function to Stmt that takes only an output stream. No functionality change.
authorFaisal Vali <faisalv@yahoo.com>
Sun, 22 Mar 2015 13:35:56 +0000 (13:35 +0000)
committerFaisal Vali <faisalv@yahoo.com>
Sun, 22 Mar 2015 13:35:56 +0000 (13:35 +0000)
commit2da8ed92416cbd5dc3f9b55738660b17d5872981
tree334944631e0a88af1a2734490d9751cf81f18b92
parentbbb4cec2e87164c355b5b8509315530ab6a402fd
Add a dump function to Stmt that takes only an output stream.  No functionality change.

This allows dumping to any given output stream but without requiring a SourceManager, similar to the interface provided by Decl.

It's useful when writing certain generic debug functions, external to the clang code base (for e.g.).

llvm-svn: 232912
clang/include/clang/AST/Stmt.h
clang/lib/AST/ASTDumper.cpp