- Jul 27, 2011
-
-
Eric Christopher authored
llvm-svn: 136164
-
Eric Christopher authored
llvm-svn: 136163
-
Eric Christopher authored
llvm-svn: 136162
-
Eli Friedman authored
1. Attempting to delete an expression of incomplete class type should be an error, not a warning. 2. If someone tries to delete a pointer to an incomplete class type, make sure we actually emit the delete expression after we warn. llvm-svn: 136161
-
Eric Christopher authored
llvm-svn: 136160
-
Eric Christopher authored
most of them to FileCheck. llvm-svn: 136159
-
Eric Christopher authored
llvm-svn: 136158
-
- Jul 26, 2011
-
-
Argyrios Kyrtzidis authored
@interface Foo : NSObject @property (readonly) id myProp; @end @implementation Foo @synthesize myProp; @end t.m:9:13: error: ARC forbids synthesizing a property of an Objective-C object with unspecified storage attribute @synthesize myProp; ^ which is fine, we want the ownership of the synthesized ivar to be explicit. But we should _not_ emit an error for the following cases, because we can get the ownership either from the declared ivar or from the property type: @interface Foo : NSObject { __weak id _myProp1; id myProp2; } @property (readonly) id myProp1; @property (readonly) id myProp2; @property (readonly) __strong id myProp3; @end @implementation Foo @synthesize myProp1 = _myProp1; @synthesize myProp2; @synthesize myProp3; @end  rdar://9844006. llvm-svn: 136155
-
Eric Christopher authored
CodeGen/2003-08-21-WideString.c CodeGen/2003-10-02-UnionLValueError.c CodeGen/2004-02-20-Builtins.c CodeGen/2008-01-04-WideBitfield.c CodeGen/2002-07-14-MiscTests3.c CodeGen/2005-04-09-ComplexOps.c CodeGen/2008-12-23-AsmIntPointerTie.c CodeGen/2005-07-20-SqrtNoErrno.c CodeGen/2005-01-02-VAArgError-ICE.c CodeGen/2004-06-17-UnorderedCompares.c CodeGen/2002-06-25-FWriteInterfaceFailure.c CodeGen/2002-02-18-64bitConstant.c CodeGen/2002-05-24-Alloca.c CodeGen/2006-01-13-Includes.c CodeGen/2007-09-27-ComplexIntCompare.c CodeGen/2004-02-13-IllegalVararg.c CodeGen/2007-09-12-PragmaPack.c CodeGen/2002-08-02-UnionTest.c from test/FrontendC with changes to remove header file includes. llvm-svn: 136153
-
Ted Kremenek authored
Report more memory using in Preprocessor::getTotalMemory() and PreprocessingRecord::getTotalMemory(). Most of the memory was already reported; but now we report more memory from side data structures. Fixes <rdar://problem/9379717>. llvm-svn: 136150
-
Eric Christopher authored
to remove header file includes. llvm-svn: 136134
-
Eric Christopher authored
changes to remove any #include lines. llvm-svn: 136129
-
Eric Christopher authored
to avoid header inclusions. llvm-svn: 136128
-
Eric Christopher authored
modify to avoid any outside includes. llvm-svn: 136127
-
Eric Christopher authored
and modified to avoid includes. llvm-svn: 136126
-
Eric Christopher authored
llvm-svn: 136114
-
Kaelyn Uhrain authored
llvm-svn: 136113
-
Jonathan D. Turner authored
This patch extends the previous patch by starting to incorporate more functionality, like lookup-by-name and exporting lookup tables, into the module manager. Methods now have documentation. A few more functions have been switched over to the new iterator style and away from manual/explicit iteration. Ultimately we want to move away from name lookup here, as symlinks make filenames not a safe unique value, but we use it here as a stopgap before better measures are in place (namely instead using FileEntry* from a global FileManager). llvm-svn: 136107
-
Fariborz Jahanian authored
in few more places and in each instance, fix up the type to the expected type. // rdar://9603056 llvm-svn: 136103
-
Benjamin Kramer authored
llvm-svn: 136092
-
Douglas Gregor authored
provides the partial Objective-C selector used in a code completion. From Connor Wakamo! llvm-svn: 136084
-
Douglas Gregor authored
that allocates an array of objects with a non-trivial destructor, be sure to mark the destructor is "used". Fixes PR10480 / <rdar://problem/9834317>. llvm-svn: 136081
-
Douglas Gregor authored
lifetime-qualified template parameter, ensure that the deduced template argument is a lifetime type. Fixes <rdar://problem/9828157>. llvm-svn: 136078
-
Chad Rosier authored
the preferred alignment. Thus, revert r135934, r135935, and r135940. llvm-svn: 136062
-
Chandler Carruth authored
refer to 'expansion' instead of 'instantiation'. llvm-svn: 136060
-
Chandler Carruth authored
llvm-svn: 136059
-
Chandler Carruth authored
'expansion' rather than 'instantiation' for macro source locations. llvm-svn: 136058
-
Chandler Carruth authored
etc. With this I think essentially all of the SourceManager APIs are converted. Comments and random other bits of cleanup should be all thats left. llvm-svn: 136057
-
Chandler Carruth authored
and various other 'expansion' based terms. I've tried to reformat where appropriate and catch as many references in comments but I'm going to do several more passes. Also I've tried to expand parameter names to be more clear where appropriate. llvm-svn: 136056
-
Chandler Carruth authored
llvm-svn: 136054
-
Chandler Carruth authored
to isMacroArgExpansion. llvm-svn: 136053
-
Kaelyn Uhrain authored
and to work with pointer arithmetic in addition to array indexing. The new pointer arithmetic porition of the array bounds checking can be turned on by -Warray-bounds-pointer-arithmetic (and is off by default). llvm-svn: 136046
-
Evan Cheng authored
llvm-svn: 136045
-
Kaelyn Uhrain authored
llvm-svn: 136044
-
NAKAMURA Takumi authored
llvm-svn: 136043
-
Eric Christopher authored
llvm-svn: 136041
-
Eric Christopher authored
optimization from the test. llvm-svn: 136039
-
Eric Christopher authored
Use the driver instead of just clang -cc1. llvm-svn: 136037
-
Eric Christopher authored
llvm-svn: 136036
-
Eric Christopher authored
2003-09-18-BitfieldTests.c 2007-04-11-PR1321.c 2003-11-13-TypeSafety.c 2003-08-29-StructLayoutBug.c 2010-05-14-Optimized-VarType.c 2003-10-06-NegateExprType.c 2007-06-05-NoInlineAttribute.c 2011-03-31-ArrayRefFolding.c 2010-07-14-ref-off-end.c Atomics-no64bit.c 2007-05-11-str-const.c 2004-11-27-InvalidConstantExpr.c 2007-04-05-UnPackedStruct.c 2004-03-15-SimpleIndirectGoto.c 2004-01-08-ExternInlineRedefine.c sret2.c 2007-02-07-AddrLabel.c 2002-09-19-StarInLabel.c 2003-11-16-StaticArrayInit.c 2003-08-18-SigSetJmp.c 2007-04-24-VolatileStructCopy.c 2002-07-29-Casts.c 2005-06-15-ExpandGotoInternalProblem.c 2007-09-17-WeakRef.c 2007-04-24-str-const.c 2003-08-30-LargeIntegerBitfieldMember.c inline-asm-mrv.c from llvm/test/FrontendC. llvm-svn: 136035
-