- Jan 05, 2009
-
-
Sebastian Redl authored
llvm-svn: 61747
-
Sebastian Redl authored
Make C++ classes track the POD property (C++ [class]p4) Track the existence of a copy assignment operator. Implicitly declare the copy assignment operator if none is provided. Implement most of the parsing job for the G++ type traits extension. Fully implement the low-hanging fruit of the type traits: __is_pod: Whether a type is a POD. __is_class: Whether a type is a (non-union) class. __is_union: Whether a type is a union. __is_enum: Whether a type is an enum. __is_polymorphic: Whether a type is polymorphic (C++ [class.virtual]p1). llvm-svn: 61746
-
Duncan Sands authored
llvm-svn: 61745
-
Duncan Sands authored
llvm-svn: 61744
-
Duncan Sands authored
llvm-svn: 61743
-
Duncan Sands authored
In fact this also deletes those with linkonce linkage, however this is currently dead because for the moment aliases aren't allowed to have this linkage type. llvm-svn: 61742
-
Devang Patel authored
llvm-svn: 61741
-
Devang Patel authored
llvm-svn: 61740
-
Daniel Dunbar authored
- Entry point is tools/ccc/xcc until we are a functional replacement for ccc. This is highly experimental (FIXME/LOC ratio of 3.4%), quite crufty, and barely usable (and then only on my specific Darwin). However, many of the right ideas are present, and it already fixes a number of things gcc gets wrong. The major missing component is argument translation for tools (translating driver arguments into cc1/ld/as/etc. arguments). This is a large part of the driver functionality and will probably double the LOC, but my hope is that the current architecture is relatively stable. Documentation & motivation to follow soon... llvm-svn: 61739
-
Douglas Gregor authored
llvm-svn: 61737
-
Dan Gohman authored
build errors. llvm-svn: 61736
-
Douglas Gregor authored
DeclContexts whose members are visible from enclosing DeclContexts up to (and including) the innermost enclosing non-transparent DeclContexts. Transparent DeclContexts unify the mechanism to be used for various language features, including C enumerations, anonymous unions, C++0x inline namespaces, and C++ linkage specifications. Please refer to the documentation in the Clang internals manual for more information. Only enumerations and linkage specifications currently use transparent DeclContexts. Still to do: use transparent DeclContexts to implement anonymous unions and GCC's anonymous structs extension, and, later, the C++0x features. We also need to tighten up the DeclContext/ScopedDecl link to ensure that every ScopedDecl is in a single DeclContext, which will ensure that we can then enforce ownership and reduce the memory footprint of DeclContext. llvm-svn: 61735
-
Chris Lattner authored
their length. llvm-svn: 61734
-
Dan Gohman authored
own OpActionsCapacity magic number; it can just use ISD::BUILTIN_OP_END, as long as it takes care to round up when needed. llvm-svn: 61733
-
Dan Gohman authored
llvm-svn: 61732
-
Devang Patel authored
llvm-svn: 61731
-
Chris Lattner authored
not in system library directories by checking -L paths as well. Patch by Axel Naumann! llvm-svn: 61730
-
Devang Patel authored
Construct stuct field DIEs. llvm-svn: 61729
-
Chris Lattner authored
llvm-svn: 61728
-
Steve Naroff authored
llvm-svn: 61727
-
Devang Patel authored
llvm-svn: 61726
-
Chris Lattner authored
llvm-as: accepted03.ll:1:35: invalid unresolved type up reference declare void @r({ \7, opaque, \10 } %su) ^ llvm-svn: 61725
-
Devang Patel authored
llvm-svn: 61724
-
Owen Anderson authored
problem, rather than fixing it. The problem has now been fixed the right way. llvm-svn: 61723
-
Chris Lattner authored
llvm-as: crash11.ll:2:27: function may not return return opaque type "xw" = tail call opaque @608(label %31) ^ llvm-svn: 61722
-
Chris Lattner authored
llvm-as: crash10.ll:3:35: floating point constant does not have type 'ppc_fp128' "dumy" = fcmp ult ppc_fp128 "j",9209.4 ^ llvm-svn: 61721
-
Chris Lattner authored
llvm-as: crash09.ll:3:1: self referential type is invalid type %0 ^ llvm-svn: 61720
-
Chris Lattner authored
test/Assembler/2005-05-05-OpaqueUndefValues.ll llvm-svn: 61719
-
Devang Patel authored
llvm-svn: 61718
-
Dan Gohman authored
llvm-svn: 61715
-
Devang Patel authored
llvm-svn: 61714
-
Bob Wilson authored
llvm-svn: 61713
-
Devang Patel authored
llvm-svn: 61711
-
Dan Gohman authored
llvm-svn: 61710
-
Devang Patel authored
subsume ConstructBasicType(). llvm-svn: 61709
-
Misha Brukman authored
conventions, per John Criswell. llvm-svn: 61708
-
Devang Patel authored
squash warnings. llvm-svn: 61707
-
Dan Gohman authored
- After GlobalAssign, emit addrspace before global/constant, to follow the new syntax. - Eliminate "type void", which is now invalid. - Fix invalid liblists like [, "foo"]. - Tweak whitespace in a few places. llvm-svn: 61706
-
Gabor Greif authored
llvm-svn: 61703
-
Bob Wilson authored
llvm-svn: 61702
-