summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Remove a fixed FIXMEDouglas Gregor2009-02-031-1/+0
| | | | llvm-svn: 63648
* When looking for a tag name via unqualified name lookup, only look inDouglas Gregor2009-02-033-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 Gregor2009-02-0320-155/+1023
| | | | | | 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-032-9/+14
| | | | | | are 8-byte aligned. llvm-svn: 63630
* switch SourceManager from using an std::map and std::list of Chris Lattner2009-02-033-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 Lattner2009-02-032-2/+2
| | | | llvm-svn: 63627
* disable this test tooChris Lattner2009-02-031-1/+2
| | | | llvm-svn: 63626
* make this fail faster.Chris Lattner2009-02-031-1/+2
| | | | llvm-svn: 63625
* add #include to make more self-contained.Chris Lattner2009-02-031-0/+1
| | | | llvm-svn: 63624
* 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
* remove some overly-crazy ideas.Chris Lattner2009-02-031-49/+0
| | | | llvm-svn: 63614
* 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
* Content Cache only needs to be 4-byte aligned. Since it is stored inChris Lattner2009-02-031-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.hDaniel Dunbar2009-02-032-103/+119
| | | | llvm-svn: 63586
* Simplify the way in which we inject the names of tag definitions andDouglas Gregor2009-02-032-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 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-028-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 Dunbar2009-02-0210-48/+83
| | | | | | - Inefficient & leaks memory currently, will be cleaned up subsequently. llvm-svn: 63567
* Use the updated CommandLine api for -fno-blocks.Mike Stump2009-02-021-6/+7
| | | | llvm-svn: 63563
* emit diagnostic when casting a ptr to a small int when doing static ↵Nuno Lopes2009-02-022-4/+14
| | | | | | initialization (addresses Eli's comments I believe) llvm-svn: 63562
* fix TryToFixInvalidVariablyModifiedType to reject negative array sizesNuno Lopes2009-02-022-3/+5
| | | | llvm-svn: 63557
* Steve set me straight on this one. GCC was right, EDG was wrong: theDouglas Gregor2009-02-022-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 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-025-25/+133
| | | | | | | non-ambiguous name lookup results without allocating any memory, e.g., for sets of overloaded functions. llvm-svn: 63549
* AnalysisConsumer:Ted Kremenek2009-02-021-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 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
* Split specific_decl_iterator, which had a run-time field forDouglas Gregor2009-02-022-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 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
* Slim down the specific_decl_iterator, since NULL denotes the end of the ↵Douglas Gregor2009-02-023-30/+23
| | | | | | range. Good eyes, Chris llvm-svn: 63528
* Check value-initializations that occur when an initializer listDouglas Gregor2009-02-025-20/+134
| | | | | | provides too few elements. llvm-svn: 63525
* RewriteObjC::RewriteBlockDeclRefExpr(): Add parens to enforce precedence. ↵Steve Naroff2009-02-021-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 constantNuno Lopes2009-02-022-3/+14
| | | | llvm-svn: 63519
* avoid creating tmp files elsewhereNuno Lopes2009-02-021-1/+1
| | | | llvm-svn: 63518
* fix PR3459: improve compatibility with gcc when checking for constant exprsNuno Lopes2009-02-022-4/+13
| | | | llvm-svn: 63517
OpenPOWER on IntegriCloud