| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove the IndirectPrimary parameter in LayoutVirtualBases; it's already ↵ | Anders Carlsson | 2010-03-11 | 2 | -11/+6 |
| | | | | | | | there as a member variable. llvm-svn: 98211 | ||||
| * | More cleanup and simplification of the record layout builder. | Anders Carlsson | 2010-03-11 | 2 | -74/+85 |
| | | | | | llvm-svn: 98208 | ||||
| * | Support PPC-32 DWARF EH intrinisics. Thanks to rdivacky for his assistance. | John McCall | 2010-03-11 | 1 | -0/+77 |
| | | | | | llvm-svn: 98206 | ||||
| * | set alignment on static locals properly, patch by Arnaud de Grandmaison! | Chris Lattner | 2010-03-10 | 1 | -0/+2 |
| | | | | | llvm-svn: 98204 | ||||
| * | Get rid of the LayoutBaseNonVirtually; it was used to lay out a base either ↵ | Anders Carlsson | 2010-03-10 | 2 | -19/+20 |
| | | | | | | | as a non-virtual base or a virtual base. llvm-svn: 98198 | ||||
| * | More shuffling. | Anders Carlsson | 2010-03-10 | 2 | -65/+68 |
| | | | | | llvm-svn: 98197 | ||||
| * | Cleanups, no functionality change yet. | Anders Carlsson | 2010-03-10 | 2 | -6/+13 |
| | | | | | llvm-svn: 98196 | ||||
| * | Fix calculation of whether a member function needs a thunk in construction ↵ | Anders Carlsson | 2010-03-10 | 1 | -13/+23 |
| | | | | | | | vtables. llvm-svn: 98191 | ||||
| * | Change the 'super' messaging API in the rewriter. | Fariborz Jahanian | 2010-03-10 | 1 | -23/+62 |
| | | | | | | | Fixes radar 7738452. llvm-svn: 98190 | ||||
| * | Suppress the tag when printing an ElaboratedType if the language options | John McCall | 2010-03-10 | 1 | -1/+6 |
| | | | | | | | | | | | claim this is C. We don't make ElaboratedTypes in C, but sometimes the language options during pretty-print lie to us. The rewriter should really be fixed to not rely on how types are pretty-printed, though. llvm-svn: 98189 | ||||
| * | We were mistakenly marking morally virtual bases as being uninteresting. Fix ↵ | Anders Carlsson | 2010-03-10 | 1 | -5/+13 |
| | | | | | | | this. llvm-svn: 98180 | ||||
| * | Ignore non-interesting bases when emitting construction vtables. | Anders Carlsson | 2010-03-10 | 1 | -0/+11 |
| | | | | | llvm-svn: 98177 | ||||
| * | Simplify assertion. | Ted Kremenek | 2010-03-10 | 1 | -5/+1 |
| | | | | | llvm-svn: 98176 | ||||
| * | Remove '#if 0' code. Lazy compound values have proven their worth. | Ted Kremenek | 2010-03-10 | 1 | -39/+0 |
| | | | | | llvm-svn: 98175 | ||||
| * | Fix -Wsign-compare warnings reported by clang++. | Ted Kremenek | 2010-03-10 | 1 | -3/+3 |
| | | | | | llvm-svn: 98174 | ||||
| * | Fix -Wsign-compare warning reported by clang++. | Ted Kremenek | 2010-03-10 | 1 | -1/+2 |
| | | | | | llvm-svn: 98170 | ||||
| * | Remove the subregion map cache. It is no longer used. | Ted Kremenek | 2010-03-10 | 1 | -8/+0 |
| | | | | | llvm-svn: 98161 | ||||
| * | Fix stale comment. | Ted Kremenek | 2010-03-10 | 1 | -1/+1 |
| | | | | | llvm-svn: 98160 | ||||
| * | Really apply (unnoticed weird git-svn merge conflict in 98144): Refactor ↵ | Ted Kremenek | 2010-03-10 | 1 | -299/+290 |
| | | | | | | | | | | | | RegionStore::RemoveDeadBindings to use the same core cluster analysis algorithm as RegionStore::InvalidateRegions(). Beyond simplifying the algorithm significantly, we no longer need to build subregion maps in RemoveDeadBindings(). This and other changes cause a significant speedup: the time to analyze sqlite3.c (single core) drops by 14%. llvm-svn: 98159 | ||||
| * | When pretty-printing tag types, only print the tag if we're in C (and | John McCall | 2010-03-10 | 3 | -59/+64 |
| | | | | | | | | | | | therefore not creating ElaboratedTypes, which are still pretty-printed with the written tag). Most of these testcase changes were done by script, so don't feel too sorry for my fingers. llvm-svn: 98149 | ||||
| * | Refactor RegionStore::RemoveDeadBindings to use the same core | Ted Kremenek | 2010-03-10 | 1 | -87/+87 |
| | | | | | | | | | | | | cluster analysis algorithm as RegionStore::InvalidateRegions(). Beyond simplifying the algorithm significantly, we no longer need to build subregion maps in RemoveDeadBindings(). This and other changes cause a significant speedup: the time to analyze sqlite3.c (single core) drops by 14%. llvm-svn: 98144 | ||||
| * | Refactor some of RegionStore's InvalidateRegionsWorker class | Ted Kremenek | 2010-03-10 | 1 | -62/+86 |
| | | | | | | | | into a 'ClusterAnalysis' parent class. The idea is to potentially reuse this for reworking RemoveDeadBindings. llvm-svn: 98143 | ||||
| * | Don't accidentally mark some functions in construction vtables as unused. ↵ | Anders Carlsson | 2010-03-10 | 1 | -30/+42 |
| | | | | | | | Also land the test for a previous checkin, now that it's correct. llvm-svn: 98139 | ||||
| * | Allow the fast path through ASTContext::getTypeDeclType to be inlined. | John McCall | 2010-03-10 | 1 | -18/+16 |
| | | | | | llvm-svn: 98138 | ||||
| * | Add use-after-free check to MallocChecker. | Zhongxing Xu | 2010-03-10 | 2 | -1/+42 |
| | | | | | llvm-svn: 98136 | ||||
| * | Statement expressions can be used in global- or namespace-scoped blocks | Douglas Gregor | 2010-03-10 | 1 | -1/+2 |
| | | | | | llvm-svn: 98135 | ||||
| * | Create a new InjectedClassNameType to represent bare-word references to the | John McCall | 2010-03-10 | 18 | -120/+252 |
| | | | | | | | | | | | | | | injected class name of a class template or class template partial specialization. This is a non-canonical type; the canonical type is still a template specialization type. This becomes the TypeForDecl of the pattern declaration, which cleans up some amount of code (and complicates some other parts, but whatever). Fixes PR6326 and probably a few others, primarily by re-establishing a few invariants about TypeLoc sizes. llvm-svn: 98134 | ||||
| * | When building construction vtables, we need to check if a primary virtual ↵ | Anders Carlsson | 2010-03-10 | 1 | -7/+29 |
| | | | | | | | base is actually a primary virtual base in the layout class. llvm-svn: 98131 | ||||
| * | Improve vcall offset handling in construction vtables. With this we layout ↵ | Anders Carlsson | 2010-03-10 | 1 | -21/+58 |
| | | | | | | | the construction vtables from the ABI examples correctly. llvm-svn: 98127 | ||||
| * | Delay codegen of vtables when handling implicit instantiations. | Rafael Espindola | 2010-03-10 | 5 | -30/+51 |
| | | | | | | | This fixes PR6474. llvm-svn: 98123 | ||||
| * | Add insert/extract_ps and related random macros. | Eric Christopher | 2010-03-10 | 1 | -0/+21 |
| | | | | | llvm-svn: 98114 | ||||
| * | Use SmallString instead of alloca. | Devang Patel | 2010-03-10 | 1 | -2/+3 |
| | | | | | llvm-svn: 98112 | ||||
| * | When computing in AnalysisContext the variables referenced | Ted Kremenek | 2010-03-10 | 1 | -6/+20 |
| | | | | | | | by a block, also look at the contained blocks. llvm-svn: 98111 | ||||
| * | Enhance basic store to also lazily symbolicate VarRegions | Ted Kremenek | 2010-03-10 | 1 | -1/+2 |
| | | | | | | | with an 'unknown' memory space. llvm-svn: 98110 | ||||
| * | Fix file reference for derived and composite types. Now, dwarf writer uses ↵ | Devang Patel | 2010-03-09 | 1 | -41/+38 |
| | | | | | | | strict verifier that ignores debug info for such types if their file info is unknown. llvm-svn: 98096 | ||||
| * | More then one anonymous aggregates on one line creates chaos when MDNode ↵ | Devang Patel | 2010-03-09 | 2 | -7/+7 |
| | | | | | | | | | uniquness is combined with RAUW operation. Right solution is to avoid using RAUW. This fixes PR 6554. llvm-svn: 98083 | ||||
| * | Use getLast() instead of getBasename(). | Devang Patel | 2010-03-09 | 1 | -1/+1 |
| | | | | | llvm-svn: 98072 | ||||
| * | Don't error when a block pointer is passed to a | Fariborz Jahanian | 2010-03-09 | 1 | -0/+1 |
| | | | | | | | vararg functions/methods. Fixes radar 7725203. llvm-svn: 98070 | ||||
| * | Replace copy loops with memcpy. | Benjamin Kramer | 2010-03-09 | 1 | -4/+2 |
| | | | | | llvm-svn: 98055 | ||||
| * | Start using DIFile. Corresponding llvm patch is r98020. | Devang Patel | 2010-03-09 | 2 | -150/+129 |
| | | | | | llvm-svn: 98021 | ||||
| * | Add preprocessor guards to the definitions of size_t and wchar_t, and #undef ↵ | Ted Kremenek | 2010-03-08 | 1 | -0/+7 |
| | | | | | | | | | NULL before defining it. This addresses potential issues with system headers reported in <rdar://problem/7727159>. llvm-svn: 98006 | ||||
| * | Place the definition of 'va_list' within a preprocessor guard. This matches ↵ | Ted Kremenek | 2010-03-08 | 1 | -0/+3 |
| | | | | | | | the behavior of GCC, and avoids potential conflicts with system headers (e.g., stdio.h). Fixes <rdar://problem/7727145>. llvm-svn: 98003 | ||||
| * | add a codegen hack to work around an AST bug, allowing us to compile the | Chris Lattner | 2010-03-08 | 1 | -2/+12 |
| | | | | | | | code in PR6537. This should be reverted when the ast bug is fixed. llvm-svn: 97981 | ||||
| * | Allocate ASTRecordLayout objects using the allocator associated with ASTContext. | Ted Kremenek | 2010-03-08 | 4 | -31/+102 |
| | | | | | | | | This allows them to be allocated using a BumpPtrAllocated in the common case. llvm-svn: 97978 | ||||
| * | Avoid using DIDescriptor.isNull(). | Devang Patel | 2010-03-08 | 1 | -4/+4 |
| | | | | | llvm-svn: 97976 | ||||
| * | Revert r97949. | Devang Patel | 2010-03-08 | 1 | -4/+4 |
| | | | | | llvm-svn: 97964 | ||||
| * | Improve XML output for C++ classes, from Olaf Krzikalla! | Douglas Gregor | 2010-03-08 | 1 | -7/+19 |
| | | | | | llvm-svn: 97954 | ||||
| * | Avoid DIDescriptor.isNull() checks. | Devang Patel | 2010-03-08 | 1 | -4/+4 |
| | | | | | llvm-svn: 97949 | ||||
| * | Extend ObjCMessageExpr for class method sends with the source location | Douglas Gregor | 2010-03-08 | 7 | -29/+37 |
| | | | | | | | of the class name. llvm-svn: 97943 | ||||
| * | Keep track of type source information in the return type of an | Douglas Gregor | 2010-03-08 | 5 | -8/+15 |
| | | | | | | | | | | | Objective-C method declaration, e.g., for - (Foo *)myMethod; we now have TypeSourceInfo for the Foo*. llvm-svn: 97942 | ||||

