diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-01-01 22:06:18 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-01-01 22:06:18 +0000 |
commit | 05a1f4d60b4161051f8a3d01865165af58b2af00 (patch) | |
tree | d20ca67963c75ac8bdf8581240b2a3048218a8df /clang/tools/libclang/IndexingContext.h | |
parent | 123bec89ab8fd59364adcd9fea8d5b11791c6310 (diff) | |
download | bcm5719-llvm-05a1f4d60b4161051f8a3d01865165af58b2af00.tar.gz bcm5719-llvm-05a1f4d60b4161051f8a3d01865165af58b2af00.zip |
Eliminate the ForwardDecl/InitiallyForwardDecl bits from ObjCProtocolDecl. They are no longer needed
llvm-svn: 147419
Diffstat (limited to 'clang/tools/libclang/IndexingContext.h')
-rw-r--r-- | clang/tools/libclang/IndexingContext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/libclang/IndexingContext.h b/clang/tools/libclang/IndexingContext.h index 0091fd1f8cd..b58e3b690e8 100644 --- a/clang/tools/libclang/IndexingContext.h +++ b/clang/tools/libclang/IndexingContext.h @@ -142,7 +142,7 @@ struct ObjCProtocolDeclInfo : public ObjCContainerDeclInfo { ObjCProtocolDeclInfo(const ObjCProtocolDecl *D) : ObjCContainerDeclInfo(Info_ObjCProtocol, /*isForwardRef=*/false, - /*isRedeclaration=*/D->isInitiallyForwardDecl(), + /*isRedeclaration=*/D->getPreviousDeclaration(), /*isImplementation=*/false) { } static bool classof(const DeclInfo *D) { |