Eli Friedman
|
4ca443d0f5
|
Add OneOfDecl; use it as a DeclContext for OneOfElementDecls instead of OneOfType, and get rid of the implicit TypeAliasDecl. Add TypeDecl as a base class for OneOfDecl and TypeAliasDecl (and StructDecl, once we have it). Adjust a whole bunch of stuff to this new scheme.
Swift SVN r1774
|
2012-05-08 21:09:42 +00:00 |
|
Eli Friedman
|
d5e7784010
|
Get rid of isModuleScope bit, since we don't like scattering bits across the AST; as a replacement, introduce TopLevelCodeDecl, which provides a DeclContext for all expressions and statements at the top level. <rdar://problem/11259941>.
Swift SVN r1503
|
2012-04-19 21:22:12 +00:00 |
|
Doug Gregor
|
846aa7e162
|
Diagnose attempts to declare subscript operations outside of a type context.
Swift SVN r1497
|
2012-04-19 20:41:42 +00:00 |
|
Eli Friedman
|
d2bbf81245
|
Zap AnonClosureArgExpr.
Swift SVN r1269
|
2012-03-27 01:03:15 +00:00 |
|
Eli Friedman
|
d39a7abe36
|
Implement CapturingExpr. In addition to unifying the hierarchy between FuncExpr and ClosureExpr, this introduces a DeclContext for ClosureExprs. <rdar://problem/11076715>
Swift SVN r1240
|
2012-03-20 01:08:04 +00:00 |
|
Chris Lattner
|
d9c15ebb9a
|
make ExtensionDecl be a DeclContext, install members into it properly.
Swift SVN r896
|
2011-12-05 23:22:04 +00:00 |
|
Chris Lattner
|
2ea1e72890
|
merge two copies of the same predicate into a helper method.
Swift SVN r800
|
2011-11-01 04:30:25 +00:00 |
|
Chris Lattner
|
8e1c6c8ac6
|
flatten ModuleKind discriminator into DeclContext's one. Now Module is an
abstract class and we have an actual AST-level concept of the builtin module.
Swift SVN r798
|
2011-11-01 04:07:57 +00:00 |
|
Chris Lattner
|
fed35466d4
|
increase the # bits for DeclContextKind's to 3 bits.
Swift SVN r797
|
2011-11-01 03:58:21 +00:00 |
|
John McCall
|
54ff2ccf4a
|
Lop the last word off ModuleDecl and TranslationUnitDecl.
Swift SVN r693
|
2011-09-06 21:43:46 +00:00 |
|
John McCall
|
4a0f713e62
|
Progress towards a builtin module.
Swift SVN r682
|
2011-09-03 05:35:49 +00:00 |
|
Chris Lattner
|
70bbb65241
|
make ProtocolType a DeclContext, add AST and trivial sema support for
ProtocolFuncElementDecl, the first thing we will allow in a protocol.
Swift SVN r664
|
2011-08-31 23:31:42 +00:00 |
|
Chris Lattner
|
bd9e21ed01
|
add a method to get an ASTContext from a DeclContext.
Swift SVN r662
|
2011-08-31 23:09:32 +00:00 |
|
John McCall
|
7b78e7b943
|
Document DeclContext.
Swift SVN r656
|
2011-08-31 21:22:35 +00:00 |
|
John McCall
|
bf62f3662e
|
Switch DeclContext to use a PointerIntPair.
Swift SVN r640
|
2011-08-30 06:34:38 +00:00 |
|
Chris Lattner
|
da64531ca3
|
modernize #includes.
Swift SVN r627
|
2011-08-25 23:48:29 +00:00 |
|
John McCall
|
b2bd8e12a7
|
Introduce the idea of a DeclContext.
Swift SVN r623
|
2011-08-25 19:26:50 +00:00 |
|