summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* GNUStep fast enumeration.Fariborz Jahanian2009-02-031-1/+3
| | | | | | Patch by David Chisnall. llvm-svn: 63666
* silence some warnings.Chris Lattner2009-02-031-2/+2
| | | | llvm-svn: 63662
* Allow taking the address of data members, resulting in a member pointer.Sebastian Redl2009-02-035-27/+104
| | | | | | Pointers to functions don't work yet, and pointers to overloaded functions even less. Also, far too much illegal code is accepted. llvm-svn: 63655
* x86_64 ABI: Initial implementation of ABI compliant parameter passing.Daniel Dunbar2009-02-031-18/+119
| | | | | | | | | | | - Now only 27/500 failures on ABITest single argument tests; from 350/500. :) - As with return types, a large percentage of these are likely to be gcc bugs, not yet reviewed. Also, fix bug in handling of Ignore ABI type in argument lists. llvm-svn: 63654
* When looking for a tag name via unqualified name lookup, only look inDouglas Gregor2009-02-031-1/+2
| | | | | | | 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 Gregor2009-02-0310-151/+786
| | | | | | using directives, from Piotr Rak! llvm-svn: 63646
* ABI handling: Implement coercion for argument types (in addition toDaniel Dunbar2009-02-031-4/+39
| | | | | | return types). llvm-svn: 63645
* ir-gen for nonfragile ivar bitfield access (objc2 nonfragile abi).Fariborz Jahanian2009-02-035-57/+70
| | | | llvm-svn: 63644
* Targets that don't have stack use global address space for parameters.Sanjiv Gupta2009-02-032-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 Jahanian2009-02-031-2/+2
| | | | llvm-svn: 63635
* Fixed the typo in comment.Sanjiv Gupta2009-02-031-1/+1
| | | | llvm-svn: 63634
* reclaim my precious bit in FileInfo by ensuring that ContentCache objectsChris Lattner2009-02-031-7/+12
| | | | | | are 8-byte aligned. llvm-svn: 63630
* switch SourceManager from using an std::map and std::list of Chris Lattner2009-02-031-27/+42
| | | | | | | | | 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
* Change ABIInfo to compute information for a full signature at a timeDaniel Dunbar2009-02-032-47/+49
| | | | | | (the main point of this restructing). llvm-svn: 63619
* Remove ABIArgInfo::Default kind, ABI is now responsible for specifyingDaniel Dunbar2009-02-032-41/+30
| | | | | | acceptable kind with more precise semantics. llvm-svn: 63617
* Add ABIArgInfo::Direct kind, which passes arguments using whatever theDaniel Dunbar2009-02-032-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
* Add two FIXMEs.Daniel Dunbar2009-02-031-0/+5
| | | | llvm-svn: 63613
* Always use CGFunctionInfo to access ABI information.Daniel Dunbar2009-02-031-14/+16
| | | | llvm-svn: 63612
* Move ABIArgInfo into CGFunctionInfo, computed on creation.Daniel Dunbar2009-02-033-32/+62
| | | | | | - Still have to convert some consumers over. llvm-svn: 63610
* Move ABIInfo/ABIArgInfo classes into ABIInfo.hDaniel Dunbar2009-02-032-103/+119
| | | | llvm-svn: 63586
* Simplify the way in which we inject the names of tag definitions andDouglas Gregor2009-02-031-19/+14
| | | | | | | | | | 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 Jahanian2009-02-036-16/+83
| | | | llvm-svn: 63578
* Memoize CGFunctionInfo construction.Daniel Dunbar2009-02-033-2/+30
| | | | llvm-svn: 63576
* Formatting fix.Mike Stump2009-02-021-2/+1
| | | | llvm-svn: 63573
* Change CGFunctionInfo args iterator to not include the return type.Daniel Dunbar2009-02-022-20/+18
| | | | llvm-svn: 63571
* Add a macro-based enumeration of all of the Decl nodes (like we doDouglas Gregor2009-02-024-239/+41
| | | | | | | 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 Dunbar2009-02-0210-48/+83
| | | | | | - Inefficient & leaks memory currently, will be cleaned up subsequently. llvm-svn: 63567
* emit diagnostic when casting a ptr to a small int when doing static ↵Nuno Lopes2009-02-021-3/+12
| | | | | | initialization (addresses Eli's comments I believe) llvm-svn: 63562
* fix TryToFixInvalidVariablyModifiedType to reject negative array sizesNuno Lopes2009-02-021-3/+4
| | | | llvm-svn: 63557
* Steve set me straight on this one. GCC was right, EDG was wrong: theDouglas Gregor2009-02-021-3/+5
| | | | | | | | | | 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 Dunbar2009-02-029-32/+34
| | | | | | | - Lift CGFunctionInfo creation above ReturnTypeUsesSret and EmitFunction{Epi,Pro}log. llvm-svn: 63553
* Clean up indentation.Ted Kremenek2009-02-021-2/+4
| | | | llvm-svn: 63551
* ABI handling API changes.Daniel Dunbar2009-02-029-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 theDouglas Gregor2009-02-024-25/+123
| | | | | | | non-ambiguous name lookup results without allocating any memory, e.g., for sets of overloaded functions. llvm-svn: 63549
* Refactored code gen for ivar access in preparation forFariborz Jahanian2009-02-024-1/+51
| | | | | | objc2 nonfragile ivar access code gen. llvm-svn: 63541
* Shuffle some functions around, no functionality change.Daniel Dunbar2009-02-021-65/+65
| | | | llvm-svn: 63538
* Change the ObjC type encoding for block pointer types to "@?" (for ↵Steve Naroff2009-02-021-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 Dunbar2009-02-021-0/+4
| | | | llvm-svn: 63531
* Check value-initializations that occur when an initializer listDouglas Gregor2009-02-023-20/+117
| | | | | | provides too few elements. llvm-svn: 63525
* allow cast from array to int to be considered as constantNuno Lopes2009-02-021-2/+1
| | | | llvm-svn: 63519
* fix PR3459: improve compatibility with gcc when checking for constant exprsNuno Lopes2009-02-021-4/+3
| | | | llvm-svn: 63517
* Fix for PR3447: use padded sizes for computations on struct/union Eli Friedman2009-02-011-5/+5
| | | | | | constants. llvm-svn: 63491
* Remove unused overload of GetFunctionType.Daniel Dunbar2009-01-312-16/+3
| | | | llvm-svn: 63472
* Initialize CGFunctionInfo isVariadic bit correctly.Daniel Dunbar2009-01-311-2/+4
| | | | llvm-svn: 63471
* Use target alignment API to set objc2's meta-dataFariborz Jahanian2009-01-311-13/+20
| | | | | | alignment. llvm-svn: 63470
* Err, unbreak my previous "no functionality change commit", will fix properly ↵Daniel Dunbar2009-01-311-1/+1
| | | | | | later. llvm-svn: 63467
* Kill off CGCallInfo, always use CGFunctionInfo for encapsulatingDaniel Dunbar2009-01-316-53/+26
| | | | | | function/call info. llvm-svn: 63466
* Add sema support for the cleanup attribute.Anders Carlsson2009-01-312-0/+47
| | | | llvm-svn: 63462
* class meta-data belong to __objc_data section (in objc2Fariborz Jahanian2009-01-311-1/+1
| | | | | | nonfragile abi). llvm-svn: 63461
* Recognize class's visibility attribute and set its linkageFariborz Jahanian2009-01-311-6/+18
| | | | | | to private extern (in objc2 nonfragile abi). llvm-svn: 63460
OpenPOWER on IntegriCloud