Fix some llvm-gcc warnings in testcases, mostly by adding includes or adding
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 10 Jun 2008 14:37:44 +0000 (14:37 +0000)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 10 Jun 2008 14:37:44 +0000 (14:37 +0000)
commitb7e103ba41d264f48b1072ea8913bcd0b2f01bae
tree0c01438fbab43d1c393b24914fb3a2f70a81877a
parent1cd8f11cc0af051ec06f579647f15485732ec555
Fix some llvm-gcc warnings in testcases, mostly by adding includes or adding
declarations. These are the fixes that I was pretty confident about, there are
still a lot of other llvm-gcc warnings of which I'm not sure if they can be
safely ignored or fixed, without breaking the test case.

This fixes 11 testcases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52176 91177308-0d34-0410-b5e6-96231b3b80d8
test/FrontendC++/2005-02-11-AnonymousUnion.cpp
test/FrontendC/2002-02-18-64bitConstant.c
test/FrontendC/2002-04-08-LocalArray.c
test/FrontendC/2002-08-02-UnionTest.c
test/FrontendC/2003-10-02-UnionLValueError.c
test/FrontendC/2004-02-13-Memset.c
test/FrontendC/2004-02-20-Builtins.c
test/FrontendC/2005-07-20-SqrtNoErrno.c
test/FrontendC/2005-10-18-VariableSizedElementCrash.c
test/FrontendC/2007-09-27-ComplexIntCompare.c
test/FrontendC/libcalls.c