Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
d291c8cd1f6f2faea8c0fdb8954d37c72638376b
/
Driver
/
RewriteBlocks.cpp
8f6ce57
Fix <rdar://problem/6336774> clang block rewriter: Assertion failed: Offset+NumBytes <= size() && "Invalid region to erase!", file c:\cygwin\home\Administrator\llvm\to ols\clang\include\clang/Rewrite/RewriteRope.h, line 219.
by Steve Naroff
· 16 years ago
b9988c0
Fix <rdar://problem/6312683> clang block rewriter:
by Steve Naroff
· 16 years ago
ca74360
Tighten up blocks rewriter to handle casts and some other interesting cases.
by Steve Naroff
· 16 years ago
e0109a5
Fix/simplify RewriteBlocks::RewriteBlockPointerFunctionArgs().
by Steve Naroff
· 16 years ago
84a969f
Touchup the rewriter to handle the new BlockExpr->BlockDecl dance.
by Steve Naroff
· 16 years ago
56ee689
- Add BlockDecl AST node. - Modify BlockExpr to reference the BlockDecl.
by Steve Naroff
· 16 years ago
fda4fed
In RewriteFunctionBody, using DeclStmt::decl_iterator to rewrite the Decls in a DeclStmt instead of using getDecl() to fetch the first Decl.
by Ted Kremenek
· 16 years ago
22aed65
Remove old diag that alerted the user to a limitation we no longer have:-)
by Steve Naroff
· 16 years ago
d3f7790
Create a function, eliminating some redundancy between SynthesizeBlockInitExpr() and SynthesizeBlockLiterals().
by Steve Naroff
· 16 years ago
acba0f2
Finish implementing copy/dispose helpers for imported block decls.
by Steve Naroff
· 16 years ago
5e52b17
Add indirection required for byref BlockDeclRefExpr's.
by Steve Naroff
· 16 years ago
3b0fd64
Handle bookkeeping for imported blocks (in SynthesizeBlockImpl).
by Steve Naroff
· 16 years ago
b65a4f1
Cut/paste error...need to use the expression "name" for member references (or other complex expressions that can embed a block pointer type)
by Steve Naroff
· 16 years ago
8e9216d
Clear the map that associated the rewritten block with it's corresponding BlockExpr.
by Steve Naroff
· 16 years ago
70f9550
Moved main control flow functions to bottom of file.
by Steve Naroff
· 16 years ago
94ede6e
Remove an old/vacuous if clause.
by Steve Naroff
· 16 years ago
4e13b76
More fun & games with the block rewriter.
by Steve Naroff
· 16 years ago
39622b9
Rewrite global block expressions.
by Steve Naroff
· 16 years ago
83ba14e
- Add a convenience constructor to Type. - Many rewriter modifications.
by Steve Naroff
· 16 years ago
48a8c61
Rework SynthesizeBlockImpl() to include a constructor.
by Steve Naroff
· 16 years ago
3ad29e2
Get the right location to insert the synthesized block literals/functions.
by Steve Naroff
· 16 years ago
a0b75cf
Name changes and some cleanup of preamble.
by Steve Naroff
· 16 years ago
8af6a45
Changed Sema::CheckForConstantInitializer to allow global block literals.
by Steve Naroff
· 16 years ago
cc2ece2
Fix a couple harmless warnings when compiling optimized with gcc (reported by mrs@apple.com).
by Steve Naroff
· 16 years ago
1f6c3ae
Fix some const-ness to keep the VisualStudio C++ compiler happy.
by Steve Naroff
· 16 years ago
ca3bb4f
RewriteBlocks::RewriteBlockPointerDecl(): Handle TypedefDecl's and VarDecl's uniformly.
by Steve Naroff
· 16 years ago
eab5f63
Teach block rewriter to replace '^' with '*' in VarDecls.
by Steve Naroff
· 16 years ago
1318895
Add driver support for invoking block rewriter.
by Steve Naroff
· 16 years ago
9c3c902
Remove BlockStmtExpr.
by Steve Naroff
· 16 years ago
1c9f81b
Add support for rewriting blocks...
by Steve Naroff
· 16 years ago