summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-22 00:54:41 +0000
committerChris Lattner <sabre@nondot.org>2009-04-22 00:54:41 +0000
commit934074cd5f4f3537424c9b8f7e72cad05531464b (patch)
tree788115a7031fc57c5ee365dfd02e7bbdbe0f5028 /clang/lib/CodeGen/CodeGenModule.cpp
parent3ddc876758535a5d1ce01a41a00812f6203ab7ce (diff)
downloadbcm5719-llvm-934074cd5f4f3537424c9b8f7e72cad05531464b.tar.gz
bcm5719-llvm-934074cd5f4f3537424c9b8f7e72cad05531464b.zip
Fix a problem with objc foreach loop. It turns out that objc mode changes
for scoping to match C99 even when in C89 mode. This patch fixes this (eliminating a "redefinition of thisKey" error), and also prevents non-sensical diagnostics in -pedantic mode like this: t.m:7:8: warning: variable declaration in for loop is a C99-specific feature for (id thisKey in keys) ; ^ llvm-svn: 69760
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud