diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2009-06-21 18:26:03 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-06-21 18:26:03 +0000 |
| commit | 99b57fb987ac846306459e95de19472b2a9ae609 (patch) | |
| tree | 0c67bc4dbf6ab807768338369c15e051593fc807 /clang/lib/AST/Expr.cpp | |
| parent | 540c009fbe9567c008e0bfbcdb0f4f0f5b3a07f7 (diff) | |
| download | bcm5719-llvm-99b57fb987ac846306459e95de19472b2a9ae609.tar.gz bcm5719-llvm-99b57fb987ac846306459e95de19472b2a9ae609.zip | |
Renamed Protocol as TheProtocol so people can use clang header for
building obj-c++ clients. "Protocol" is a class name in Cocoa.h
llvm-svn: 73854
Diffstat (limited to 'clang/lib/AST/Expr.cpp')
| -rw-r--r-- | clang/lib/AST/Expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/Expr.cpp b/clang/lib/AST/Expr.cpp index eb4136c2e2a..4a3ad2641ef 100644 --- a/clang/lib/AST/Expr.cpp +++ b/clang/lib/AST/Expr.cpp @@ -1571,7 +1571,7 @@ ObjCSelectorExpr *ObjCSelectorExpr::Clone(ASTContext &C) const { } ObjCProtocolExpr *ObjCProtocolExpr::Clone(ASTContext &C) const { - return new (C) ObjCProtocolExpr(getType(), Protocol, AtLoc, RParenLoc); + return new (C) ObjCProtocolExpr(getType(), TheProtocol, AtLoc, RParenLoc); } // constructor for class messages. |

