- Jun 04, 2008
-
-
Steve Naroff authored
llvm-svn: 51939
-
Steve Naroff authored
Sema::ActOnClassMessage() needs to look through it's local implementation for private class methods. llvm-svn: 51938
-
Argyrios Kyrtzidis authored
llvm-svn: 51936
-
Steve Naroff authored
Fixes <rdar://problem/5984338> clang on xcode: property implementation must have its declaration in interface 'PBXOpenQuicklyModule' llvm-svn: 51925
-
Steve Naroff authored
llvm-svn: 51924
-
Steve Naroff authored
llvm-svn: 51920
-
- Jun 03, 2008
-
-
Steve Naroff authored
Fix <rdar://problem/5967199> clang on xcode: error: member reference is not to a structure or union llvm-svn: 51919
-
Eli Friedman authored
moves the check for the invalid construct to a point where it doesn't affect other uses of isIntegerConstantExpr, and we can warn properly when the extension is used. This makes it a bit more complicated, but it's a lot cleaner. Steve, please tell me if this check is sufficient to handle the relevant system header. I know it's enough to handle the testcase, but I don't know what exactly the original looks like. llvm-svn: 51918
-
Steve Naroff authored
llvm-svn: 51913
-
Steve Naroff authored
Change Expr::isIntegerConstantExpr() to allow for pointer types (for GCC compatibility). Note FIXME. Fix <rdar://problem/5977870> clang on xcode: error: arrays with static storage duration must have constant integer length llvm-svn: 51907
-
Steve Naroff authored
Allow implicit pointer/int conversions on ObjCQualifiedIdTypes in Sema::CheckCompareOperands() and Sema::CheckAssignmentConstraints(). Fixes <rdar://problem/5980804> clang on xcode: error: incompatible type sending 'id<XDUMLType>', expected 'NSCellType'. llvm-svn: 51902
-
Steve Naroff authored
llvm-svn: 51901
-
Steve Naroff authored
Fixes part of <rdar://problem/5980829> clang on xcode: used type 'NSRange' where arithmetic or pointer type is required. llvm-svn: 51900
-
Steve Naroff authored
<rdar://problem/5980846> clang on xcode: error: declarator requires an identifier (for @catch) llvm-svn: 51895
-
-
- Jun 02, 2008
-
-
Chris Lattner authored
objc message send in an initializer expression. llvm-svn: 51882
-
-
Nuno Lopes authored
this plugs the leak of attributes and also fixes a crash in the test llvm-svn: 51862
-
- Jun 01, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 51847
-
Nuno Lopes authored
llvm-svn: 51843
-
Eli Friedman authored
Patch by David Chisnall. llvm-svn: 51840
-
Eli Friedman authored
much closer to passing the gcc struct layout tests. It might be possible to refactor this a bit, but I'm not sure there's actually enough common code for that to be useful. To get the calling convention completely correct, a bit of platform-specific code is necessary even for x86-Linux. On x86-Linux, the alignment of function parameters is extremely strange; as far as I can tell, it's always 4 except for SSE vectors or structs containing SSE vectors. I'm continuing to investigate this. llvm-svn: 51839
-
Eli Friedman authored
llvm-svn: 51838
-
Eli Friedman authored
llvm-svn: 51837
-
Anton Korobeynikov authored
llvm-svn: 51836
-
Anton Korobeynikov authored
Implemented by David Chisnall! llvm-svn: 51835
-
Steve Naroff authored
This eliminates a bogus warning identified in the test below. This fixes <rdar://problem/5968256> clang on xcode: error: incompatible type initializing 'NSObject<XCSelectionSource> *', expected 'id<NSObject,XCSelectionSource>' llvm-svn: 51832
-
Steve Naroff authored
Teach Sema::CheckConditionalOperands() to check for ObjCQualifiedIdType's. This fixes a bogus error. <rdar://problem/5967036> clang on xcode: error: incompatible operand types ('id<DTOutputStreams>' and 'DTFilterOutputStream *') llvm-svn: 51828
-
- May 31, 2008
-
-
Eli Friedman authored
llvm-svn: 51826
-
Ted Kremenek authored
TranslationUnit object instead of an ASTContext. By default it calls Initialize(ASTConstext& Context) (to match with the current interface used by most ASTConsumers). Modified the ObjC-Rewriter to use InitializeTU, and to tell the TranslationUnit to not free its Decls. This is a workaround for: <rdar://problem/5966749> llvm-svn: 51825
-
-
Steve Naroff authored
Teach Expr::isLvalue() about ObjC properties. For now, all properties are writable. Added a FIXME for another day. llvm-svn: 51800
-
- May 30, 2008
-
-
Eli Friedman authored
types so that they end up the correct size. llvm-svn: 51787
-
Eli Friedman authored
this does is reconstruct the type for structs and arrays if the type wouldn't be compatible otherwise. The assertion about packing in the struct type reconstruction code sucks, but I don't see any obvious way to fix it. Maybe we need a general utility method to take a list of types and alignments and try to construct an unpacked type if possible? llvm-svn: 51785
-
Eli Friedman authored
associated declaration. This is a prerequisite to handling general union initializations; for example, an array of unions involving pointers has to be turned into a struct because the elements can have incompatible types. I refactored the code a bit to make it more readable; now, the logic for definitions is all in EmitGlobalVarInit. The second parameter for GetAddrOfGlobalVar is now dead; I'll remove it separately. By itself, this patch should not cause any visible changes. llvm-svn: 51783
-
Eli Friedman authored
required by the standard (the standard doesn't know anything about implicit casts). Disallow pointers cast to non-integral arithmetic types as constant expressions. This was previously allowed by accident. llvm-svn: 51779
-
Eli Friedman authored
llvm-svn: 51778
-
Ted Kremenek authored
Fix some strict-aliasing warnings by using Stmt* instead of Expr* in VariableArrayType, EnumConstantDecl, and VarDecl. llvm-svn: 51772
-
Eli Friedman authored
of elements. llvm-svn: 51769
-
Eli Friedman authored
This fixes a crash on the included testcase (found in NetHack). llvm-svn: 51767
-