diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-07 11:57:45 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-07 11:57:45 +0000 |
commit | 2f56992964a308e85ea5b39e836d04d498ea521d (patch) | |
tree | ee678dc0348e4d50bcdb14fb2f7e4e2f2e292a73 /clang/lib/AST/DeclObjC.cpp | |
parent | 59580dbf52db290de2d099e70e2e9345a2e9747b (diff) | |
download | bcm5719-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.cpp | 8 |
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; } |