]> granicus.if.org Git - clang/commit
Moved the StringLiteral printing code from StmtPrinter into the StringLiteral
authorRichard Trieu <rtrieu@google.com>
Wed, 13 Jun 2012 20:25:24 +0000 (20:25 +0000)
committerRichard Trieu <rtrieu@google.com>
Wed, 13 Jun 2012 20:25:24 +0000 (20:25 +0000)
commit8ab09da1faaa33b9fa78de59cc4e191bfe9907b5
treec160032f5cb75e84f24c67d5109d82b38f4e7f55
parentdc9327a8da640ecf7b15c5d5b726cd67a0e63284
Moved the StringLiteral printing code from StmtPrinter into the StringLiteral
class and have StmtPrinter and StmtDumper refer to it.  This fixes an
assertion failure when dumping wchar string literals.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158417 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
lib/AST/Expr.cpp
lib/AST/StmtDumper.cpp
lib/AST/StmtPrinter.cpp
test/Misc/ast-dump-wchar.cpp [new file with mode: 0644]