summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclObjC.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-02-07 11:57:45 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-02-07 11:57:45 +0000
commit2f56992964a308e85ea5b39e836d04d498ea521d (patch)
treeee678dc0348e4d50bcdb14fb2f7e4e2f2e292a73 /clang/lib/AST/DeclObjC.cpp
parent59580dbf52db290de2d099e70e2e9345a2e9747b (diff)
downloadbcm5719-llvm-2f56992964a308e85ea5b39e836d04d498ea521d.tar.gz
bcm5719-llvm-2f56992964a308e85ea5b39e836d04d498ea521d.zip
Switch the ObjC*Decl raw_stream overloads to take a reference, for consistency with NamedDecls.
llvm-svn: 149981
Diffstat (limited to 'clang/lib/AST/DeclObjC.cpp')
-rw-r--r--clang/lib/AST/DeclObjC.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/AST/DeclObjC.cpp b/clang/lib/AST/DeclObjC.cpp
index 2b97cf56861..d0083855bb4 100644
--- a/clang/lib/AST/DeclObjC.cpp
+++ b/clang/lib/AST/DeclObjC.cpp
@@ -1191,8 +1191,8 @@ FindPropertyImplDecl(IdentifierInfo *Id) const {
}
raw_ostream &clang::operator<<(raw_ostream &OS,
- const ObjCCategoryImplDecl *CID) {
- OS << CID->getName();
+ const ObjCCategoryImplDecl &CID) {
+ OS << CID.getName();
return OS;
}
@@ -1235,8 +1235,8 @@ void ObjCImplementationDecl::setIvarInitializers(ASTContext &C,
}
raw_ostream &clang::operator<<(raw_ostream &OS,
- const ObjCImplementationDecl *ID) {
- OS << ID->getName();
+ const ObjCImplementationDecl &ID) {
+ OS << ID.getName();
return OS;
}
OpenPOWER on IntegriCloud