llvm-project/clang/Parse
Chris Lattner 49252eb303 Implement a FIXME: when a typedef is seen at statement scope, make sure to
actually add it into the declspec for the type being parsed.  This allows us
to do correct semantic analysis on:

typedef int bar;
int foo() {
  bar a;
  return a;
}

This reduces # errors parsing carbon.h from 731 to 654.

llvm-svn: 39321
2007-01-27 19:04:39 +00:00
..
DeclSpec.cpp Generalize DeclSpec::TypedefRep to allow it to hold any type representation. 2007-01-23 04:58:34 +00:00
Makefile Fix these to allow clang to be in any dir. 2006-10-26 04:56:55 +00:00
MinimalAction.cpp add accessors to DeclSpec, start moving clients over to use them. 2006-11-28 04:28:12 +00:00
ParseDecl.cpp adjust to change in SmallSet interface 2007-01-27 02:14:08 +00:00
ParseExpr.cpp Add support for parsing and pretty printing const_cast, dynamic_cast, 2006-12-04 18:06:35 +00:00
ParseExprCXX.cpp Add support for parsing and pretty printing const_cast, dynamic_cast, 2006-12-04 18:06:35 +00:00
ParseInit.cpp rename a bunch of files for better consistency 2006-11-05 07:46:30 +00:00
ParseObjc.cpp rename ParsedClassDeclaration -> ParsedObjcClassDeclaration. 2006-11-19 02:35:21 +00:00
ParseStmt.cpp Implement a FIXME: when a typedef is seen at statement scope, make sure to 2007-01-27 19:04:39 +00:00
Parser.cpp Do not use ParseCompoundStatement to parse the body of a function. This causes 2007-01-21 06:56:16 +00:00