| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix trivial crasher and downgrade an error to warning (to match GCC). | Steve Naroff | 2008-06-05 | 3 | -7/+25 |
| | | | | | llvm-svn: 51976 | ||||
| * | Support "<p>" as a short-hand for "id<p>". Here's a comment from GCC (the ↵ | Steve Naroff | 2008-06-05 | 2 | -1/+321 |
| | | | | | | | | | | | only documentation I could find on it). /* Make "<SomeProtocol>" equivalent to "id <SomeProtocol>" - nisse@lysator.liu.se. */ This commit adds the parser magic. The type associated with <p> is still incorrect. Will discuss with Chris. llvm-svn: 51972 | ||||
| * | Fix crash identified by <rdar://problem/5986085>. | Steve Naroff | 2008-06-04 | 2 | -11/+102 |
| | | | | | llvm-svn: 51969 | ||||
| * | Add ObjCInterface layout support. | Devang Patel | 2008-06-04 | 4 | -2/+79 |
| | | | | | | | Reuse RecordLayout. llvm-svn: 51968 | ||||
| * | Update a test and add a FIXME. | Steve Naroff | 2008-06-04 | 1 | -1/+25 |
| | | | | | llvm-svn: 51967 | ||||
| * | Refactoring. | Devang Patel | 2008-06-04 | 2 | -78/+98 |
| | | | | | | | Move field layout code in a ASTRecordLayout member fn. llvm-svn: 51966 | ||||
| * | ccc-analyzer now properly eats the -install_name, -exported_symbols_list, ↵ | Ted Kremenek | 2008-06-04 | 1 | -0/+9 |
| | | | | | | | -current_version, -compatibility_version, and -sectorder command line arguments. llvm-svn: 51965 | ||||
| * | Added fixmes. | Ted Kremenek | 2008-06-04 | 2 | -0/+4 |
| | | | | | llvm-svn: 51964 | ||||
| * | Parser::ParseObjCSynchronizedStmt() needs to Enter/Exit a decl scope. | Steve Naroff | 2008-06-04 | 2 | -0/+81 |
| | | | | | llvm-svn: 51963 | ||||
| * | Make sure the types are consistent for a void conditional. No visible | Eli Friedman | 2008-06-04 | 1 | -4/+4 |
| | | | | | | | difference, but it's better to be consistent. llvm-svn: 51961 | ||||
| * | For setting attributes, don't assume there are ParamVarDecls available, | Eli Friedman | 2008-06-04 | 2 | -15/+22 |
| | | | | | | | | because trying to access non-existent ParamVarDecls can crash. Testcase from the original source for PR2414. llvm-svn: 51960 | ||||
| * | fix crash when codegening 'cond ? lhs : call-to-void-func()' | Nuno Lopes | 2008-06-04 | 2 | -1/+13 |
| | | | | | llvm-svn: 51958 | ||||
| * | fix type of ?: operator. If one of the operator is void, the type should be ↵ | Nuno Lopes | 2008-06-04 | 2 | -3/+16 |
| | | | | | | | | | void as well. Please confirm this is safe llvm-svn: 51957 | ||||
| * | Fix a gcc compatibility issue which allows more protocol-qualified id on RHS ↵ | Fariborz Jahanian | 2008-06-04 | 2 | -3/+96 |
| | | | | | | | | | to be assigned to less protocol qualified object on LHS. llvm-svn: 51956 | ||||
| * | Don't assume that the type of a FunctionDecl is a FunctionType; that | Eli Friedman | 2008-06-04 | 2 | -1/+14 |
| | | | | | | | assumption isn't accurate in the presence of typedefs. llvm-svn: 51951 | ||||
| * | Make the width and alignment for long double consistent with the | Eli Friedman | 2008-06-04 | 1 | -2/+2 |
| | | | | | | | | | | hardcoded data layout in getTargetDescription. Hopefully fixes a test failure. Of course, this should be fixed properly, but that's a bigger fix. llvm-svn: 51948 | ||||
| * | clang fix to parallel LLVM r51928 | Eli Friedman | 2008-06-04 | 1 | -1/+1 |
| | | | | | | | (http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080602/063306.html). llvm-svn: 51944 | ||||
| * | Moved LangOptions from TranslationUnit to ASTContext. This induced a ↵ | Ted Kremenek | 2008-06-04 | 9 | -63/+53 |
| | | | | | | | variety of cleanups in some ASTConsumers. llvm-svn: 51943 | ||||
| * | Update Xcode project. | Ted Kremenek | 2008-06-04 | 1 | -0/+4 |
| | | | | | llvm-svn: 51941 | ||||
| * | ASTContext::typesAreCompatible(): id is compatible with all qualified id types. | Steve Naroff | 2008-06-04 | 2 | -1/+26 |
| | | | | | llvm-svn: 51939 | ||||
| * | Sema::ActOnClassMessage() needs to look through it's local implementation ↵ | Steve Naroff | 2008-06-04 | 2 | -0/+40 |
| | | | | | | | for private class methods. llvm-svn: 51938 | ||||
| * | Move Decl and DeclContext implementations into a new DeclBase.cpp file. | Argyrios Kyrtzidis | 2008-06-04 | 2 | -312/+326 |
| | | | | | llvm-svn: 51936 | ||||
| * | Make sure we look through categories when searching for a classes property. | Steve Naroff | 2008-06-04 | 2 | -0/+81 |
| | | | | | | | Fixes <rdar://problem/5984338> clang on xcode: property implementation must have its declaration in interface 'PBXOpenQuicklyModule' llvm-svn: 51925 | ||||
| * | Give the "isa" slot a name! | Steve Naroff | 2008-06-04 | 1 | -1/+2 |
| | | | | | llvm-svn: 51924 | ||||
| * | Add a few more built-in functions. | Steve Naroff | 2008-06-03 | 1 | -1/+4 |
| | | | | | llvm-svn: 51921 | ||||
| * | Put back my temporary hack until Eli addresses this in a more complete fashion. | Steve Naroff | 2008-06-03 | 2 | -0/+28 |
| | | | | | llvm-svn: 51920 | ||||
| * | Implement another property related FIXME: | Steve Naroff | 2008-06-03 | 1 | -1/+3 |
| | | | | | | | Fix <rdar://problem/5967199> clang on xcode: error: member reference is not to a structure or union llvm-svn: 51919 | ||||
| * | Re-fix r51907 in a way which doesn't affect valid code. This essentially | Eli Friedman | 2008-06-03 | 4 | -8/+62 |
| | | | | | | | | | | | | | | 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 | ||||
| * | Fixup recent "super" regression. | Steve Naroff | 2008-06-03 | 1 | -1/+1 |
| | | | | | llvm-svn: 51913 | ||||
| * | Add a builtin. Fixes <rdar://problem/5982037> clang on xcode: error: ↵ | Steve Naroff | 2008-06-03 | 1 | -0/+1 |
| | | | | | | | incompatible operand types ('int' and 'char *'). llvm-svn: 51908 | ||||
| * | Change Expr::isIntegerConstantExpr() to allow for pointer types (for GCC ↵ | Steve Naroff | 2008-06-03 | 2 | -0/+11 |
| | | | | | | | | | compatibility). Note FIXME. Fix <rdar://problem/5977870> clang on xcode: error: arrays with static storage duration must have constant integer length llvm-svn: 51907 | ||||
| * | Allow implicit pointer/int conversions on ObjCQualifiedIdTypes in ↵ | Steve Naroff | 2008-06-03 | 2 | -10/+18 |
| | | | | | | | | | Sema::CheckCompareOperands() and Sema::CheckAssignmentConstraints(). Fixes <rdar://problem/5980804> clang on xcode: error: incompatible type sending 'id<XDUMLType>', expected 'NSCellType'. llvm-svn: 51902 | ||||
| * | Finish up r51900. | Steve Naroff | 2008-06-03 | 2 | -4/+23 |
| | | | | | llvm-svn: 51901 | ||||
| * | Allow for a GCC cast extension. | Steve Naroff | 2008-06-03 | 2 | -3/+12 |
| | | | | | | | Fixes part of <rdar://problem/5980829> clang on xcode: used type 'NSRange' where arithmetic or pointer type is required. llvm-svn: 51900 | ||||
| * | make rewrite macros insert a space when commenting out macros where the ↵ | Chris Lattner | 2008-06-03 | 1 | -2/+3 |
| | | | | | | | | | token didn't lead with a space. llvm-svn: 51896 | ||||
| * | Fix parser bug/FIXME with @catch. | Steve Naroff | 2008-06-03 | 2 | -7/+48 |
| | | | | | | | <rdar://problem/5980846> clang on xcode: error: declarator requires an identifier (for @catch) llvm-svn: 51895 | ||||
| * | Fix <rdar://problem/5979875> clang on xcode: error: use of undeclared ↵ | Steve Naroff | 2008-06-02 | 7 | -4/+85 |
| | | | | | | | identifier 'super' llvm-svn: 51888 | ||||
| * | Use the correct 'ccc-analyzer' when the build command is a direct invocation ↵ | Ted Kremenek | 2008-06-02 | 1 | -2/+3 |
| | | | | | | | of gcc. llvm-svn: 51883 | ||||
| * | handle the full assignment-expression grammar when using an | Chris Lattner | 2008-06-02 | 4 | -5/+34 |
| | | | | | | | objc message send in an initializer expression. llvm-svn: 51882 | ||||
| * | Fix <rdar://problem/5976164> clang ObjC rewriter: for ... in enumeration ↵ | Steve Naroff | 2008-06-02 | 1 | -0/+1 |
| | | | | | | | inserts undeclared function (objc_enumerationMutation should be in preamble) llvm-svn: 51880 | ||||
| * | Teach the CF retain checker about "_init" methods. Fixes: ↵ | Ted Kremenek | 2008-06-02 | 2 | -10/+21 |
| | | | | | | | <rdar://problem/5956379> llvm-svn: 51872 | ||||
| * | Use "file_language" for per-language -x options. | Ted Kremenek | 2008-06-02 | 1 | -2/+2 |
| | | | | | llvm-svn: 51871 | ||||
| * | fix decl attributes cleaning | Nuno Lopes | 2008-06-01 | 4 | -9/+32 |
| | | | | | | | this plugs the leak of attributes and also fixes a crash in the test llvm-svn: 51862 | ||||
| * | Include <string> header to allow compiling for MSVC. | Argyrios Kyrtzidis | 2008-06-01 | 1 | -0/+1 |
| | | | | | llvm-svn: 51847 | ||||
| * | fix PR2357 (#ifs didnt invalidate the multiple-inclusion optimization state) | Nuno Lopes | 2008-06-01 | 2 | -9/+37 |
| | | | | | llvm-svn: 51843 | ||||
| * | Don't name the ObjC types if there aren't any ObjC objects in the file. | Eli Friedman | 2008-06-01 | 1 | -4/+6 |
| | | | | | | | Patch by David Chisnall. llvm-svn: 51840 | ||||
| * | First cut at setting attributes for functions and calls; this puts us | Eli Friedman | 2008-06-01 | 4 | -34/+90 |
| | | | | | | | | | | | | | | | | 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 | ||||
| * | Make sure _Bool globals have the correct type. | Eli Friedman | 2008-06-01 | 2 | -3/+12 |
| | | | | | llvm-svn: 51838 | ||||
| * | Minor cleanup to use the ConvertTypeForMem helper. | Eli Friedman | 2008-06-01 | 1 | -5/+3 |
| | | | | | llvm-svn: 51837 | ||||
| * | Remove spurious == 0 | Anton Korobeynikov | 2008-06-01 | 1 | -1/+1 |
| | | | | | llvm-svn: 51836 | ||||

