| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
| |
statements. Instead of the @try having a single @catch, where all of
the @catch's were chained (using an O(n^2) algorithm nonetheless),
@try just holds an array of its @catch blocks. The resulting AST is
slightly more compact (not important) and better represents the actual
language semantics (good).
llvm-svn: 102221
|
| |
|
|
|
|
| |
jump-diagnostics handling for variables without initializers
llvm-svn: 97929
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a fixme and PR6451.
Only perform jump checking if the containing function has no errors,
and add the infrastructure needed to do this.
On the testcase in the PR, we produce:
t.cc:6:3: error: illegal goto into protected scope
goto later;
^
t.cc:7:5: note: jump bypasses variable initialization
X x;
^
llvm-svn: 97497
|
| |
|
|
| |
llvm-svn: 89051
|
| |
|
|
| |
llvm-svn: 81346
|
| |
|
|
| |
llvm-svn: 76376
|
| |
|
|
|
|
|
|
|
| |
The implementations of these methods can Use Decl::getASTContext() to get the ASTContext.
This commit touches a lot of files since call sites for these methods are everywhere.
I used pre-tokenized "carbon.h" and "cocoa.h" headers to do some timings, and there was no real time difference between before the commit and after it.
llvm-svn: 74501
|
| |
|
|
| |
llvm-svn: 73702
|
| |
|
|
|
|
| |
types and jumps into protected try-catch scopes.
llvm-svn: 70242
|
| |
|
|
| |
llvm-svn: 70105
|
| |
|
|
|
|
| |
rdar://6810106
llvm-svn: 69667
|
|
|
already too large.
llvm-svn: 69505
|