summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMJITInfo.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2007-08-30 22:35:45 +0000
committerSteve Naroff <snaroff@apple.com>2007-08-30 22:35:45 +0000
commitd57fa94148963517a365e5bebdd9c72ab255c3b8 (patch)
tree45beef0a28eb9cc01c8ee9090660f88bb8a73c97 /llvm/lib/Target/ARM/ARMJITInfo.cpp
parentfc7aafcef0825894dfe3a7a5840615847e13aeba (diff)
downloadbcm5719-llvm-d57fa94148963517a365e5bebdd9c72ab255c3b8.tar.gz
bcm5719-llvm-d57fa94148963517a365e5bebdd9c72ab255c3b8.zip
Final phase of array cleanup (for now), removing a FIXME from yesterday.
Moved several array constraints checks from Sema::VerifyConstantArrayType() to Sema::GetTypeForDeclarator(). VerifyConstantArrayType() is now very simple, and could be removed eventually. Now, we get the following (correct) messages for BlockVarDecls:-) [dylan:~/llvm/tools/clang] admin% ../../Debug/bin/clang x.c -pedantic x.c:4:20: error: size of array has non-integer type 'float' int size_not_int[f]; ^ x.c:5:21: error: array size is negative int negative_size[1-2]; ^~~ x.c:6:17: warning: zero size arrays are an extension int zero_size[0]; ^ 3 diagnostics generated. llvm-svn: 41624
Diffstat (limited to 'llvm/lib/Target/ARM/ARMJITInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud