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
Anders Carlsson
21a8353c4c
Use the correct indentation for DeclTemplate.cpp
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72892 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04 21:48:59 +00:00
Anders Carlsson
d48821434c
Add DeclPrinter.cpp
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72849 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04 05:38:41 +00:00
Anders Carlsson
c4ee170b0c
Make sure to call FullExpr before parsing anything else.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72834 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04 02:18:15 +00:00
Anders Carlsson
482cb848a3
Use the right indentation for CGCXXTemp.cpp
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72832 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04 02:08:31 +00:00
Douglas Gregor
33412927ae
Update Xcode project
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72820 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04 00:04:42 +00:00
Anders Carlsson
2ce6612502
Move code generation of C++ temporaries into a new file.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72792 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 18:40:21 +00:00
Anders Carlsson
0578916f97
Update Xcode project
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72639 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-30 21:32:24 +00:00
Anders Carlsson
ebefdd83e4
Remove AstGuard.h from Xcode project.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72406 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-26 00:57:47 +00:00
Anders Carlsson
02b3a0c205
Add SemaTemplateInstantiateStmt.cpp to Xcode project.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71884 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-15 20:08:59 +00:00
Anders Carlsson
7c98736d8c
Add SemaTemplateInstantiateExpr.cpp to Xcode project.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71820 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-15 00:10:12 +00:00
Chris Lattner
e2f79b6a4f
Fix rdar://6880259 - invalid function name in block call (__NSConcreteGlobalBlock2)
...
by using the appropriate CGM interface instead of directly creating a global.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71617 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-13 02:50:56 +00:00
Chris Lattner
ea5ce4705d
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70199 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-27 07:35:58 +00:00
Chris Lattner
12b1c7615d
split decl writing out to its own PCHWriterDecl.cpp file.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70193 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-27 06:16:06 +00:00
Chris Lattner
698f925ded
split decl reading out to its own PCHReaderDecl.cpp file.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70187 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-27 05:27:42 +00:00
Chris Lattner
4c6f952b70
split stmt/expr deserialization out to PCHReaderStmt.cpp
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70186 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-27 05:14:47 +00:00
Chris Lattner
432c86969e
pull the constraint string into the ConstraintInfo struct
...
instead of passing it around in addition to it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70135 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-26 17:19:08 +00:00
Chris Lattner
16f0049415
split ObjC and C++ Statements out into their own headers.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70105 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-26 01:32:48 +00:00
Chris Lattner
0389e6bd01
implement PCH support for the rest of ExprObjC.h, including
...
the missing bits of ObjCMessageExpr.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70100 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-26 00:44:05 +00:00
Chris Lattner
1efaa9594a
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69943 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-24 00:30:45 +00:00
Chris Lattner
2f73cc4603
remove some gone files
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69871 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-23 05:29:03 +00:00
Steve Naroff
7ac48d23d9
Update Xcode project with recently added files.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69753 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-21 23:46:12 +00:00
Chris Lattner
e116ccf140
Split preprocessor initialization logic out of clang-cc into
...
libfrontend. Patch by Alexei Svitkine!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69664 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-21 05:40:52 +00:00
Chris Lattner
cf2a7211b4
the __gnuc_inline__ attribute is actually named __gnu_inline__,
...
PR4023
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69618 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-20 19:12:28 +00:00
Chris Lattner
5af280ce21
move jump scope checking and related code out into its own file, SemaDecl.cpp is
...
already too large.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69505 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-19 04:46:21 +00:00
Steve Naroff
5abd66ff44
Update Xcode project with some PCH related headers.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69363 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-17 18:02:59 +00:00
Chris Lattner
11bddefe10
split diagnostic group definitions out into their own file.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69274 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-16 06:17:18 +00:00
Chris Lattner
41c6c46fe2
add a bunch of files.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69174 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-15 16:43:37 +00:00
Chris Lattner
ccc96b3823
add Diagnostic.td to proj
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69141 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-15 04:51:29 +00:00
Anders Carlsson
68a359cac7
Add CGCXX.h with ctor/dtor type enumerations. No functionality change.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69137 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-15 04:36:55 +00:00
Chris Lattner
ca60395c7e
add fixitrewriter to xcode proj
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69092 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-14 22:44:23 +00:00
Chris Lattner
3c304bd9ec
add some #includes for better compatibility with gcc 4.4,
...
thanks to Tobias Stadler for pointing this out.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68868 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-11 18:40:46 +00:00
Chris Lattner
cadbe1cfda
add PCH stuff to project
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68789 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-10 17:09:28 +00:00
Chris Lattner
a2cf28c3e1
add driver headers to xcode proj
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68642 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-08 20:57:57 +00:00
Anders Carlsson
7cf09f2d34
Add clang-cc to the xcodeproj file.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68448 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-06 17:11:27 +00:00
Chris Lattner
c960ee31c7
add TemplateName.cpp/h to the xcode project, minor tidying.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68301 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-02 06:07:12 +00:00
Steve Naroff
e9b7d8ace8
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...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68208 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-01 15:50:34 +00:00
Chris Lattner
8054e25b51
sort alphabetically
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67951 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-28 19:10:22 +00:00
Chris Lattner
aecc23dd96
move file to proper place.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67933 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-28 08:04:44 +00:00
Chris Lattner
1266eca868
remove TranslationUnit.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67914 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-28 04:31:31 +00:00
Anders Carlsson
c60e88819a
Move Sema::SetMemberAccessSpecifier to SemaAccess.cpp
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67820 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-27 04:54:36 +00:00
Anders Carlsson
60d6b0d35e
Add SemaAccess.cpp
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67819 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-27 04:43:36 +00:00
Chris Lattner
a23c74f6ba
sort items.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67733 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-26 04:59:37 +00:00
Chris Lattner
3713f0bc4a
add driver and clang-cc to project.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67732 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-26 04:27:05 +00:00
Anders Carlsson
0cf6891270
Add the .td files and remove the .def files from the Xcode project.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67671 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-25 02:54:43 +00:00