#
c675baba |
| 13-Dec-2008 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Some utilities for using the smart pointers in Actions, especially Sema. Convert a few functions.
llvm-svn: 60983
|
#
cb6e2c61 |
| 13-Dec-2008 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Convert remaining expression parsers to smart pointers. Now on to the Action connection.
llvm-svn: 60982
|
#
d65cea8d |
| 11-Dec-2008 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Convert a big bunch of expression parsers to use smart pointers.
llvm-svn: 60906
|
#
90893187 |
| 11-Dec-2008 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Convert some more expression parsers to use smart pointers.
llvm-svn: 60904
|
#
59b5e517 |
| 11-Dec-2008 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Convert selected expression parsers to use smart pointers.
llvm-svn: 60900
|
#
bab9a4b5 |
| 11-Dec-2008 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Convert the remaining statement parsers to smart pointers.
llvm-svn: 60895
|
#
042ad95d |
| 11-Dec-2008 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Convert a number of statement parsers to smart pointers.
llvm-svn: 60888
|
#
7307d6ca |
| 10-Dec-2008 |
Douglas Gregor <dgregor@apple.com> |
Use a scoped object to manage entry/exit from a parser scope rather than explicitly calling EnterScope/ExitScope
llvm-svn: 60830
|
#
d9f7b1c2 |
| 10-Dec-2008 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Modify the move emulation according to the excellent design of Howard Hinnant. Makes for much nicer syntax when smart pointers are used consistently. Also, start converting internal argument passing
Modify the move emulation according to the excellent design of Howard Hinnant. Makes for much nicer syntax when smart pointers are used consistently. Also, start converting internal argument passing of Parser to smart pointers.
llvm-svn: 60809
show more ...
|
#
c13f2687 |
| 09-Dec-2008 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Kick out the proof-of-concept ASTOwner and replace it with ASTOwningResult
llvm-svn: 60791
|
#
17f2c7d2 |
| 09-Dec-2008 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Consistently use smart pointers for stmt and expr nodes in parser local variables.
llvm-svn: 60761
|
#
3a90716f |
| 08-Dec-2008 |
Chris Lattner <sabre@nondot.org> |
improve comment.
llvm-svn: 60718
|
#
f8ef9f3d |
| 26-Nov-2008 |
Fariborz Jahanian <fjahanian@apple.com> |
Set default property attributes on each property. Implemented anonymous category (also know as continuation class) used to override main class's property attribute. This is work in propgress.
llvm-
Set default property attributes on each property. Implemented anonymous category (also know as continuation class) used to override main class's property attribute. This is work in propgress.
llvm-svn: 60114
show more ...
|
#
511ed555 |
| 25-Nov-2008 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Use RAII objects to ensure proper destruction of expression and statement AST nodes in the parser in most cases, even on error.
llvm-svn: 60057
|
#
9b5a5342 |
| 20-Nov-2008 |
Chris Lattner <sabre@nondot.org> |
Daniel really really likes = instead of += :)
llvm-svn: 59716
|
#
68e48680 |
| 20-Nov-2008 |
Chris Lattner <sabre@nondot.org> |
Rename IdentifierInfo::isName to ::isStr. Use a nifty trick from Sebastian to enforce that a literal string is passed in, and use this to avoid having to call strlen on it.
llvm-svn: 59706
|
#
9e4ac111 |
| 19-Nov-2008 |
Steve Naroff <snaroff@apple.com> |
Fix <rdar://problem/6150376> [sema] crash on invalid message send.
The core fix in Sema::ActOnClassMessage(). All the other changes have to do with passing down the SourceLocation for the receiver (
Fix <rdar://problem/6150376> [sema] crash on invalid message send.
The core fix in Sema::ActOnClassMessage(). All the other changes have to do with passing down the SourceLocation for the receiver (to properly position the cursor when producing an error diagnostic).
llvm-svn: 59639
show more ...
|
#
406c0969 |
| 19-Nov-2008 |
Chris Lattner <sabre@nondot.org> |
remove some uses of IdentifierInfo::getName()
llvm-svn: 59606
|
#
66e3877b |
| 19-Nov-2008 |
Chris Lattner <sabre@nondot.org> |
Use smallstring instead of new[]'ing a string. This simplifies the code and speeds it up.
llvm-svn: 59604
|
#
ebad6a22 |
| 19-Nov-2008 |
Chris Lattner <sabre@nondot.org> |
remove uses of IdentifierInfo::getName()
llvm-svn: 59603
|
#
3d31c6c8 |
| 18-Nov-2008 |
Chris Lattner <sabre@nondot.org> |
remove the last couple obsolete forms of Parser::Diag.
llvm-svn: 59510
|
#
6d29c105 |
| 18-Nov-2008 |
Chris Lattner <sabre@nondot.org> |
Change a couple of the Parser::Diag methods to return DiagnosticInfo and let the clients push whatever they want into the DiagnosticInfo instead of hard coding a few forms. Also switch various clien
Change a couple of the Parser::Diag methods to return DiagnosticInfo and let the clients push whatever they want into the DiagnosticInfo instead of hard coding a few forms. Also switch various clients to use Diag(Tok, ...) instead of Diag(Tok.getLocation(), ...) as the canonical form to simplify the code a bit.
llvm-svn: 59509
show more ...
|
Revision tags: llvmorg-2.4.0 |
|
#
b7954430 |
| 22-Oct-2008 |
Chris Lattner <sabre@nondot.org> |
some minor cleanups to ParseObjCTypeName:
1. Remove a bogus assertion, clients other than sema can return a null pointer from actions that result in ParseTypeName returning null. 2. Remove dead R
some minor cleanups to ParseObjCTypeName:
1. Remove a bogus assertion, clients other than sema can return a null pointer from actions that result in ParseTypeName returning null. 2. Remove dead RParenLoc variable. 3. Simplify control flow handling error conditions. 4. On a major failure, we should skip until ')' not until '}'.
llvm-svn: 57949
show more ...
|
#
90255b4f |
| 21-Oct-2008 |
Steve Naroff <snaroff@apple.com> |
Fix a crasher during error recovery in Parser::ParseObjCTypeName(). Found this while fixing another unrelated radar.
llvm-svn: 57904
|
#
2dfde910 |
| 20-Oct-2008 |
Chris Lattner <sabre@nondot.org> |
eliminate ObjCPropertyAttrs an corresponding enums, just use strcmp when needed.
llvm-svn: 57817
|