diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-09-02 21:50:02 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-09-02 21:50:02 +0000 |
commit | 6429f5cf2920a7d95c5ebf1405d675e3a43420b6 (patch) | |
tree | 229683915cdc78a65fd5fe89dcd6f66228a41eef /clang/lib/AST/StmtPrinter.cpp | |
parent | 6dadd508e7906cf994ee96806f4ec3f80a9c8a41 (diff) | |
download | bcm5719-llvm-6429f5cf2920a7d95c5ebf1405d675e3a43420b6.tar.gz bcm5719-llvm-6429f5cf2920a7d95c5ebf1405d675e3a43420b6.zip |
Eliminate CXXBindReferenceExpr, which was used in a ton of
well-intentioned but completely unused code.
llvm-svn: 112868
Diffstat (limited to 'clang/lib/AST/StmtPrinter.cpp')
-rw-r--r-- | clang/lib/AST/StmtPrinter.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp index ea528c2daec..5236a667262 100644 --- a/clang/lib/AST/StmtPrinter.cpp +++ b/clang/lib/AST/StmtPrinter.cpp @@ -1037,10 +1037,6 @@ void StmtPrinter::VisitCXXBindTemporaryExpr(CXXBindTemporaryExpr *Node) { PrintExpr(Node->getSubExpr()); } -void StmtPrinter::VisitCXXBindReferenceExpr(CXXBindReferenceExpr *Node) { - PrintExpr(Node->getSubExpr()); -} - void StmtPrinter::VisitCXXTemporaryObjectExpr(CXXTemporaryObjectExpr *Node) { OS << Node->getType().getAsString(Policy); OS << "("; |