- Feb 02, 2013
-
-
Michael Gottesman authored
On platforms which do not support ARC natively, do not mark objc_retain/objc_release as "nonlazybind". rdar://13108298. rdar://13129783. llvm-svn: 174253
-
David Blaikie authored
This addresses several (not all) debug info tests that use explicit metadata numbers. Wherever the same number appeared more than once in a test I used a named match to ensure the same number appeared in all those cases (this may still be overly constraining test cases as they may not have actually cared about that relationship). For one-off numbers I just replaced them with an unnamed regex. This may underconstrain poorly written test cases that were interested in checking that certain metadata nodes were related but didn't actually match on all the related nodes numbers. llvm-svn: 174247
-
Anna Zaks authored
Inlining these functions is essential for correctness. We often have cases where we do not inline calls. For example, the shallow mode and when reanalyzing previously inlined ObjC methods as top level. llvm-svn: 174245
-
Nick Lewycky authored
says, but that's a defect (to be filed). "Cls::purevfn()" is still an odr use. Also fixes a bug that caused us to not mark the function referenced just because we didn't want to mark it odr used. llvm-svn: 174242
-
Douglas Gregor authored
Different modules may have different views of the various "special" types in the AST, such as the redefinition type for "id". Merge those types rather than only considering the redefinition types for the first AST file loaded. llvm-svn: 174234
-
- Feb 01, 2013
-
-
NAKAMURA Takumi authored
llvm-svn: 174229
-
Dmitri Gribenko authored
This change introduces a 'kind' attribute for the <Para> tag, that captures the kind of the parent block command. For example: \todo Meow. used to be just <Para>Meow.</Para>, but now it is <Para kind="todo">Meow.</Para> llvm-svn: 174216
-
Bill Schmidt authored
llvm-svn: 174215
-
Fariborz Jahanian authored
nsstringis are compared without. // rdar://12716301 llvm-svn: 174214
-
Jordan Rose authored
Suggested by Csaba. Text based on an e-mail of mine on cfe-dev. llvm-svn: 174213
-
Jordan Rose authored
With the optimization in the previous commit, this should be safe again. Originally applied in r173951, then reverted in r174069. llvm-svn: 174212
-
Jordan Rose authored
This allows us to keep from chaining LazyCompoundVals in cases like this: CGRect r = CGRectMake(0, 0, 640, 480); CGRect r2 = r; CGRect r3 = r2; Previously we only made this optimization if the struct did not begin with an aggregate member, to make sure that we weren't picking up an LCV for the first field of the struct. But since LazyCompoundVals are typed, we can make that inference directly by comparing types. This is a pure optimization; the test changes are to guard against possible future regressions. llvm-svn: 174211
-
David Blaikie authored
r173593 made us a little too eager to associate all code at the end of a function with the user-written 'return' line. This caused problems with breakpoints as they'd be set in exception handling code preceeding the actual non-exception return handling code, leading to the breakpoint never being hit in non-exceptional execution. This change restores the pre-r173593 exception handling line information where the cleanup code is associated with the '}' not the return line. llvm-svn: 174206
-
Hal Finkel authored
I've renamed the altivec test to ppc-features (because now there is more than one feature to test). llvm-svn: 174204
-
Bill Schmidt authored
llvm-svn: 174185
-
Bill Schmidt authored
llvm-svn: 174183
-
Alexander Kornienko authored
llvm-svn: 174182
-
Bill Schmidt authored
Prior to the patch, Clang does not properly promote types when a complex integer operand is combined with an integer via a binary operator, or when one is assigned to the other in either order. This patch detects when promotion is needed (and permissible) and generates the necessary code. The test assmes no target has the same size operands for "char" and "long long," and that no target performs arithmetic on char operands without extending them to a larger format first. If there are any targets for which this is not the case, they should be XFAILed. llvm-svn: 174181
-
Bill Schmidt authored
As suggested, reverted the end-to-end test and added variations to an existing Driver test. llvm-svn: 174176
-
Richard Smith authored
llvm-svn: 174160
-
Nick Lewycky authored
defined. Fixes PR14993! llvm-svn: 174158
-
Richard Smith authored
Also support alignas(0), which C++11 and C11 require us to ignore. llvm-svn: 174157
-
Hal Finkel authored
The a2q core is the variant of the a2 core used on the BG/Q supercomputers. llvm-svn: 174151
-
John McCall authored
Previously we were only handling non-array fields of class type. Testcases derived from a patch by WenHan Gu. llvm-svn: 174146
-
Douglas Gregor authored
class. Fixes <rdar://problem/13017229>. llvm-svn: 174145
-
Bill Schmidt authored
Introduces these negation forms explicitly and uses them to control a new "altivec" target feature for PowerPC. This allows avoiding generating Altivec instructions on processors that support Altivec. The new test case verifies that the Altivec "lvx" instruction is not used when -fno-altivec is present on the command line. llvm-svn: 174140
-
Michael Han authored
Remove "IsMSDeclspec" argument from Align attribute since the arguments in Attr.td should only model those appear in source code. Introduce attribute Accessor, and teach TableGen to generate syntax kind accessors for Align attribute, and use those accessors to decide if an alignment attribute is a declspec attribute. llvm-svn: 174133
-
NAKAMURA Takumi authored
clang/test/Index/headerfile-comment-to-html.m: Try to unbreak libxml2-less hosts to eliminate "CommentXMLValid". llvm-svn: 174124
-
Bill Wendling authored
This update coincides with r174110. That change ordered the attributes alphabetically. llvm-svn: 174111
-
Fariborz Jahanian authored
\headerfile command and representing it in an xml document. Patch reviewed by Dmitri Gribenko. // rdar://12397511 llvm-svn: 174109
-
- Jan 31, 2013
-
-
Anna Zaks authored
The Cnt variable is adjusted (incremented) for simplification of checking logic. The increment should not be stored in the state. llvm-svn: 174104
-
Jordan Rose authored
This matches our behavior for autorelease pools created by +alloc. Some people like to create autorelease pools in one method and release them somewhere else. If you want safe autorelease pool semantics, use the new ARC-compatible syntax: @autoreleasepool { ... } <rdar://problem/13121353> llvm-svn: 174096
-
Jordan Rose authored
This allows people to use Unicode in their #pragma mark and in macros that exist only to be string-ized. <rdar://problem/13107323&13121362> llvm-svn: 174081
-
Jordan Rose authored
It's causing hangs on our internal analyzer buildbot. Will restore after investigating. This reverts r173951 / baa7ca1142990e1ad6d4e9d2c73adb749ff50789. llvm-svn: 174069
-
NAKAMURA Takumi authored
llvm-svn: 174064
-
Tim Northover authored
In cooperation with the LLVM patch, this should implement all scalar front-end parts of the C and C++ ABIs for AArch64. This patch excludes the NEON support also reviewed due to an outbreak of batshit insanity in our legal department. That will be committed soon bringing the changes to precisely what has been approved. Further reviews would be gratefully received. llvm-svn: 174055
-
Douglas Gregor authored
constructor, retrieve our VTT parameter directly. Fixes PR14588 / <rdar://problem/12867962>. llvm-svn: 174042
-
Richard Smith authored
have a direct mismatch between some component of the template and some component of the argument. The diagnostic now says what the mismatch was, but doesn't yet say which part of the template doesn't match. llvm-svn: 174039
-
Douglas Gregor authored
Objective-C message receiver, the user is as likely to want to write a type name as any other declaration, so give types the same priority as other declarations. Fixes <rdar://problem/12480600>. llvm-svn: 174038
-
Douglas Gregor authored
Allow the computation of the base priority for a declaration code completion result to consider the completion context llvm-svn: 174037
-