clang-1/lib/Parse
Chris Lattner 4d00f2a5a9 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) ;
       ^



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69760 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-22 00:54:41 +00:00
..
AstGuard.h Add a switch that allows disabling the smart pointers. 2009-01-22 17:31:11 +00:00
AttributeList.cpp the __gnuc_inline__ attribute is actually named __gnu_inline__, 2009-04-20 19:12:28 +00:00
CMakeLists.txt Build system changes to use TableGen to generate the various 2009-03-16 23:06:59 +00:00
DeclSpec.cpp Add more thorough/correct checking for invalid __thread specifiers. 2009-04-19 20:27:55 +00:00
ExtensionRAIIObject.h Rejigger how -pedantic and -pedantic-errors work and their interaction 2009-04-15 07:01:18 +00:00
Makefile Build system changes to use TableGen to generate the various 2009-03-16 23:06:59 +00:00
MinimalAction.cpp Parsing and AST representation for dependent template names that occur 2009-03-31 00:43:58 +00:00
ParseCXXInlineMethods.cpp Push DeclGroup much farther throughout the compiler. Now the various 2009-03-29 16:50:03 +00:00
ParseDecl.cpp Fixup codegen for write barriers for block variables. Radar 6786715 2009-04-21 00:51:43 +00:00
ParseDeclCXX.cpp Diagnose invalid uses of tagged types with a missing tag. For example, in: 2009-04-12 21:49:30 +00:00
ParseExpr.cpp fix two error paths out of ParseBlockLiteralExpression to 2009-04-18 20:05:34 +00:00
ParseExprCXX.cpp Add code modification hints to various parsing-related diagnostics. 2009-04-01 22:41:11 +00:00
ParseInit.cpp Introduce a "-fixit" mode to clang-cc that applies code-modification hints. 2009-04-02 01:08:08 +00:00
ParseObjc.cpp Fix rdar://6771034: don't warn on use of forward declared protocol in protocol 2009-04-12 08:43:13 +00:00
ParsePragma.cpp Implement '#pragma unused'. 2009-03-23 22:28:25 +00:00
ParsePragma.h Implement '#pragma unused'. 2009-03-23 22:28:25 +00:00
ParseStmt.cpp Fix a problem with objc foreach loop. It turns out that objc mode changes 2009-04-22 00:54:41 +00:00
ParseTemplate.cpp fix a FIXME, providing accurate source range info for DeclStmt's. The end 2009-04-02 04:16:50 +00:00
ParseTentative.cpp Initial implementation of parsing, semantic analysis, and template 2009-03-27 23:10:48 +00:00
Parser.cpp fix a FIXME, providing accurate source range info for DeclStmt's. The end 2009-04-02 04:16:50 +00:00