diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-11-17 06:14:37 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-11-17 06:14:37 +0000 |
commit | 120f6a6675c0c68e0f2ee4953ad5190087c6a993 (patch) | |
tree | c08d49aa0f3457ded5664ae5cc86c20b4acb5872 /clang/lib/Index/ResolveLocation.cpp | |
parent | e0b2866147045ac2be59497a23438b783167c4e9 (diff) | |
download | bcm5719-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.cpp | 2 |
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); |