summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/ParseAST.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-11-17 06:14:37 +0000
committerDouglas Gregor <dgregor@apple.com>2009-11-17 06:14:37 +0000
commit120f6a6675c0c68e0f2ee4953ad5190087c6a993 (patch)
treec08d49aa0f3457ded5664ae5cc86c20b4acb5872 /clang/lib/Sema/ParseAST.cpp
parente0b2866147045ac2be59497a23438b783167c4e9 (diff)
downloadbcm5719-llvm-120f6a6675c0c68e0f2ee4953ad5190087c6a993.tar.gz
bcm5719-llvm-120f6a6675c0c68e0f2ee4953ad5190087c6a993.zip
Silence some warnings produced by Clang, and add a missing header
llvm-svn: 89051
Diffstat (limited to 'clang/lib/Sema/ParseAST.cpp')
-rw-r--r--clang/lib/Sema/ParseAST.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/ParseAST.cpp b/clang/lib/Sema/ParseAST.cpp
index 18ab092102c..dc0daae4dcf 100644
--- a/clang/lib/Sema/ParseAST.cpp
+++ b/clang/lib/Sema/ParseAST.cpp
@@ -72,7 +72,7 @@ void clang::ParseAST(Preprocessor &PP, ASTConsumer *Consumer,
Consumer->HandleTopLevelDecl(ADecl.getAsVal<DeclGroupRef>());
};
// Check for any pending objective-c implementation decl.
- while (ADecl = P.RetreivePendingObjCImpDecl())
+ while ((ADecl = P.RetreivePendingObjCImpDecl()))
Consumer->HandleTopLevelDecl(ADecl.getAsVal<DeclGroupRef>());
// process any TopLevelDecls generated by #pragma weak
OpenPOWER on IntegriCloud