Commit Graph

910 Commits

Author SHA1 Message Date
Chris Lattner
a7c7d64fa0 Switch swift to use SourceLoc instead of SMLoc.
Also use the new getAdvancedLoc() method instead of hacking
on SMLoc directly.

Also fix the warning/note/error methods to forward through ASTContext
instead of being replicated everywhere.



Swift SVN r750
2011-10-18 01:22:29 +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
d70f0aefd3 Implement basic mangling.
Swift SVN r673
2011-09-01 22:38:50 +00:00
John McCall
066719530c Implement rudimentary l-value and r-value emission for DeclRefExpr.
Swift's ASTs are lacking the extremely useful concept of a DeclContext,
without which it's probably possible to make this work, but it'll be
extremely awkward.  Anyway, these hacks are good enough to get the
test passing again.



Swift SVN r620
2011-08-25 10:33:05 +00:00
John McCall
9baf355000 Add a method for reporting unimplemented errors.
Swift SVN r608
2011-08-25 07:38:25 +00:00
John McCall
3e65b21a68 Provide r-value schemas for various implemented types. Use these to
implement function signature lowering.  Basic setup for IR generation
of functions.  Test that we can properly declare a simple function.



Swift SVN r595
2011-08-24 18:55:54 +00:00
John McCall
86f4371478 Basic IR generation of tuple and oneof types.
Swift SVN r573
2011-08-20 01:06:52 +00:00
John McCall
dc31882541 Incorporate notes into the pattern-matching manifesto. A few more random
observations that weren't brought up during the meeting.



Swift SVN r567
2011-08-17 08:29:32 +00:00
John McCall
3b3fb3fcd4 Commit missing file.
Swift SVN r540
2011-08-13 18:55:51 +00:00
Chris Lattner
f3ea9d7ee3 minimal hack to fix the build.
Swift SVN r539
2011-08-13 17:21:42 +00:00