Anders Carlsson
fdba9c0690
Combine AsmStmt::setOutputsAndInputs and AsmStmt::setClobbers.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94918 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-30 19:34:25 +00:00
Anders Carlsson
d9f473c27e
Update .xcodeproj file (Yes this is getting old and I should really switch to the cmake based project :)
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94789 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-29 01:56:42 +00:00
Anders Carlsson
99d12526e1
Update the xcode project for real and don't check in a failing test.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94655 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-27 03:24:27 +00:00
Fariborz Jahanian
8f0954309e
Refix rewriting of an ivar access when it is
...
type-cast to its sub-class (radar 7575882).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94559 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-26 18:28:51 +00:00
Anders Carlsson
58b7eee13b
Move the VTT related code into its own file, CGVTT.cpp
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94079 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-21 16:50:45 +00:00
Anders Carlsson
c1a35d97d3
Update Xcode project.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93861 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-19 06:04:24 +00:00
Anders Carlsson
d4a0552ea5
More work on the FullExpr class.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91513 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-16 06:10:22 +00:00
Anders Carlsson
5ee56e95c3
Check in a rudimentary FullExpr class that isn't used anywhere yet. Rename Action::FullExpr to Action::MakeFullExpr to avoid name clashes.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91494 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-16 02:09:40 +00:00
Daniel Dunbar
864db01dec
Remove clang-cc tool, it has joined in unholy union with clang.
...
- tools/driver will be renamed to tools/clang at some point.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91195 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-12 00:56:47 +00:00
Anders Carlsson
347c2a0f75
Fix tabs.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91025 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-10 00:57:18 +00:00
Anders Carlsson
5ec2e7ccb0
Add CGDeclCXX.cpp and move EmitCXXGlobalVarDeclInit there.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91006 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-10 00:16:00 +00:00
Anders Carlsson
6e2cf8c4d7
Update .xcodeproj file
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90666 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-05 16:07:02 +00:00
Anders Carlsson
7cd6a9efef
Update project file.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89768 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-24 16:12:41 +00:00
Anders Carlsson
764d0c2372
Move GlobalDecl to its own file. Also add DenseMapInfo traits.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87081 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-13 04:25:07 +00:00
Anders Carlsson
8ac5a40ce5
Update xode project.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86658 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-10 03:23:35 +00:00
Anders Carlsson
756b5c4f9d
Add CGException.cpp, to be used for exception related code generation.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85560 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-30 01:42:31 +00:00
Steve Naroff
dcd2bd8d30
Add some missing header files to the Xcode project.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85152 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-26 20:36:31 +00:00
Anders Carlsson
dbd920c775
Move the vtable builder to CGVtable.cpp, general cleanup.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83798 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-11 22:13:54 +00:00
Anders Carlsson
656e4c10dc
Move our (non-existing) RTTI emission code into CGRtti.cpp. No functionality change.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83732 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-10 20:49:04 +00:00
Anders Carlsson
4f089110e3
Update Xcode project.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83679 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-09 22:16:24 +00:00
Steve Naroff
ece8e71d12
Add code completion support for ObjC property declarations/attributes.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83579 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-08 21:55:05 +00:00
Anders Carlsson
ff38915e02
Add files to xcode project.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83423 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-06 22:07:00 +00:00
Anders Carlsson
2b3583573b
Move some functions from CodeGenFunctions to CodeGenModule so they can be used by CGExprConstant.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83263 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-03 14:56:57 +00:00
Anders Carlsson
78762ebb9a
Add a -dump-record-layouts argument to clang-cc.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82703 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-24 18:54:49 +00:00
Chris Lattner
21fb98ee00
implement support for __builtin_eh_return_data_regno on x86-32 and x86-64.
...
This implements PR5034 and rdar://6836445.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82614 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-23 06:06:36 +00:00
Anders Carlsson
d489cd06a1
Fix indentation in xcode project.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82595 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-23 00:37:50 +00:00
Anders Carlsson
16d81b8db3
Move codegen of new and delete to CGCXXExpr.cpp
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82585 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-22 22:53:17 +00:00
Anders Carlsson
90756300f3
(With Doug's help) fix a crash in the code completion code that lead to a test failure.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82558 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-22 17:29:51 +00:00
Chris Lattner
dfece5b3e7
clean up xcode proj
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82272 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-18 20:39:54 +00:00
Anders Carlsson
0a8f847e97
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.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82050 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-16 15:53:40 +00:00
Anders Carlsson
5a0f49ebc8
Rename AddressCXXOfBaseClass to GetAddressCXXOfBaseClass. Add a NullCheckValue argument (currently unused).
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81606 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-12 04:26:35 +00:00
Anders Carlsson
29f898a36b
Add CGCXXClass.cpp. and move CodeGenFunction::AddressCXXOfBaseClass there.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81604 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-12 03:29:09 +00:00
Steve Naroff
89922f86f4
More fleshing out the C-based indexing API (under construction).
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80529 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-31 00:59:03 +00:00
Steve Naroff
50398199fb
Lot's of little changes to get the C-based indexing API going...
...
Work in progress.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80367 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-28 15:28:48 +00:00
Steve Naroff
600866cc7d
Fill in Index.h header file and add stubs to implementation file.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80279 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-27 19:51:58 +00:00
Anders Carlsson
b2153946ff
Add the partially implemented PartialDiagnostic class.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80106 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-26 16:23:53 +00:00
Steve Naroff
78ca7b3d34
Update Xcode project file to include indexing source files.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80022 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-25 19:57:00 +00:00
Anders Carlsson
7d878eb7f3
Update Xcode project.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79390 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-19 01:17:32 +00:00
Anders Carlsson
cdef2b75aa
Add a CastKind enum to CastExpr. Right now it's not used for much but it will be :)
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77650 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-31 00:48:10 +00:00
Fariborz Jahanian
8a8a629844
No longer need to keep base class offsets in the offset
...
table as it has its own place now.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77491 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-29 18:50:06 +00:00
Anders Carlsson
45372a6fdc
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 :)
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76845 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-23 03:17:50 +00:00
Anders Carlsson
bda4c1015e
Add a new ASTRecordLayoutBuilder class. Not used yet.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76330 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-18 20:20:21 +00:00
Anders Carlsson
19cc4abea0
Revert r75641.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76327 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-18 19:43:29 +00:00
Anders Carlsson
3d598a5ab3
Rename RecordLayout.h to ASTRecordLayout.h
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75641 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-14 17:29:11 +00:00
Anders Carlsson
395b475a44
Add a DecltypeType type.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74099 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-24 19:06:50 +00:00
Anders Carlsson
e41590d250
[class.local] p1 and p3. Also, add back the xcodeproj file.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74027 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-24 00:10:43 +00:00
Ted Kremenek
e9cfa45dae
Remove old Xcode project. We can now automatically generate an Xcode project that compiles all of LLVM (not just Clang) using CMake.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73960 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-23 17:14:59 +00:00
Chris Lattner
648b981e7a
remove extraneous diff.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73494 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-16 16:22:49 +00:00
Chris Lattner
030e8fe5aa
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73492 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-16 16:18:48 +00:00
Chris Lattner
6b15cdc131
move the various builtins stuff from libast to libbasic. This
...
fixes a layering violation in lib/Basic/Targets.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73318 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-14 01:05:48 +00:00