- Jul 24, 2007
-
-
Chris Lattner authored
llvm-svn: 40466
-
- Jul 15, 2007
-
-
Chris Lattner authored
which makes it multithread clean. llvm-svn: 39863
-
- Jun 16, 2007
-
-
Chris Lattner authored
out of the llvm namespace. This makes the clang namespace be a sibling of llvm instead of being a child. The good thing about this is that it makes many things unambiguous. The bad things is that many things in the llvm namespace (notably data structures like smallvector) now require an llvm:: qualifier. IMO, libsystem and libsupport should be split out of llvm into their own namespace in the future, which will fix this issue. llvm-svn: 39659
-
- Jun 01, 2007
-
-
Steve Naroff authored
Submitted by: Reviewed by: Implement support for GCC __attribute__. - Implement "TODO" in Parser::ParseAttributes. Changed the return type from void to Parser::DeclTy. Changed all call sites to accept the return value. - Added Action::ParseAttribute and Sema::ParseAttribute to return an appropriate AST node. Added new node AttributeDecl to Decl.h. Still to do...hook up to the Decl... llvm-svn: 39539
-
- May 16, 2007
-
-
Chris Lattner authored
etc. llvm-svn: 39447
-
- May 03, 2007
-
-
Chris Lattner authored
is enabled. llvm-svn: 39430
-
- Apr 27, 2007
-
-
Chris Lattner authored
tokens is found. llvm-svn: 39419
-
- Jan 21, 2007
-
-
Chris Lattner authored
an extra scope stack to be pushed between the function body and arguments, which causes the parser to incorrectly accept stuff like 'int foo(int A) { int A; }', which is test/Parser/argument_redef.c. llvm-svn: 39252
-
- Dec 04, 2006
-
-
Chris Lattner authored
reinterpret_cast, and static_cast. Patch by Bill! llvm-svn: 39247
-
Chris Lattner authored
llvm-svn: 39242
-
- Dec 03, 2006
-
-
Chris Lattner authored
diagnosing malformed K&R function definitions. llvm-svn: 39241
-
- Dec 02, 2006
-
-
Chris Lattner authored
the info. Also, call Actions.ParseParamDeclaratorType instead of Actions.ParseDeclarator for parameter type lists: we don't want declaration objects created when parsing a function declarator, we just want type info. llvm-svn: 39230
-
Chris Lattner authored
parameters: build an array of ParamInfo structures and pass it to the declarator for safe keeping (it owns the list). Next step: actually populate the arg array with useful stuff. llvm-svn: 39229
-
- Nov 28, 2006
-
-
Chris Lattner authored
for things like 'short _Complex'. llvm-svn: 39227
-
Chris Lattner authored
things like: t.c:4:10: error: invalid storage class specifier in function declarator int foo2(auto int Aaslfkasdflkj, register B); ^ instead of: t.c:4:19: error: invalid storage class specifier in function declarator int foo2(auto int Aaslfkasdflkj, register B); ^ llvm-svn: 39224
-
Chris Lattner authored
llvm-svn: 39223
-
- Nov 21, 2006
-
-
Chris Lattner authored
called before and one which is called after function definition parsing. llvm-svn: 39196
-
- Nov 20, 2006
-
-
Chris Lattner authored
allows us to handle stuff like: typedef int G; .. X = sizeof(G); llvm-svn: 39189
-
- Nov 19, 2006
-
-
Chris Lattner authored
llvm-svn: 39184
-
Chris Lattner authored
Add a parsing fastpath for when we see typedef at the top-level. llvm-svn: 39182
-
- Nov 12, 2006
-
-
Chris Lattner authored
between sema and parse is clear. llvm-svn: 39167
-
- Nov 10, 2006
-
-
Chris Lattner authored
token: it is better for the code to be explicit. llvm-svn: 39158
-
- Nov 09, 2006
-
-
Chris Lattner authored
fundamentally requires having an AST around, so move all sema to the AST library. This is the first step, later steps will be needed to clean up libast. llvm-svn: 39150
-
- Nov 08, 2006
-
-
Chris Lattner authored
llvm-svn: 39149
-
Chris Lattner authored
llvm-svn: 39148
-
- Nov 06, 2006
-
-
Chris Lattner authored
case, speeding up parsing of this contrived example: #define A {{}} #define B A A A A A A A A A A #define C B B B B B B B B B B #define D C C C C C C C C C C #define E D D D D D D D D D D #define F E E E E E E E E E E #define G F F F F F F F F F F #define H G G G G G G G G G G void foo() { H } from 7.478s to 4.321s. GCC requires 8.2s. llvm-svn: 39138
-
Chris Lattner authored
switch statements. Make break/continue check that they are inside of an appropriate control-flow construct. This implements Parser/bad-control.c. llvm-svn: 39136
-
- Nov 05, 2006
-
-
Chris Lattner authored
llvm-svn: 39133
-
Chris Lattner authored
llvm-svn: 39126
-
Chris Lattner authored
llvm-svn: 39125
-
Chris Lattner authored
llvm-svn: 39124
-
Chris Lattner authored
llvm-svn: 39123
-
- Nov 04, 2006
-
-
Chris Lattner authored
llvm-svn: 39113
-
- Nov 03, 2006
-
-
Chris Lattner authored
test.m:2:14: error: expected ';' after @class @ class foo int x; ^ instead of silently accepting the malformed input. llvm-svn: 39100
-
Chris Lattner authored
pieces, emit a diagnostic like this: test.m:4:1: error: unexpected '@' in program @ foo; ^ llvm-svn: 39099
-
- Oct 28, 2006
-
-
Steve Naroff authored
- Added basic structure for parsing top level Objective-C forms. - Extended the typedef mechanism for classes, improved performance of the common case. - Implemented @class in the parser. llvm-svn: 39074
-
- Oct 16, 2006
-
-
Chris Lattner authored
llvm-svn: 38995
-
Chris Lattner authored
llvm-svn: 38993
-
Chris Lattner authored
declarations through the asm streamer. For a testcase like: int G; int H, I, *J; int func() {} 'clang -parse-print-ast' prints: Read top-level decl: G Read top-level decl: H Read top-level decl: I Read top-level decl: J Read top-level decl: func llvm-svn: 38992
-
Chris Lattner authored
llvm-svn: 38991
-