62bbe07f5aed5a2f9ae55ef480c4268cb4435d99 |
|
15-Mar-2013 |
Jordan Rose <jordan_rose@apple.com> |
Add some assertions to appease the static analyzer. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177185 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
bea522ff43a3f11c7a2bc7949119dbb9fce19e39 |
|
08-Mar-2013 |
Jordan Rose <jordan_rose@apple.com> |
ArrayRef-ize ASTContext::getFunctionType and Sema::BuildFunctionType. No (intended) functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176726 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
a09cd8103a6a719cb2628cdf0c91682250a17bd2 |
|
11-Feb-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C modern translator: Fixes a mistranslation of @throw statement by finding location of the ';' correctly. // rdar://13186010 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174898 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
3f6f51e28231f65de9c2dd150a2d757b2162cfa3 |
|
08-Feb-2013 |
Jordan Rose <jordan_rose@apple.com> |
Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h. Nearly all of these changes are one-to-one replacements; the few that aren't have to do with custom identifier validation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174768 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
9ffd1aea980a0bb1f577f3069c63f741b72d8f80 |
|
08-Feb-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C modern translation: Fix another random translation bug involving property getter expressions on rhs of property setter. // rdar://13138459 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174729 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
bfaa111e7106ad15a73513d953a1a19a7b626f10 |
|
08-Feb-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C modern translator. Fixes a trivial rewriting bug where #ifdef ended up on the same line as the attribute declaration. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174719 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
ada7191795dde85a620008094fbe5464abdb916b |
|
08-Feb-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C modern translator. Generate #line info in the translated code under -g only. // rdar://13138170 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174684 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
31c4a4b0171aac01d2a6aedb4960ade7ee7d998a |
|
07-Feb-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C modern translator. More fixups for modern meta-data abi translation. Still wip. // rdar://13138459 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174672 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
cd3b036dbdd29b0ddcaa12b5cce69b647b2ac5ba |
|
07-Feb-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C modern translator. Fix up the translated metadata to handle ivar bitfields. This is wip. // rdar://13138459 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174573 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
d329724745b49f894b768d47275b7c2713106e89 |
|
17-Jan-2013 |
Douglas Gregor <dgregor@apple.com> |
Rework the traversal of Objective-C categories and extensions to consider (sub)module visibility. The bulk of this change replaces myriad hand-rolled loops over the linked list of Objective-C categories/extensions attached to an interface declaration with loops using one of the four new category iterator kinds: visible_categories_iterator: Iterates over all visible categories and extensions, hiding any that have their "hidden" bit set. This is by far the most commonly used iterator. known_categories_iterator: Iterates over all categories and extensions, ignoring the "hidden" bit. This tends to be used for redeclaration-like traversals. visible_extensions_iterator: Iterates over all visible extensions, hiding any that have their "hidden" bit set. known_extensions_iterator: Iterates over all extensions, whether they are visible to normal name lookup or not. The effect of this change is that any uses of the visible_ iterators will respect module-import visibility. See the new tests for examples. Note that the old accessors for categories and extensions are gone; there are *Raw() forms for some of them, for those (few) areas of the compiler that have to manipulate the linked list of categories directly. This is generally discouraged. Part two of <rdar://problem/10634711>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172665 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
cfa88f893915ceb8ae4ce2f17c46c24a4d67502f |
|
12-Jan-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Remove useless 'llvm::' qualifier from names like StringRef and others that are brought into 'clang' namespace by clang/Basic/LLVM.h git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172323 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
e3b29886ab053123feeb256e92bf8af23ba136cc |
|
04-Jan-2013 |
Chad Rosier <mcrosier@apple.com> |
Fix indent and remove parameter with a matching default value. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171545 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
ad017fa7a4df7389d245d02a49b3c79ed70bedb9 |
|
20-Dec-2012 |
Bill Wendling <isanbard@gmail.com> |
Revert r170500. It over-zealously converted *ALL* things named Attributes, which is wrong here. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170721 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
094dbf917127a1228147587076d59ca45b7c258d |
|
19-Dec-2012 |
Bill Wendling <isanbard@gmail.com> |
Rename the 'Attributes' class to 'Attribute'. It's going to represent a single attribute in the future. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170500 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
6febf1265b5a5c3025752193caa9714ed523b12d |
|
13-Dec-2012 |
Eli Friedman <eli.friedman@gmail.com> |
Using CanQualType::getAs<ArrayType> is unsafe; fix the code currently using it, and make sure additional uses don't get introduced. <rdar://problem/12858424>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170081 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
55fc873017f10f6f566b182b70f6fc22aefa3464 |
|
04-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort all of Clang's files under 'lib', and fix up the broken headers uncovered. This required manually correcting all of the incorrect main-module headers I could find, and running the new llvm/utils/sort_includes.py script over the files. I also manually added quite a few missing headers that were uncovered by shuffling the order or moving headers up to be main-module-headers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169237 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
9852f58f50b4fc20914fbce5b4454135a42343f4 |
|
01-Dec-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Don't include Type.h in DeclarationName.h. Recursively prune some includes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169094 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
2fa67efeaf66a9332c30a026dc1c21bef6c33a6c |
|
01-Dec-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169092 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
b15c8984ea300624fbbde385d3907667ce1043fa |
|
29-Nov-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168825 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
3b45ca9e6292b45ab39d8c44d15a617017f26198 |
|
07-Nov-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C modern translator. Start the line directive on a new line. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167542 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
43f4f1e92bb07a04c30c9781be4d0bb5cc30acdd |
|
07-Nov-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
modern ObjC translator. Insert line number for @synchronized statements. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167511 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
f616ae2d1356dadde26ff553eb689e5455d65808 |
|
07-Nov-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C modern rewriter. Insert line numbers in translated code where new code makes the lines be off. This is wip. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167500 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
ba529a9bf9acbfc718970a030017b73715108b8e |
|
06-Nov-2012 |
NAKAMURA Takumi <geek4civic@gmail.com> |
RewriteModernObjC.cpp: Use Lexer::Stringify() on the file name of #line directive to escape Win32 path separator '\\'. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167497 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
9620596ca2ca19e365af4e4d4968cb4d9228c4fc |
|
06-Nov-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
Modern objective-C translator: Start adding line info to the translated source where it is needed. wip. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167469 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
be9af1288881110e406b87914162eaa59f1e5918 |
|
02-Oct-2012 |
Lang Hames <lhames@gmail.com> |
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). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164989 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
1ad23d62007162df82b58bca31b4aa277a5f6586 |
|
10-Sep-2012 |
Dmitri Gribenko <gribozavr@gmail.com> |
Remove redundant semicolons which are null statements. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163546 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
2d234d73f687428c89f8a99af94f123012f05551 |
|
06-Sep-2012 |
Aaron Ballman <aaron@aaronballman.com> |
Fixing the return type information for objc_sync_enter and objc_sync_exit. Patch thanks to Joe Ranieri! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163330 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
305c613af6cfc40e519c75d9d2c84c6fa9a841c0 |
|
01-Sep-2012 |
Ted Kremenek <kremenek@apple.com> |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163050 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|