Граф коммитов

425 Коммитов

Автор SHA1 Сообщение Дата
Anders Carlsson 88465d3e99 Add an InheritancePath parameter to the ImplicitCastExpr constructor.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102218 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-23 22:18:37 +00:00
Anders Carlsson 046861b912 Turn CXXMethodVector into a generic class template.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102208 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-23 19:53:03 +00:00
Anders Carlsson 461e326e74 Rename CGVtable files to CGVTables.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100778 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-08 16:30:25 +00:00
Daniel Dunbar 270e203b50 IRGen: Hide CGRecordLayoutBuilder class, because I can.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99967 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-31 00:11:27 +00:00
Anders Carlsson 1d8422b456 Update xcode project
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99860 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-30 02:08:20 +00:00
Fariborz Jahanian a2a87c975a Add some missing files to xcode project
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99318 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-23 20:23:06 +00:00
Anders Carlsson b6ee4b0146 Assert that primary bases always have offset 0.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98223 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-11 01:49:18 +00:00
Anders Carlsson 530c40c516 More improvements to construction vtables; we know handle vbase offsets correctly (I hope).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97361 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-28 01:43:58 +00:00
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