Anders Carlsson
9fcfc3a32e
Update xcode project
...
llvm-svn: 99860
2010-03-30 02:08:20 +00:00
Fariborz Jahanian
519675bbf5
Add some missing files to xcode project
...
llvm-svn: 99318
2010-03-23 20:23:06 +00:00
Anders Carlsson
09db5370b7
Assert that primary bases always have offset 0.
...
llvm-svn: 98223
2010-03-11 01:49:18 +00:00
Anders Carlsson
e3385f566b
More improvements to construction vtables; we know handle vbase offsets correctly (I hope).
...
llvm-svn: 97361
2010-02-28 01:43:58 +00:00
Anders Carlsson
96fe0b5b96
Combine AsmStmt::setOutputsAndInputs and AsmStmt::setClobbers.
...
llvm-svn: 94918
2010-01-30 19:34:25 +00:00
Anders Carlsson
18c352605f
Update .xcodeproj file (Yes this is getting old and I should really switch to the cmake based project :)
...
llvm-svn: 94789
2010-01-29 01:56:42 +00:00
Anders Carlsson
0af6ac417f
Update the xcode project for real and don't check in a failing test.
...
llvm-svn: 94655
2010-01-27 03:24:27 +00:00
Fariborz Jahanian
f9e8c2b759
Refix rewriting of an ivar access when it is
...
type-cast to its sub-class (radar 7575882).
llvm-svn: 94559
2010-01-26 18:28:51 +00:00
Anders Carlsson
f768db7775
Move the VTT related code into its own file, CGVTT.cpp
...
llvm-svn: 94079
2010-01-21 16:50:45 +00:00
Anders Carlsson
c68266f324
Update Xcode project.
...
llvm-svn: 93861
2010-01-19 06:04:24 +00:00
Anders Carlsson
a5ca598ce6
More work on the FullExpr class.
...
llvm-svn: 91513
2009-12-16 06:10:22 +00:00
Anders Carlsson
afb2dade0c
Check in a rudimentary FullExpr class that isn't used anywhere yet. Rename Action::FullExpr to Action::MakeFullExpr to avoid name clashes.
...
llvm-svn: 91494
2009-12-16 02:09:40 +00:00
Daniel Dunbar
3c6d1b52a0
Remove clang-cc tool, it has joined in unholy union with clang.
...
- tools/driver will be renamed to tools/clang at some point.
llvm-svn: 91195
2009-12-12 00:56:47 +00:00
Anders Carlsson
3c951d1ae0
Fix tabs.
...
llvm-svn: 91025
2009-12-10 00:57:18 +00:00
Anders Carlsson
bc49cfed84
Add CGDeclCXX.cpp and move EmitCXXGlobalVarDeclInit there.
...
llvm-svn: 91006
2009-12-10 00:16:00 +00:00
Anders Carlsson
19323e02e9
Update .xcodeproj file
...
llvm-svn: 90666
2009-12-05 16:07:02 +00:00
Anders Carlsson
3c15b80e21
Update project file.
...
llvm-svn: 89768
2009-11-24 16:12:41 +00:00
Anders Carlsson
87f84c1e72
Move GlobalDecl to its own file. Also add DenseMapInfo traits.
...
llvm-svn: 87081
2009-11-13 04:25:07 +00:00
Anders Carlsson
f5e98fcff4
Update xode project.
...
llvm-svn: 86658
2009-11-10 03:23:35 +00:00
Anders Carlsson
4b08db7a62
Add CGException.cpp, to be used for exception related code generation.
...
llvm-svn: 85560
2009-10-30 01:42:31 +00:00
Steve Naroff
a4a347f0b9
Add some missing header files to the Xcode project.
...
llvm-svn: 85152
2009-10-26 20:36:31 +00:00
Anders Carlsson
2bb27f53e0
Move the vtable builder to CGVtable.cpp, general cleanup.
...
llvm-svn: 83798
2009-10-11 22:13:54 +00:00
Anders Carlsson
6ce51fdf43
Move our (non-existing) RTTI emission code into CGRtti.cpp. No functionality change.
...
llvm-svn: 83732
2009-10-10 20:49:04 +00:00
Anders Carlsson
82a108b4ed
Update Xcode project.
...
llvm-svn: 83679
2009-10-09 22:16:24 +00:00
Steve Naroff
936354c62a
Add code completion support for ObjC property declarations/attributes.
...
llvm-svn: 83579
2009-10-08 21:55:05 +00:00
Anders Carlsson
ceca18404c
Add files to xcode project.
...
llvm-svn: 83423
2009-10-06 22:07:00 +00:00
Anders Carlsson
32bfb1ce8f
Move some functions from CodeGenFunctions to CodeGenModule so they can be used by CGExprConstant.
...
llvm-svn: 83263
2009-10-03 14:56:57 +00:00
Anders Carlsson
d934010557
Add a -dump-record-layouts argument to clang-cc.
...
llvm-svn: 82703
2009-09-24 18:54:49 +00:00
Chris Lattner
d545ad1301
implement support for __builtin_eh_return_data_regno on x86-32 and x86-64.
...
This implements PR5034 and rdar://6836445.
llvm-svn: 82614
2009-09-23 06:06:36 +00:00
Anders Carlsson
aa01b91f9b
Fix indentation in xcode project.
...
llvm-svn: 82595
2009-09-23 00:37:50 +00:00
Anders Carlsson
cc52f65500
Move codegen of new and delete to CGCXXExpr.cpp
...
llvm-svn: 82585
2009-09-22 22:53:17 +00:00
Anders Carlsson
e7ceb85b0d
(With Doug's help) fix a crash in the code completion code that lead to a test failure.
...
llvm-svn: 82558
2009-09-22 17:29:51 +00:00
Chris Lattner
abbfd629dc
clean up xcode proj
...
llvm-svn: 82272
2009-09-18 20:39:54 +00:00
Anders Carlsson
20759ad54c
x86-64 ABI: If a type is a C++ record with either a non-trivial destructor or a non-trivial copy constructor, it should be passed in a pointer. Daniel, plz review.
...
llvm-svn: 82050
2009-09-16 15:53:40 +00:00
Anders Carlsson
864d525533
Rename AddressCXXOfBaseClass to GetAddressCXXOfBaseClass. Add a NullCheckValue argument (currently unused).
...
llvm-svn: 81606
2009-09-12 04:26:35 +00:00
Anders Carlsson
307408d2af
Add CGCXXClass.cpp. and move CodeGenFunction::AddressCXXOfBaseClass there.
...
llvm-svn: 81604
2009-09-12 03:29:09 +00:00
Steve Naroff
1054e60334
More fleshing out the C-based indexing API (under construction).
...
llvm-svn: 80529
2009-08-31 00:59:03 +00:00
Steve Naroff
a1c728438c
Lot's of little changes to get the C-based indexing API going...
...
Work in progress.
llvm-svn: 80367
2009-08-28 15:28:48 +00:00
Steve Naroff
d5e8e862bb
Fill in Index.h header file and add stubs to implementation file.
...
llvm-svn: 80279
2009-08-27 19:51:58 +00:00
Anders Carlsson
6885d33753
Add the partially implemented PartialDiagnostic class.
...
llvm-svn: 80106
2009-08-26 16:23:53 +00:00
Steve Naroff
930210446f
Update Xcode project file to include indexing source files.
...
llvm-svn: 80022
2009-08-25 19:57:00 +00:00
Anders Carlsson
ddd0b3c72a
Update Xcode project.
...
llvm-svn: 79390
2009-08-19 01:17:32 +00:00
Anders Carlsson
a26159261c
Add a CastKind enum to CastExpr. Right now it's not used for much but it will be :)
...
llvm-svn: 77650
2009-07-31 00:48:10 +00:00
Fariborz Jahanian
7be1ad814b
No longer need to keep base class offsets in the offset
...
table as it has its own place now.
llvm-svn: 77491
2009-07-29 18:50:06 +00:00
Anders Carlsson
307846fe67
Check in CGRecordLayoutBuilder which is a reimplementation of the record layout code. (Yay, no more packed structs unless absolutely necessary). We currently don't use the layouts being built but that will change when the new code is mature enough :)
...
llvm-svn: 76845
2009-07-23 03:17:50 +00:00
Anders Carlsson
7947433411
Add a new ASTRecordLayoutBuilder class. Not used yet.
...
llvm-svn: 76330
2009-07-18 20:20:21 +00:00
Anders Carlsson
15b73deeea
Revert r75641.
...
llvm-svn: 76327
2009-07-18 19:43:29 +00:00
Anders Carlsson
466fd0a16d
Rename RecordLayout.h to ASTRecordLayout.h
...
llvm-svn: 75641
2009-07-14 17:29:11 +00:00
Anders Carlsson
81df7b89de
Add a DecltypeType type.
...
llvm-svn: 74099
2009-06-24 19:06:50 +00:00
Anders Carlsson
946b86d91a
[class.local] p1 and p3. Also, add back the xcodeproj file.
...
llvm-svn: 74027
2009-06-24 00:10:43 +00:00
Ted Kremenek
d427c460ab
Remove old Xcode project. We can now automatically generate an Xcode project that compiles all of LLVM (not just Clang) using CMake.
...
llvm-svn: 73960
2009-06-23 17:14:59 +00:00
Chris Lattner
2811a257f1
remove extraneous diff.
...
llvm-svn: 73494
2009-06-16 16:22:49 +00:00
Chris Lattner
4ef49c1d6e
my refactoring of builtins changed target-specific builtins to only be
...
registered when PCH wasn't being used. We should always install (in BuiltinInfo)
information about target-specific builtins, but we shouldn't register any builtin
identifier infos. This fixes the build of apps that use PCH and target specific
builtins together.
llvm-svn: 73492
2009-06-16 16:18:48 +00:00
Chris Lattner
5abdec7978
move the various builtins stuff from libast to libbasic. This
...
fixes a layering violation in lib/Basic/Targets.cpp.
llvm-svn: 73318
2009-06-14 01:05:48 +00:00
Anders Carlsson
beca75273a
Use the correct indentation for DeclTemplate.cpp
...
llvm-svn: 72892
2009-06-04 21:48:59 +00:00
Anders Carlsson
75ac061fdb
Add DeclPrinter.cpp
...
llvm-svn: 72849
2009-06-04 05:38:41 +00:00
Anders Carlsson
8936009a91
Make sure to call FullExpr before parsing anything else.
...
llvm-svn: 72834
2009-06-04 02:18:15 +00:00
Anders Carlsson
68288cbc8b
Use the right indentation for CGCXXTemp.cpp
...
llvm-svn: 72832
2009-06-04 02:08:31 +00:00
Douglas Gregor
993cc401f1
Update Xcode project
...
llvm-svn: 72820
2009-06-04 00:04:42 +00:00
Anders Carlsson
82aea737a7
Move code generation of C++ temporaries into a new file.
...
llvm-svn: 72792
2009-06-03 18:40:21 +00:00
Anders Carlsson
f8e916de85
Update Xcode project
...
llvm-svn: 72639
2009-05-30 21:32:24 +00:00
Anders Carlsson
3562240952
Remove AstGuard.h from Xcode project.
...
llvm-svn: 72406
2009-05-26 00:57:47 +00:00
Anders Carlsson
2101e68398
Add SemaTemplateInstantiateStmt.cpp to Xcode project.
...
llvm-svn: 71884
2009-05-15 20:08:59 +00:00
Anders Carlsson
ee209a6501
Add SemaTemplateInstantiateExpr.cpp to Xcode project.
...
llvm-svn: 71820
2009-05-15 00:10:12 +00:00
Chris Lattner
46813bbfa2
Fix rdar://6880259 - invalid function name in block call (__NSConcreteGlobalBlock2)
...
by using the appropriate CGM interface instead of directly creating a global.
llvm-svn: 71617
2009-05-13 02:50:56 +00:00
Chris Lattner
258172e78d
add an abbreviation for common PARM_VAR_DECL. All but 9 of the
...
parm var decls in leopard cocoa.h end up using this abbreviation,
which shrinks the bitcode file by about 50K: 7217736->7167120.
Before:
Block ID #12 (DECLS_BLOCK):
Num Instances: 1
Total Size: 2.23595e+07b/2.79494e+06B/698736W
% of file: 38.7233
Num SubBlocks: 0
Num Abbrevs: 0
Num Records: 139387
% Abbrev Recs: 0
After:
Block ID #12 (DECLS_BLOCK):
Num Instances: 1
Total Size: 2.02405e+07b/2.53006e+06B/632516W
% of file: 35.301
Num SubBlocks: 0
Num Abbrevs: 1
Num Records: 139387
% Abbrev Recs: 19.2902
llvm-svn: 70199
2009-04-27 07:35:58 +00:00
Chris Lattner
7099dbc5bc
split decl writing out to its own PCHWriterDecl.cpp file.
...
llvm-svn: 70193
2009-04-27 06:16:06 +00:00
Chris Lattner
487412d4db
split decl reading out to its own PCHReaderDecl.cpp file.
...
llvm-svn: 70187
2009-04-27 05:27:42 +00:00
Chris Lattner
92ba5ffdfe
split stmt/expr deserialization out to PCHReaderStmt.cpp
...
llvm-svn: 70186
2009-04-27 05:14:47 +00:00
Chris Lattner
c3f4c7b1c5
pull the constraint string into the ConstraintInfo struct
...
instead of passing it around in addition to it.
llvm-svn: 70135
2009-04-26 17:19:08 +00:00
Chris Lattner
f0b64d73a8
split ObjC and C++ Statements out into their own headers.
...
llvm-svn: 70105
2009-04-26 01:32:48 +00:00
Chris Lattner
7ec71da215
implement PCH support for the rest of ExprObjC.h, including
...
the missing bits of ObjCMessageExpr.
llvm-svn: 70100
2009-04-26 00:44:05 +00:00
Chris Lattner
62975a788e
Fix rdar://6821047 - clang crashes on subscript of interface in 64-bit mode
...
Several changes here:
1. We change Type::isIncompleteType to realize that forward declared
interfaces are incomplete. This eliminate special case code for this
from the sizeof path, and starts us rejecting P[4] when P is a pointer
to an incomplete interface.
2. Explicitly reject P[4] when P points to an interface in non-fragile ABI
mode.
3. Switch the sizeof(interface) diagnostic back to an error instead of a
warning in non-fragile abi mode.
llvm-svn: 69943
2009-04-24 00:30:45 +00:00
Chris Lattner
f718110ae5
remove some gone files
...
llvm-svn: 69871
2009-04-23 05:29:03 +00:00
Steve Naroff
dd9aba001d
Update Xcode project with recently added files.
...
llvm-svn: 69753
2009-04-21 23:46:12 +00:00
Chris Lattner
2f5693f62d
Split preprocessor initialization logic out of clang-cc into
...
libfrontend. Patch by Alexei Svitkine!
llvm-svn: 69664
2009-04-21 05:40:52 +00:00
Chris Lattner
ddf6ca0355
the __gnuc_inline__ attribute is actually named __gnu_inline__,
...
PR4023
llvm-svn: 69618
2009-04-20 19:12:28 +00:00
Chris Lattner
1a1fdbd75d
move jump scope checking and related code out into its own file, SemaDecl.cpp is
...
already too large.
llvm-svn: 69505
2009-04-19 04:46:21 +00:00
Steve Naroff
059c6f6293
Update Xcode project with some PCH related headers.
...
llvm-svn: 69363
2009-04-17 18:02:59 +00:00
Chris Lattner
b666a27d24
split diagnostic group definitions out into their own file.
...
llvm-svn: 69274
2009-04-16 06:17:18 +00:00
Chris Lattner
485626c5f5
add a bunch of files.
...
llvm-svn: 69174
2009-04-15 16:43:37 +00:00
Chris Lattner
00364c38d7
add Diagnostic.td to proj
...
llvm-svn: 69141
2009-04-15 04:51:29 +00:00
Anders Carlsson
375d6beb6c
Add CGCXX.h with ctor/dtor type enumerations. No functionality change.
...
llvm-svn: 69137
2009-04-15 04:36:55 +00:00
Chris Lattner
faa1dbb4d0
add fixitrewriter to xcode proj
...
llvm-svn: 69092
2009-04-14 22:44:23 +00:00
Chris Lattner
225dd6c830
add some #includes for better compatibility with gcc 4.4,
...
thanks to Tobias Stadler for pointing this out.
llvm-svn: 68868
2009-04-11 18:40:46 +00:00
Chris Lattner
5f122a644a
add PCH stuff to project
...
llvm-svn: 68789
2009-04-10 17:09:28 +00:00
Chris Lattner
d2e61fbc64
add driver headers to xcode proj
...
llvm-svn: 68642
2009-04-08 20:57:57 +00:00
Anders Carlsson
25fad47ebe
Add clang-cc to the xcodeproj file.
...
llvm-svn: 68448
2009-04-06 17:11:27 +00:00
Chris Lattner
098d94a57d
add TemplateName.cpp/h to the xcode project, minor tidying.
...
llvm-svn: 68301
2009-04-02 06:07:12 +00:00
Steve Naroff
29cae66bde
Add ConvertUTF module from http://www.unicode.org/Public/PROGRAMS/CVTUTF .
...
#ifdef'd out the 5 conversion routines that we don't currently need.
Still need a bit more work in GetAddrOfConstantCFString(). Added a FIXME to indicate this.
Expect to remove the FIXME today...
llvm-svn: 68208
2009-04-01 15:50:34 +00:00
Chris Lattner
b7de9b7704
sort alphabetically
...
llvm-svn: 67951
2009-03-28 19:10:22 +00:00
Chris Lattner
8372efd39a
move file to proper place.
...
llvm-svn: 67933
2009-03-28 08:04:44 +00:00
Chris Lattner
1ad4eeb9c7
remove TranslationUnit.
...
llvm-svn: 67914
2009-03-28 04:31:31 +00:00
Anders Carlsson
17941120d6
Move Sema::SetMemberAccessSpecifier to SemaAccess.cpp
...
llvm-svn: 67820
2009-03-27 04:54:36 +00:00
Anders Carlsson
8ed6f3645b
Add SemaAccess.cpp
...
llvm-svn: 67819
2009-03-27 04:43:36 +00:00
Chris Lattner
5e31037164
sort items.
...
llvm-svn: 67733
2009-03-26 04:59:37 +00:00
Chris Lattner
cea1efaa61
add driver and clang-cc to project.
...
llvm-svn: 67732
2009-03-26 04:27:05 +00:00
Anders Carlsson
3cfc2e214a
Add the .td files and remove the .def files from the Xcode project.
...
llvm-svn: 67671
2009-03-25 02:54:43 +00:00
Anders Carlsson
6a07775423
Add SemaTypeInstantiateDecl.cpp
...
llvm-svn: 67559
2009-03-23 20:47:43 +00:00
Chris Lattner
113d8c9c1c
add NestedNameSpecifier.h/cpp to the xcode project file for browsing.
...
llvm-svn: 67285
2009-03-19 04:52:30 +00:00