summaryrefslogtreecommitdiffstats
path: root/clang/clang.xcodeproj
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch to rewrite ObjC2's foreach-stmt.Fariborz Jahanian2008-01-081-1/+1
| | | | llvm-svn: 45760
* move objc expr sema to its own file.Chris Lattner2008-01-041-0/+4
| | | | llvm-svn: 45597
* Fix a crash reported by Seo Sanghyeon.Chris Lattner2008-01-031-0/+1
| | | | llvm-svn: 45530
* Compute the proper sourcerange for an CompoundLiteralExpr.Chris Lattner2008-01-021-1/+0
| | | | llvm-svn: 45504
* move file to proper place in project.Chris Lattner2007-12-281-1/+1
| | | | llvm-svn: 45379
* From Lucas Newman:Chris Lattner2007-12-281-3/+3
| | | | | | | "Here's a tiny patch that lets the clang Xcode project build in any location, so llvm doesn't have to be checked out in your home folder." llvm-svn: 45376
* alphabetize in project.Chris Lattner2007-12-271-4/+4
| | | | llvm-svn: 45373
* Updated Xcode project to be in sync with recent changes in file locationsTed Kremenek2007-12-211-6/+22
| | | | | | introduced in r45292 (http://llvm.org/viewvc/llvm-project?rev=45292&view=rev) llvm-svn: 45293
* Updated locations of TranslationUnit.[cpp,h] in XCode project.Ted Kremenek2007-12-191-6/+11
| | | | | | Added AST/ASTConsumer.cpp to XCode project. llvm-svn: 45206
* reenable this code, fix the testcase.Chris Lattner2007-12-191-1/+0
| | | | llvm-svn: 45205
* Patch to implemented objective-c's dynamic object pointer qualified withFariborz Jahanian2007-12-171-0/+1
| | | | | | the protocol list (id<P,...> types). llvm-svn: 45121
* Targets.cpp is gone.Chris Lattner2007-12-171-4/+0
| | | | llvm-svn: 45119
* Sink getName into DirectoryLookup to simplify the client in clang.Chris Lattner2007-12-171-1/+0
| | | | llvm-svn: 45106
* add headermap.cppChris Lattner2007-12-171-0/+4
| | | | llvm-svn: 45095
* Step #1 in adding headermap support to clang.Chris Lattner2007-12-171-0/+2
| | | | llvm-svn: 45089
* Encode enumeral types.Steve Naroff2007-12-121-0/+1
| | | | llvm-svn: 44956
* unbreak the build. I'm still working on test failures.Chris Lattner2007-12-121-1/+0
| | | | llvm-svn: 44938
* split objc pieces of SemaDecl.cpp out into SemaDeclObjC.cppChris Lattner2007-12-121-0/+4
| | | | llvm-svn: 44925
* Fix a codegen crash on test/CodeGen/cast.c, reported by Keith.Chris Lattner2007-12-121-0/+1
| | | | llvm-svn: 44908
* Add ObjC parser support for concatenated ObjC strings. Note thatChris Lattner2007-12-121-1/+0
| | | | | | | | this is passed to sema and ignored there, so the second part of the string will not make it into the AST. Passing to Fariborz to finish Sema + AST construction. llvm-svn: 44898
* Move target specific builtin IDs to TargetBuiltins.h so that they can be ↵Anders Carlsson2007-12-091-9/+7
| | | | | | used by CGBuiltin.cpp llvm-svn: 44748
* Added Driver/TranslationUnit.h and Driver/TranslationUnit.cpp to theTed Kremenek2007-12-051-0/+6
| | | | | | XCode project. llvm-svn: 44632
* Added Basic/LangOptions.cpp to XCode project.Ted Kremenek2007-12-051-2/+6
| | | | llvm-svn: 44625
* fix a couple switch codegen problems Oliver reported.Chris Lattner2007-12-011-0/+1
| | | | llvm-svn: 44484
* pass diagnostics into the rewrite test client.Chris Lattner2007-11-301-1/+0
| | | | llvm-svn: 44468
* Several fixes/simplifications surrounding how we stream top-level decl AST's.Steve Naroff2007-11-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following code... typedef struct cssm_data {} CSSM_DATA, *CSSM_DATA_PTR; struct Y { int A; }; struct X { int A; } D; struct X E, F; ...now produces the following output... > ../../Debug/bin/clang xx.c -ast-print Read top-level tag decl: 'cssm_data' typedef struct cssm_data CSSM_DATA; typedef struct cssm_data *CSSM_DATA_PTR; Read top-level tag decl: 'Y' Read top-level tag decl: 'X' Read top-level variable decl: 'D' Read top-level variable decl: 'E' Read top-level variable decl: 'F' ...which is much more accurate than the previous -ast-print output... typedef struct cssm_data CSSM_DATA; typedef struct cssm_data CSSM_DATA; Read top-level variable decl: 'D' Read top-level variable decl: 'E' Read top-level variable decl: 'E' llvm-svn: 44421
* Fix a bug checking for 'int foo(void)' that didn't look through typedefs of ↵Chris Lattner2007-11-281-1/+0
| | | | | | | | void. Bug pointed out by Michael Zolda, thanks! llvm-svn: 44408
* Moved logic for -Wfloat-equal to SemaChecking.cpp.Ted Kremenek2007-11-251-0/+2
| | | | | | | | | Moved utility functions IgnoreParen and friends to be static inline functions defined in SemaUtil.h. Added SemaUtil.h to Xcode project. llvm-svn: 44312
* Fix a basic bug (having to do with typedefs) in ↵Steve Naroff2007-11-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Sema::UsualArithmeticConversions(). This resuled in the following crash below. Also modified the usual-float.c test case to capture this case. [steve-naroffs-imac:clang/test/Sema] snaroff% ../../../../Debug/bin/clang usual-float.c Assertion failed: (0 && "Sema::UsualArithmeticConversions(): illegal float comparison"), function UsualArithmeticConversions, file SemaExpr.cpp, line 960. 0 clang 0x001ef9b9 _ZN40_GLOBAL__N_Signals.cpp_00000000_4E6DAF8315PrintStackTraceEv + 45 1 clang 0x001efd5f _ZN40_GLOBAL__N_Signals.cpp_00000000_4E6DAF8313SignalHandlerEi + 323 2 libSystem.B.dylib 0x90c6297b _sigtramp + 43 3 ??? 0xffffffff 0x0 + 4294967295 4 libSystem.B.dylib 0x90cdb782 raise + 26 5 libSystem.B.dylib 0x90cead3f abort + 73 6 libSystem.B.dylib 0x90cdc923 __assert_rtn + 101 7 clang 0x00077316 _ZN5clang4Sema26UsualArithmeticConversionsERPNS_4ExprES3_b + 1004 8 clang 0x000803cf _ZN5clang4Sema27CheckMultiplyDivideOperandsERPNS_4ExprES3_NS_14SourceLocationEb + 181 9 clang 0x0007a8e8 _ZN5clang4Sema10ActOnBinOpENS_14SourceLocationENS_3tok9TokenKindEPvS4_ + 472 10 clang 0x000cf058 _ZN5clang6Parser26ParseRHSOfBinaryExpressionENS_6Action12ActionResultILj0EEEj + 1286 11 clang 0x000cf2de _ZN5clang6Parser25ParseAssignmentExpressionEv + 86 llvm-svn: 43985
* change source location to have two bits for macros, trackingChris Lattner2007-11-091-1/+0
| | | | | | | whether the location is the start and/or end of an expansion. These are currently not set or used by anything. llvm-svn: 43968
* Rewrite global variable initializers. Steve Naroff2007-11-091-1/+2
| | | | llvm-svn: 43947
* add a getAtOffset() member to simplify some code.Chris Lattner2007-11-081-2/+1
| | | | llvm-svn: 43905
* Add a new RewriteRope data structure which is a smarter way to represent the ↵Chris Lattner2007-11-081-0/+2
| | | | | | | | | | | | | | | text backing a rewrite buffer than using an std::vector<char>. This class was hacked together very quickly and needs to be cleaned up, but it seems to work. It speeds up rewriting a a 7M file from 6.43s to 0.24s on my machine. The impl could also be made to be a lot more algorithmically sound. This produces identical output to using vector on this testcase, if it causes a problems or bugs are encountered, it can be disabled by changing the RewriteBuffer::Buffer typedef back. llvm-svn: 43884
* Added TypeSerialization.cpp and DeclSerialization.cpp to the XCode project.Ted Kremenek2007-11-051-1/+9
| | | | llvm-svn: 43710
* add support for vector type compatibility checking. Patch by Nate Begeman.Chris Lattner2007-11-011-0/+1
| | | | llvm-svn: 43604
* Tweak RewriteInterfaceDecl() to generate a typedef (if one hasn't already ↵Steve Naroff2007-11-011-1/+0
| | | | | | been generated). llvm-svn: 43600
* More infrastructure to recognize objective-c's type qualifiers (in,inout, etc.)Fariborz Jahanian2007-10-311-0/+1
| | | | llvm-svn: 43580
* Implement a more sensible strategy for ObjC built-in types (addressing a ↵Steve Naroff2007-10-311-1/+0
| | | | | | | | | | | | long standing FIXME in Sema::GetObjcIdType()). This removes several gross hacks to work around the previous "lazy" behavior. Two notes: - MinimalActions still needs to be taught about the built-in types (This breaks one of the -noop test cases). I started this, then added a FIXME. - I didn't convert Sema::GetObjcProtoType() yet. llvm-svn: 43567
* After Anders check-in, we can now encode 'Class' type.Fariborz Jahanian2007-10-311-0/+1
| | | | llvm-svn: 43556
* Add some plumbing to help cope with rewriting "id<p>", "Class<p>*".Steve Naroff2007-10-311-1/+0
| | | | llvm-svn: 43543
* Added new type and bitfield fields in some decl types in preparation for ↵Fariborz Jahanian2007-10-311-0/+1
| | | | | | | | objective-c's type qualifiers. Added initialization of Class/SEMA types. llvm-svn: 43534
* Stop pre-defining objc_msgSend/objc_getClass in the preprocessor. Instead, I ↵Steve Naroff2007-10-301-1/+0
| | | | | | generate these declaration on the fly when rewriting a message expression. llvm-svn: 43529
* Added type encoding for 'id' type.Fariborz Jahanian2007-10-301-0/+1
| | | | llvm-svn: 43504
* Remove a couple FIXME's for rewriting ObjC interfaces (which are now being ↵Steve Naroff2007-10-301-1/+0
| | | | | | rewritten properly). llvm-svn: 43494
* Encoding for objectiive-c methods.Fariborz Jahanian2007-10-291-0/+1
| | | | llvm-svn: 43481
* This commit contains lot's of small tweaks to how we pass around and store ↵Steve Naroff2007-10-291-1/+0
| | | | | | SourceLocation's for interfaces/protocols/categories/implementations. llvm-svn: 43475
* Address Chris's comments.Anders Carlsson2007-10-291-0/+1
| | | | llvm-svn: 43445
* Implement *skeletal* support for representing GNU inline asm stmts in the AST,Chris Lattner2007-10-291-1/+0
| | | | | | | resolving a crash on a .i file in PR1750. We now generate 49 errors on the .i file in that bug. llvm-svn: 43433
* Path to synthesize 'instance' size field of _objc_class metadata.Fariborz Jahanian2007-10-261-0/+1
| | | | llvm-svn: 43409
* Start rewriting ObjC interfaces. As a start, we comment out all the methods. ↵Steve Naroff2007-10-261-1/+0
| | | | | | This involved refining how the parser/AST passes/manages SourceLocations for ObjcMethodDecl's. llvm-svn: 43404
OpenPOWER on IntegriCloud