Benjamin Kramer
d7d2b1fe45
Don't include Type.h in DeclarationName.h.
...
Recursively prune some includes.
llvm-svn: 169094
2012-12-01 16:35:25 +00:00
Benjamin Kramer
ea70eb30a0
Pull the Attr iteration parts out of Attr.h, so including DeclBase.h doesn't pull in all the generated Attr code.
...
Required to pull some functions out of line, but this shouldn't have a perf impact.
No functionality change.
llvm-svn: 169092
2012-12-01 15:09:41 +00:00
Fariborz Jahanian
998f0a3360
objective-C blocks: Make sure that identical logic is used
...
in deciding a copy/dispose field is needed in a byref structure
and when generating the copy/dispose helpers. In certain
cases, these fields were being added but no copy/dispose was
being generated. This was uncovered in ARC, but not in MRR.
// rdar://12759433
llvm-svn: 168825
2012-11-28 23:12:17 +00:00
Fariborz Jahanian
83dadc7dd7
objective-C modern translator. Start the line
...
directive on a new line.
llvm-svn: 167542
2012-11-07 18:15:53 +00:00
Fariborz Jahanian
e030a63868
modern ObjC translator. Insert line number for @synchronized statements.
...
llvm-svn: 167511
2012-11-07 00:43:05 +00:00
Fariborz Jahanian
b6933bc1d0
objective-C modern rewriter. Insert line numbers in
...
translated code where new code makes the lines be off.
This is wip.
llvm-svn: 167500
2012-11-06 23:25:49 +00:00
NAKAMURA Takumi
b46a05cdf9
RewriteModernObjC.cpp: Use Lexer::Stringify() on the file name of #line directive to escape Win32 path separator '\\'.
...
llvm-svn: 167497
2012-11-06 22:45:31 +00:00
Fariborz Jahanian
aa4a242f53
Modern objective-C translator: Start adding line info to the
...
translated source where it is needed. wip.
llvm-svn: 167469
2012-11-06 17:30:23 +00:00
Lang Hames
5de91cc35f
Add FP_CONTRACT support for clang.
...
Clang will now honor the FP_CONTRACT pragma and emit LLVM
fmuladd intrinsics for expressions of the form A * B + C (when they occur in a
single statement).
llvm-svn: 164989
2012-10-02 04:45:10 +00:00
Dmitri Gribenko
76bb5cabfa
Remove redundant semicolons which are null statements.
...
llvm-svn: 163546
2012-09-10 21:20:09 +00:00
Aaron Ballman
9c00446d2a
Fixing the return type information for objc_sync_enter and objc_sync_exit. Patch thanks to Joe Ranieri!
...
llvm-svn: 163330
2012-09-06 16:44:16 +00:00
Ted Kremenek
cdf814900d
Split library clangRewrite into clangRewriteCore and clangRewriteFrontend.
...
This is similar to how we divide up the StaticAnalyzer libraries to separate
core functionality to what is clearly associated with Frontend actions.
llvm-svn: 163050
2012-09-01 05:09:24 +00:00