diff options
author | Steve Naroff <snaroff@apple.com> | 2008-06-02 23:03:37 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-06-02 23:03:37 +0000 |
commit | ebf4cb48416afa3bcd06ab9baab96e9b12ad6f43 (patch) | |
tree | d240bbbbd4e89b812b2d107051ccc66a47215a3a /clang/lib/AST/StmtPrinter.cpp | |
parent | 7314d0ee3c3ca8b976203afe9f1b4c8a380f4a1a (diff) | |
download | bcm5719-llvm-ebf4cb48416afa3bcd06ab9baab96e9b12ad6f43.tar.gz bcm5719-llvm-ebf4cb48416afa3bcd06ab9baab96e9b12ad6f43.zip |
Fix <rdar://problem/5979875> clang on xcode: error: use of undeclared identifier 'super'
llvm-svn: 51888
Diffstat (limited to 'clang/lib/AST/StmtPrinter.cpp')
-rw-r--r-- | clang/lib/AST/StmtPrinter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp index d52f48ed210..a740facf76f 100644 --- a/clang/lib/AST/StmtPrinter.cpp +++ b/clang/lib/AST/StmtPrinter.cpp @@ -476,6 +476,10 @@ void StmtPrinter::VisitDeclRefExpr(DeclRefExpr *Node) { OS << Node->getDecl()->getName(); } +void StmtPrinter::VisitObjCSuperRefExpr(ObjCSuperRefExpr *Node) { + OS << "super"; +} + void StmtPrinter::VisitObjCIvarRefExpr(ObjCIvarRefExpr *Node) { if (Node->getBase()) { PrintExpr(Node->getBase()); |