| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Revert r78535, it is causing a number of failures to build projects. | Daniel Dunbar | 2009-08-10 | 18 | -307/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | --- Reverse-merging r78535 into '.': D test/Sema/altivec-init.c U include/clang/Basic/DiagnosticSemaKinds.td U include/clang/AST/Expr.h U include/clang/AST/StmtNodes.def U include/clang/Parse/Parser.h U include/clang/Parse/Action.h U tools/clang-cc/clang-cc.cpp U lib/Frontend/PrintParserCallbacks.cpp U lib/CodeGen/CGExprScalar.cpp U lib/Sema/SemaInit.cpp U lib/Sema/Sema.h U lib/Sema/SemaExpr.cpp U lib/Sema/SemaTemplateInstantiateExpr.cpp U lib/AST/StmtProfile.cpp U lib/AST/Expr.cpp U lib/AST/StmtPrinter.cpp U lib/Parse/ParseExpr.cpp U lib/Parse/ParseExprCXX.cpp llvm-svn: 78551 | ||||
| * | warn, as gcc does, if __attribute__((malloc)) applied to function returning ↵ | Ryan Flynn | 2009-08-09 | 3 | -0/+15 |
| | | | | | | | non-pointer type llvm-svn: 78542 | ||||
| * | map previously ignored __attribute((malloc)) to noalias attribute of llvm ↵ | Ryan Flynn | 2009-08-09 | 8 | -1/+41 |
| | | | | | | | function's return llvm-svn: 78541 | ||||
| * | Improve handling of member pointers. | Anders Carlsson | 2009-08-09 | 4 | -4/+56 |
| | | | | | llvm-svn: 78536 | ||||
| * | AltiVec-style vector initializer syntax, vec4 a = (vec4)(a, b, c, d); | Nate Begeman | 2009-08-09 | 18 | -31/+307 |
| | | | | | | | | | In addition to being defined by the AltiVec PIM, this is also the vector initializer syntax used by OpenCL, so that vector literals are compatible with macro arguments. llvm-svn: 78535 | ||||
| * | Older GCCs don't have vector::data(). | Benjamin Kramer | 2009-08-08 | 1 | -1/+1 |
| | | | | | llvm-svn: 78519 | ||||
| * | ir-gen for initialization, in synthesize copy constructor, | Fariborz Jahanian | 2009-08-08 | 3 | -13/+71 |
| | | | | | | | of base/field which have trivial copy constructor. llvm-svn: 78516 | ||||
| * | Add support for global initializers. | Anders Carlsson | 2009-08-08 | 7 | -4/+71 |
| | | | | | llvm-svn: 78515 | ||||
| * | Refactor some code and implement support for global destructors for static ↵ | Anders Carlsson | 2009-08-08 | 5 | -17/+97 |
| | | | | | | | variables. llvm-svn: 78507 | ||||
| * | Use CastExpr::CK_ArrayToPointerDecay and fix an assert. | Anders Carlsson | 2009-08-08 | 2 | -1/+8 |
| | | | | | llvm-svn: 78502 | ||||
| * | Add tests. | Anders Carlsson | 2009-08-08 | 2 | -0/+42 |
| | | | | | llvm-svn: 78491 | ||||
| * | Take #pragma pack into account when laying out structs. Fixes ↵ | Anders Carlsson | 2009-08-08 | 4 | -33/+51 |
| | | | | | | | rdar://problem/7095436. llvm-svn: 78490 | ||||
| * | Refactoring of copy ctor ir-gen. No change in functionality. | Fariborz Jahanian | 2009-08-08 | 3 | -8/+12 |
| | | | | | llvm-svn: 78489 | ||||
| * | PR4700 - remove shift by 0 warning | Ryan Flynn | 2009-08-08 | 3 | -16/+9 |
| | | | | | llvm-svn: 78488 | ||||
| * | Introduce a new PragmaPack attribute, and use it for #pragma pack. The ↵ | Anders Carlsson | 2009-08-08 | 7 | -29/+30 |
| | | | | | | | | | PackedAttr now only represents __attribute__((packed)). This is necessary because #pragma pack and __attribute__((packed)) have different semantics. No functionality change yet, but this lays the groundwork for fixing a record layout bug. llvm-svn: 78483 | ||||
| * | Assert that the LLVM type has the same size as the RecordDecl size. | Anders Carlsson | 2009-08-08 | 1 | -0/+3 |
| | | | | | llvm-svn: 78481 | ||||
| * | getFunctionLevelDeclContext needs to get the previous DeclContext if ↵ | Anders Carlsson | 2009-08-08 | 2 | -1/+12 |
| | | | | | | | EnterDeclaratorContext has been called. Fixes PR4694. (Doug, please review) llvm-svn: 78480 | ||||
| * | Factor some code to get the "function level" DeclContext out into a separate ↵ | Anders Carlsson | 2009-08-08 | 2 | -9/+12 |
| | | | | | | | function. llvm-svn: 78478 | ||||
| * | Make sure to diagnose use of declarations in the case where we create an ↵ | Anders Carlsson | 2009-08-08 | 2 | -0/+18 |
| | | | | | | | implicit CXXThisExpr. llvm-svn: 78474 | ||||
| * | Update test case; I don't really understand why packed enums changed this, but | Daniel Dunbar | 2009-08-08 | 1 | -2/+1 |
| | | | | | | | the new havior is better so... llvm-svn: 78473 | ||||
| * | Patch should implement packed enums - PR4098. Credit to Anders Johnsen. | Edward O'Callaghan | 2009-08-08 | 6 | -14/+45 |
| | | | | | llvm-svn: 78471 | ||||
| * | Get rid of Stmt::Clone now that we can reference count statements instead. | Anders Carlsson | 2009-08-08 | 10 | -131/+5 |
| | | | | | llvm-svn: 78452 | ||||
| * | Introduce reference counting for statements and expressions, using it | Douglas Gregor | 2009-08-08 | 7 | -30/+77 |
| | | | | | | | | to allow sharing of nodes. Simplifies some aspects of template instantiation, and fixes both PR3444 and <rdar://problem/6757457>. llvm-svn: 78450 | ||||
| * | Remove use of uninitized variable. | Fariborz Jahanian | 2009-08-08 | 2 | -6/+3 |
| | | | | | llvm-svn: 78448 | ||||
| * | Synthesize copying of non-static data members with | Fariborz Jahanian | 2009-08-08 | 1 | -12/+32 |
| | | | | | | | non-trivial copy constructors. llvm-svn: 78445 | ||||
| * | Synthesized copy constructor now generates code for | Fariborz Jahanian | 2009-08-07 | 3 | -18/+55 |
| | | | | | | | | copying non-virtual base classes which have non-trivial constructor. Work in progress. llvm-svn: 78436 | ||||
| * | Add a CK_ArrayToPointerDecay cast kind. | Anders Carlsson | 2009-08-07 | 3 | -2/+7 |
| | | | | | llvm-svn: 78434 | ||||
| * | Add CK_ToUnion and use it for aggregate expression codegen. | Anders Carlsson | 2009-08-07 | 3 | -10/+14 |
| | | | | | llvm-svn: 78429 | ||||
| * | More CastKind work. | Anders Carlsson | 2009-08-07 | 5 | -25/+30 |
| | | | | | llvm-svn: 78415 | ||||
| * | Just add global scope to the associated namespaces set instead of tracking it | John McCall | 2009-08-07 | 3 | -78/+69 |
| | | | | | | | | separately. Add the framework (currently unfed) for finding friend declarations during argument-dependent lookup. llvm-svn: 78414 | ||||
| * | Add vbase offsets to the vtable. Wow, having an rbegin was so | Mike Stump | 2009-08-07 | 2 | -2/+14 |
| | | | | | | | fortuitous. WIP. llvm-svn: 78413 | ||||
| * | Add rbegin and rend for virtual bases, might come in handy some day. | Mike Stump | 2009-08-07 | 1 | -0/+22 |
| | | | | | llvm-svn: 78412 | ||||
| * | Fix: <rdar://problem/7075531> static analyzer wrongly detects unused ivars ↵ | Ted Kremenek | 2009-08-07 | 2 | -7/+48 |
| | | | | | | | used in blocks llvm-svn: 78409 | ||||
| * | Constify some pointers. No functionality change. | Ted Kremenek | 2009-08-07 | 1 | -15/+16 |
| | | | | | llvm-svn: 78407 | ||||
| * | More synthesis of copy constructors. Work in progress. | Fariborz Jahanian | 2009-08-07 | 5 | -4/+94 |
| | | | | | llvm-svn: 78402 | ||||
| * | Fix typo. | Mike Stump | 2009-08-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 78401 | ||||
| * | Add ability to generate vcall offsets for primary virtual base. | Mike Stump | 2009-08-07 | 5 | -16/+33 |
| | | | | | llvm-svn: 78396 | ||||
| * | Use the correct cast kind as suggested by Doug. | Anders Carlsson | 2009-08-07 | 1 | -1/+2 |
| | | | | | llvm-svn: 78395 | ||||
| * | Fix some const_cast issues. This is the beginning of the rabbit hole. | Mike Stump | 2009-08-07 | 5 | -19/+13 |
| | | | | | llvm-svn: 78393 | ||||
| * | PR3333: warn when shifting by invalid amount | Ryan Flynn | 2009-08-07 | 3 | -2/+62 |
| | | | | | llvm-svn: 78385 | ||||
| * | Separate Stmt::Destroy into the entrypoint for destroying a statement | Douglas Gregor | 2009-08-07 | 7 | -53/+57 |
| | | | | | | | | or expression (Destroy) from the virtual function used to actually destroy a given expression (DoDestroy). llvm-svn: 78375 | ||||
| * | add support for opensuse 11.1/11.2 search paths, patch by Stefan Reinauer | Chris Lattner | 2009-08-07 | 1 | -0/+16 |
| | | | | | | | and Carl-Daniel Hailfinger! llvm-svn: 78368 | ||||
| * | Add support for vcall generation for vtables for virtual bases. WIP. | Mike Stump | 2009-08-06 | 3 | -7/+48 |
| | | | | | llvm-svn: 78357 | ||||
| * | Patch toward synthesizing copy constructors. | Fariborz Jahanian | 2009-08-06 | 2 | -8/+21 |
| | | | | | | | Work in progress. llvm-svn: 78355 | ||||
| * | Fix a few more false positives involving RegionStore and unions, but this time | Ted Kremenek | 2009-08-06 | 2 | -89/+68 |
| | | | | | | | | with array accesses. In the process, refactor some common logic in RetrieveElement() and RetrieveField() into RetrieveFieldOrElementCommon(). llvm-svn: 78349 | ||||
| * | Minor refactoring to introduce a new transformation function, | Douglas Gregor | 2009-08-06 | 1 | -1/+18 |
| | | | | | | | TransformStmt, into the tree transformer. llvm-svn: 78347 | ||||
| * | Almost forgot to turn on 32-bit test. | Mike Stump | 2009-08-06 | 1 | -1/+1 |
| | | | | | llvm-svn: 78346 | ||||
| * | Testcase for recent checkin. | Mike Stump | 2009-08-06 | 1 | -2/+2 |
| | | | | | llvm-svn: 78344 | ||||
| * | Also generate the rtti field for virtual bases for vtables. Turn on | Mike Stump | 2009-08-06 | 3 | -42/+56 |
| | | | | | | | | rtti so we can properly test it. Refactor code a little. Still a work in progress. llvm-svn: 78343 | ||||
| * | Fix a couple false positive "uninitialized value" warnings with RegionStore | Ted Kremenek | 2009-08-06 | 4 | -4/+113 |
| | | | | | | | involving reasoning about unions (which we don't handle yet). llvm-svn: 78342 | ||||

