ef8225444452a1486bd721f3285301fe84643b00 |
|
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update Clang for rebase to r212749. This also fixes a small issue with arm_neon.h not being generated always. Includes a cherry-pick of: r213450 - fixes mac-specific header issue r213126 - removes a default -Bsymbolic on Android Change-Id: I2a790a0f5d3b2aab11de596fc3a74e7cbc99081d
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
6bcf27bb9a4b5c3f79cb44c0e4654a6d7619ad89 |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update Clang for 3.5 rebase (r209713). Change-Id: I8c9133b0f8f776dc915f270b60f94962e771bc83
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
651f13cea278ec967336033dd032faef0e9fc2ec |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Updated to Clang 3.5a. Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
040cd82aadd48ba50e9742881d648d53ddd2a6c9 |
|
07-Oct-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
ObjectiveC modern rewriter. Rewrite typedefs declared locally in ObjectiveC containers. // rdar://15143875 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192127 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
2330df43c89dfbcf888a1b0d608f71546f29b6cf |
|
24-Sep-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
Revert my patch in r191155 to allow forward class/protocol decls in @implementation and fixup modern rewriter to handle that. // rdar://15066233 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191311 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
786e56f5b49fb5f1a4314629a1b80c9308ead28e |
|
17-Sep-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
ObjectiveC modern translator: Provide proper cast of the ObjectiveC object of an @synchronized statement. // rdar://14993814 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190874 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
4a08e2b0370eb182aa3755ea4b4ca76d096cbb50 |
|
11-Sep-2013 |
Eli Friedman <eli.friedman@gmail.com> |
Remove unused variable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190445 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
426bb9c9008b9f042e8b882352a2070e5b39d08c |
|
09-Sep-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
Modern ObjectiveC translator. Fix translation of message sent to aggregate-valued methods. Fix visibility of trampoline type used in translation of such expressions. // rdar://14932320 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190341 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
e575359c34a9248c55ec0c03a8fc945f1ee4cb01 |
|
09-Sep-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
Fix constructor-related typos. Noticed by Roman Divacky. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190311 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
e38f08aa831617cd0b6dc90d82f98eda674c0fc8 |
|
05-Sep-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
ObjectiveC modern translator: fix up generated fast enumeration code to work for bit 32bit and 64bit APIs. // rdar://14913632 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190072 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
24146975f1af8c1b4b14e8545f218129d0e7dfeb |
|
22-Aug-2013 |
Eli Friedman <eli.friedman@gmail.com> |
Split isFromMainFile into two functions. Basically, isInMainFile considers line markers, and isWrittenInMainFile doesn't. Distinguishing between the two is useful when dealing with files which are preprocessed files or rewritten with -frewrite-includes (so we don't, for example, print useless warnings). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188968 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
6b9240e058bf3451685df73fc8ce181b3046e92b |
|
05-Jul-2013 |
Craig Topper <craig.topper@gmail.com> |
Use SmallVectorImpl& for function arguments instead of SmallVector. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185715 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
09d19efaa147762f84aed55efa7930bb3616a4e5 |
|
04-Jul-2013 |
Craig Topper <craig.topper@gmail.com> |
Use SmallVectorImpl instead of SmallVector for iterators and references to avoid specifying the vector size unnecessarily. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185610 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
d2615cc53b916e8aae45783ca7113b93de515ce3 |
|
03-Apr-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add 178663 back. http://lab.llvm.org:8011/builders/clang-x86_64-darwin10-gdb went back green before it processed the reverted 178663, so it could not have been the culprit. Revert "Revert 178663." This reverts commit 4f8a3eb2ce5d4ba422483439e20c8cbb4d953a41. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178682 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
4f8a3eb2ce5d4ba422483439e20c8cbb4d953a41 |
|
03-Apr-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Revert 178663. Looks like it broke http://lab.llvm.org:8011/builders/clang-x86_64-darwin10-gdb Revert "Don't compute a patched/semantic storage class." This reverts commit 8f187f62cb0487d31bc4afdfcd47e11fe9a51d05. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178681 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
f9f30791dd20472675de012105219cd975ad1076 |
|
03-Apr-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
Objective-C modern rewriter. Fixes a bug rewriting typedef for a qualified object type and also when two declarations happen to be on the same line. // rdar://13562505 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178680 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
8f187f62cb0487d31bc4afdfcd47e11fe9a51d05 |
|
03-Apr-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Don't compute a patched/semantic storage class. For variables and functions clang used to store two storage classes. The one "as written" in the code and a patched one, which, for example, propagates static to the following decls. This apparently is from the days clang lacked linkage computation. It is now redundant and this patch removes it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178663 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
|
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
|