summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/IndexingContext.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-01 22:06:18 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-01 22:06:18 +0000
commit05a1f4d60b4161051f8a3d01865165af58b2af00 (patch)
treed20ca67963c75ac8bdf8581240b2a3048218a8df /clang/tools/libclang/IndexingContext.h
parent123bec89ab8fd59364adcd9fea8d5b11791c6310 (diff)
downloadbcm5719-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.h2
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) {
OpenPOWER on IntegriCloud