| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove a fixed FIXME | Douglas Gregor | 2009-02-03 | 1 | -1/+0 |
| | | | | | llvm-svn: 63648 | ||||
| * | When looking for a tag name via unqualified name lookup, only look in | Douglas Gregor | 2009-02-03 | 3 | -5/+5 |
| | | | | | | | | scopes where the name would be considered a redeclaration if we know that we're declaring or defining that tag. llvm-svn: 63647 | ||||
| * | Semantic analysis, ASTs, and unqualified name lookup support for C++ | Douglas Gregor | 2009-02-03 | 20 | -155/+1023 |
| | | | | | | | using directives, from Piotr Rak! llvm-svn: 63646 | ||||
| * | ABI handling: Implement coercion for argument types (in addition to | Daniel Dunbar | 2009-02-03 | 1 | -4/+39 |
| | | | | | | | return types). llvm-svn: 63645 | ||||
| * | ir-gen for nonfragile ivar bitfield access (objc2 nonfragile abi). | Fariborz Jahanian | 2009-02-03 | 5 | -57/+70 |
| | | | | | llvm-svn: 63644 | ||||
| * | Targets that don't have stack use global address space for parameters. | Sanjiv Gupta | 2009-02-03 | 2 | -8/+20 |
| | | | | | | | | Specify external linkage for such globals so that llvm optimizer do not assume there values initialized as zero. llvm-svn: 63636 | ||||
| * | Minor objc2 bug fix. | Fariborz Jahanian | 2009-02-03 | 1 | -2/+2 |
| | | | | | llvm-svn: 63635 | ||||
| * | Fixed the typo in comment. | Sanjiv Gupta | 2009-02-03 | 1 | -1/+1 |
| | | | | | llvm-svn: 63634 | ||||
| * | reclaim my precious bit in FileInfo by ensuring that ContentCache objects | Chris Lattner | 2009-02-03 | 2 | -9/+14 |
| | | | | | | | are 8-byte aligned. llvm-svn: 63630 | ||||
| * | switch SourceManager from using an std::map and std::list of | Chris Lattner | 2009-02-03 | 3 | -54/+60 |
| | | | | | | | | | | ContentCache objects to using a densemap and list, and allocating the ContentCache objects from a bump pointer. This does not speed up or slow down things substantially, but gives us control over their alignment. llvm-svn: 63628 | ||||
| * | true is pass, false is success. | Chris Lattner | 2009-02-03 | 2 | -2/+2 |
| | | | | | llvm-svn: 63627 | ||||
| * | disable this test too | Chris Lattner | 2009-02-03 | 1 | -1/+2 |
| | | | | | llvm-svn: 63626 | ||||
| * | make this fail faster. | Chris Lattner | 2009-02-03 | 1 | -1/+2 |
| | | | | | llvm-svn: 63625 | ||||
| * | add #include to make more self-contained. | Chris Lattner | 2009-02-03 | 1 | -0/+1 |
| | | | | | llvm-svn: 63624 | ||||
| * | Change ABIInfo to compute information for a full signature at a time | Daniel Dunbar | 2009-02-03 | 2 | -47/+49 |
| | | | | | | | (the main point of this restructing). llvm-svn: 63619 | ||||
| * | Remove ABIArgInfo::Default kind, ABI is now responsible for specifying | Daniel Dunbar | 2009-02-03 | 2 | -41/+30 |
| | | | | | | | acceptable kind with more precise semantics. llvm-svn: 63617 | ||||
| * | Add ABIArgInfo::Direct kind, which passes arguments using whatever the | Daniel Dunbar | 2009-02-03 | 2 | -1/+26 |
| | | | | | | | | native IRgen type is. This is like Default, but without any extra semantics (like automatic tweaking of structures or void). llvm-svn: 63615 | ||||
| * | remove some overly-crazy ideas. | Chris Lattner | 2009-02-03 | 1 | -49/+0 |
| | | | | | llvm-svn: 63614 | ||||
| * | Add two FIXMEs. | Daniel Dunbar | 2009-02-03 | 1 | -0/+5 |
| | | | | | llvm-svn: 63613 | ||||
| * | Always use CGFunctionInfo to access ABI information. | Daniel Dunbar | 2009-02-03 | 1 | -14/+16 |
| | | | | | llvm-svn: 63612 | ||||
| * | Move ABIArgInfo into CGFunctionInfo, computed on creation. | Daniel Dunbar | 2009-02-03 | 3 | -32/+62 |
| | | | | | | | - Still have to convert some consumers over. llvm-svn: 63610 | ||||
| * | Content Cache only needs to be 4-byte aligned. Since it is stored in | Chris Lattner | 2009-02-03 | 1 | -2/+2 |
| | | | | | | | | | an std::set, we can't make a strong guarantee about what its alignment will be. Since I don't need the 3rd bit anyway yet, just change the assertion. llvm-svn: 63588 | ||||
| * | Move ABIInfo/ABIArgInfo classes into ABIInfo.h | Daniel Dunbar | 2009-02-03 | 2 | -103/+119 |
| | | | | | llvm-svn: 63586 | ||||
| * | Simplify the way in which we inject the names of tag definitions and | Douglas Gregor | 2009-02-03 | 2 | -20/+28 |
| | | | | | | | | | | | elaborated-type-specifier declarations into outer scopes while retaining their proper lexical scope. This way is simpler and more consistent with the way DeclContexts work, and also fixes http://llvm.org/bugs/show_bug.cgi?id=3430 llvm-svn: 63581 | ||||
| * | objc2's ir-gen for nonfragile ivar access. | Fariborz Jahanian | 2009-02-03 | 6 | -16/+83 |
| | | | | | llvm-svn: 63578 | ||||
| * | Memoize CGFunctionInfo construction. | Daniel Dunbar | 2009-02-03 | 3 | -2/+30 |
| | | | | | llvm-svn: 63576 | ||||
| * | Formatting fix. | Mike Stump | 2009-02-02 | 1 | -2/+1 |
| | | | | | llvm-svn: 63573 | ||||
| * | Change CGFunctionInfo args iterator to not include the return type. | Daniel Dunbar | 2009-02-02 | 2 | -20/+18 |
| | | | | | llvm-svn: 63571 | ||||
| * | Add a macro-based enumeration of all of the Decl nodes (like we do | Douglas Gregor | 2009-02-02 | 8 | -336/+213 |
| | | | | | | | | with Stmt/Expr nodes), and convert some of the more mundane switch-on-all-decl-kinds uses over to use this new file. llvm-svn: 63570 | ||||
| * | Thread CGFunctionInfo construction through CodeGenTypes. | Daniel Dunbar | 2009-02-02 | 10 | -48/+83 |
| | | | | | | | - Inefficient & leaks memory currently, will be cleaned up subsequently. llvm-svn: 63567 | ||||
| * | Use the updated CommandLine api for -fno-blocks. | Mike Stump | 2009-02-02 | 1 | -6/+7 |
| | | | | | llvm-svn: 63563 | ||||
| * | emit diagnostic when casting a ptr to a small int when doing static ↵ | Nuno Lopes | 2009-02-02 | 2 | -4/+14 |
| | | | | | | | initialization (addresses Eli's comments I believe) llvm-svn: 63562 | ||||
| * | fix TryToFixInvalidVariablyModifiedType to reject negative array sizes | Nuno Lopes | 2009-02-02 | 2 | -3/+5 |
| | | | | | llvm-svn: 63557 | ||||
| * | Steve set me straight on this one. GCC was right, EDG was wrong: the | Douglas Gregor | 2009-02-02 | 2 | -4/+6 |
| | | | | | | | | | | | direct-initialization following a user-defined conversion can select any constructor; it just can't employ any user-defined conversions. So we ban those conversions and classify the constructor call based on the relationship between the "from" and "to" types in the conversion. llvm-svn: 63554 | ||||
| * | More ABI API cleanup. | Daniel Dunbar | 2009-02-02 | 9 | -32/+34 |
| | | | | | | | | - Lift CGFunctionInfo creation above ReturnTypeUsesSret and EmitFunction{Epi,Pro}log. llvm-svn: 63553 | ||||
| * | Clean up indentation. | Ted Kremenek | 2009-02-02 | 1 | -2/+4 |
| | | | | | llvm-svn: 63551 | ||||
| * | ABI handling API changes. | Daniel Dunbar | 2009-02-02 | 9 | -54/+51 |
| | | | | | | | | | | | | - Lift CGFunctionInfo creation up to callers of EmitCall. - Move isVariadic bit out of CGFunctionInfo, take as argument to GetFunctionType instead. No functionality change. llvm-svn: 63550 | ||||
| * | Add iterators to LookupResult, allowing one to iterate over the | Douglas Gregor | 2009-02-02 | 5 | -25/+133 |
| | | | | | | | | non-ambiguous name lookup results without allocating any memory, e.g., for sets of overloaded functions. llvm-svn: 63549 | ||||
| * | AnalysisConsumer: | Ted Kremenek | 2009-02-02 | 1 | -10/+4 |
| | | | | | | | | - Pass "Actions" vector by reference. - Remove guard against checking macro-generated code. llvm-svn: 63546 | ||||
| * | Refactored code gen for ivar access in preparation for | Fariborz Jahanian | 2009-02-02 | 4 | -1/+51 |
| | | | | | | | objc2 nonfragile ivar access code gen. llvm-svn: 63541 | ||||
| * | Shuffle some functions around, no functionality change. | Daniel Dunbar | 2009-02-02 | 1 | -65/+65 |
| | | | | | llvm-svn: 63538 | ||||
| * | Split specific_decl_iterator, which had a run-time field for | Douglas Gregor | 2009-02-02 | 2 | -24/+89 |
| | | | | | | | | | | | determining what decls are acceptable, into specific_decl_iterator (in which all decls matching the SpecificDecl type requirements are acceptable) and filtered_decl_iterator (which also does a run-time check via a member pointer non-type template parameter). This saves some space in the iterators. llvm-svn: 63535 | ||||
| * | Change the ObjC type encoding for block pointer types to "@?" (for ↵ | Steve Naroff | 2009-02-02 | 1 | -1/+1 |
| | | | | | | | | | consistency with GCC). This fixes <rdar://problem/6538564> clang ObjC rewriter: Wrong encoding emitted for methods with Block parameters. llvm-svn: 63534 | ||||
| * | Add FIXME. | Daniel Dunbar | 2009-02-02 | 1 | -0/+4 |
| | | | | | llvm-svn: 63531 | ||||
| * | Slim down the specific_decl_iterator, since NULL denotes the end of the ↵ | Douglas Gregor | 2009-02-02 | 3 | -30/+23 |
| | | | | | | | range. Good eyes, Chris llvm-svn: 63528 | ||||
| * | Check value-initializations that occur when an initializer list | Douglas Gregor | 2009-02-02 | 5 | -20/+134 |
| | | | | | | | provides too few elements. llvm-svn: 63525 | ||||
| * | RewriteObjC::RewriteBlockDeclRefExpr(): Add parens to enforce precedence. ↵ | Steve Naroff | 2009-02-02 | 1 | -2/+9 |
| | | | | | | | | | This fixes <rdar://problem/6529468> clang ObjC rewriter: Need parenthesis around dereferences in rewritten Blocks. Also changed RewriteObjC::SynthesizeBlockFunc() to declare a pointer to the block argument even when there are no user-supplied arguments to the block. llvm-svn: 63522 | ||||
| * | allow cast from array to int to be considered as constant | Nuno Lopes | 2009-02-02 | 2 | -3/+14 |
| | | | | | llvm-svn: 63519 | ||||
| * | avoid creating tmp files elsewhere | Nuno Lopes | 2009-02-02 | 1 | -1/+1 |
| | | | | | llvm-svn: 63518 | ||||
| * | fix PR3459: improve compatibility with gcc when checking for constant exprs | Nuno Lopes | 2009-02-02 | 2 | -4/+13 |
| | | | | | llvm-svn: 63517 | ||||

