summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/Expr.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-06-21 18:26:03 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-06-21 18:26:03 +0000
commit99b57fb987ac846306459e95de19472b2a9ae609 (patch)
tree0c67bc4dbf6ab807768338369c15e051593fc807 /clang/lib/AST/Expr.cpp
parent540c009fbe9567c008e0bfbcdb0f4f0f5b3a07f7 (diff)
downloadbcm5719-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.cpp2
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.
OpenPOWER on IntegriCloud