summaryrefslogtreecommitdiffstats
path: root/clang/lib/Index/ResolveLocation.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/Index/ResolveLocation.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/Index/ResolveLocation.cpp')
-rw-r--r--clang/lib/Index/ResolveLocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Index/ResolveLocation.cpp b/clang/lib/Index/ResolveLocation.cpp
index 73b584b5205..35a44ca166a 100644
--- a/clang/lib/Index/ResolveLocation.cpp
+++ b/clang/lib/Index/ResolveLocation.cpp
@@ -484,7 +484,7 @@ ASTLocation LocResolverBase::ResolveInDeclarator(Decl *D, Stmt *Stm,
assert(ContainsLocation(DInfo) &&
"Should visit only after verifying that loc is in range");
- TypeLocResolver(Ctx, Loc, D);
+ (void)TypeLocResolver(Ctx, Loc, D);
for (TypeLoc TL = DInfo->getTypeLoc(); TL; TL = TL.getNextTypeLoc())
if (ContainsLocation(TL))
return TypeLocResolver(Ctx, Loc, D).Visit(TL);
OpenPOWER on IntegriCloud