Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Early ir-gen for constructor prologue. This is on going. | Fariborz Jahanian | 2009-07-20 | 2 | -0/+37 | |
| | | | | llvm-svn: 76493 | |||||
* | Reuse VarDecl::Init to store the default argument of a ParmVarDecl, | Douglas Gregor | 2009-07-20 | 2 | -4/+0 | |
| | | | | | | | reducing the size of ParmVarDecl by one pointer. Also means that we'll properly (de-)serialize default arguments in C++ PCH files. llvm-svn: 76487 | |||||
* | Enhance GRExprEngine::EvalBind to handle some implicit casts from nonlocs to | Ted Kremenek | 2009-07-20 | 1 | -1/+18 | |
| | | | | | | locs and vis versa. llvm-svn: 76483 | |||||
* | Enhance SimpleSValuator to handle nonloc::LocAsInteger -> location casts. | Ted Kremenek | 2009-07-20 | 1 | -3/+8 | |
| | | | | llvm-svn: 76481 | |||||
* | Remove an apparently unused header. | Mike Stump | 2009-07-20 | 1 | -1/+0 | |
| | | | | llvm-svn: 76473 | |||||
* | Add FIXME. | Ted Kremenek | 2009-07-20 | 1 | -0/+5 | |
| | | | | llvm-svn: 76466 | |||||
* | When a field is variable-sized or is an array with a negative size, | Douglas Gregor | 2009-07-20 | 1 | -1/+0 | |
| | | | | | | don't replace the type of the field with 'int', from Enea Zaffanella! llvm-svn: 76454 | |||||
* | Improve GCC compatibility by allowing static tentative definitions of | Douglas Gregor | 2009-07-20 | 1 | -16/+19 | |
| | | | | | | incomplete type (with a warning), from Enea Zaffanella! llvm-svn: 76451 | |||||
* | Enhance GRBranchNodeBuilderImpl (part of GRCoreEngine) to understand the case | Ted Kremenek | 2009-07-20 | 2 | -11/+22 | |
| | | | | | | | | where the true or false CFGBlock* for a branch could be NULL. This will handle the case where we can determine during CFG construction that a branch is infeasible. llvm-svn: 76450 | |||||
* | 5 cleanups to ObjCObjectPointerType work: | Steve Naroff | 2009-07-20 | 5 | -68/+35 | |
| | | | | | | | | | | - Remove Sema::CheckPointeeTypesForAssignment(), a temporary API I added to ease migration to ObjCObjectPointerType. Convert Sema::CheckAssignmentConstraints() to no longer depend on the temporary API. - Sema::ConvertDeclSpecToType(): Replace a couple FIXME's with an important comment/example. - Sema::GetTypeForDeclarator(): Get the protocol's from the interface, NOT the declspec (to support the following C typedef idiom: "typedef C<P> T; T *obj"). - Sema::ObjCQualifiedIdTypesAreCompatible(): Removed some dead code. - ASTContext::getObjCEncodingForTypeImpl(): Some minor cleanups. llvm-svn: 76443 | |||||
* | Issue a more descriptive diagnostics when mis-declaring | Fariborz Jahanian | 2009-07-20 | 2 | -4/+6 | |
| | | | | | | a destructor. llvm-svn: 76436 | |||||
* | The children statements might be NULL. Check for this case in | Zhongxing Xu | 2009-07-20 | 1 | -2/+3 | |
| | | | | | | isContainedInStatement(). llvm-svn: 76408 | |||||
* | Implement FIXME in pretty-printing for StringRegions. | Ted Kremenek | 2009-07-19 | 1 | -3/+2 | |
| | | | | llvm-svn: 76381 | |||||
* | Improve debug pretty-printing for ObjCIVarRegions. | Ted Kremenek | 2009-07-19 | 1 | -0/+4 | |
| | | | | llvm-svn: 76380 | |||||
* | enhance the goto checker to reject jumps across __block variable definitions. | Chris Lattner | 2009-07-19 | 2 | -1/+4 | |
| | | | | llvm-svn: 76376 | |||||
* | Catch another trivial case where we can avoid emitting a separate return blcok. | Daniel Dunbar | 2009-07-19 | 1 | -4/+5 | |
| | | | | llvm-svn: 76365 | |||||
* | Detect when the current generation point is unreachable after emitting | Daniel Dunbar | 2009-07-19 | 1 | -3/+12 | |
| | | | | | | | | | | expressions. - This generally catches the important case of noreturn functions. - With the last two changes, we are down to 152 unreachable blocks emitted on 403.gcc, vs the 1805 we started with. llvm-svn: 76364 | |||||
* | Fix thinko. | Daniel Dunbar | 2009-07-19 | 2 | -4/+8 | |
| | | | | llvm-svn: 76362 | |||||
* | Avoid generation of dead code in a few more situations. | Daniel Dunbar | 2009-07-19 | 4 | -15/+66 | |
| | | | | | | | | | | | | | - Emit variable declarations as "simple", we want to avoid forcing the creation of a dummy basic block, but still need to make the variable available for later use. - With that, we can now skip IRgen for other unreachable statements (which don't define a label). - Anders, I added two fixmes on calls to EmitVLASize, can you check them? llvm-svn: 76361 | |||||
* | Add include needed for MSVC. | Daniel Dunbar | 2009-07-19 | 1 | -0/+1 | |
| | | | | llvm-svn: 76359 | |||||
* | Update CMake | Daniel Dunbar | 2009-07-19 | 1 | -0/+1 | |
| | | | | llvm-svn: 76351 | |||||
* | Handle layout of non-virtual base classes. | Anders Carlsson | 2009-07-19 | 2 | -4/+65 | |
| | | | | llvm-svn: 76348 | |||||
* | Refactor field layout into a separate function. | Anders Carlsson | 2009-07-18 | 2 | -5/+10 | |
| | | | | llvm-svn: 76343 | |||||
* | Rename NextOffset to DataSize, which better matches the Itanium C++ ABI | Anders Carlsson | 2009-07-18 | 2 | -2/+2 | |
| | | | | llvm-svn: 76339 | |||||
* | Migrate over to the record layout builder. | Anders Carlsson | 2009-07-18 | 2 | -158/+13 | |
| | | | | llvm-svn: 76338 | |||||
* | Re-enable 'test/SemaTemplate/temp_class_spec_neg.cpp', after commenting out ↵ | Argyrios Kyrtzidis | 2009-07-18 | 1 | -1/+3 | |
| | | | | | | the cause of the crash. llvm-svn: 76337 | |||||
* | Introduce ASTLocation::getReferencedDecl(), for getting the declaration that ↵ | Argyrios Kyrtzidis | 2009-07-18 | 1 | -0/+24 | |
| | | | | | | the ASTLocation references. llvm-svn: 76336 | |||||
* | Handle invalid ASTLocations instead of asserting. | Argyrios Kyrtzidis | 2009-07-18 | 1 | -1/+6 | |
| | | | | llvm-svn: 76335 | |||||
* | More layout builder work. | Anders Carlsson | 2009-07-18 | 2 | -1/+54 | |
| | | | | llvm-svn: 76333 | |||||
* | Add a new ASTRecordLayoutBuilder class. Not used yet. | Anders Carlsson | 2009-07-18 | 2 | -0/+213 | |
| | | | | llvm-svn: 76330 | |||||
* | Revert r75641. | Anders Carlsson | 2009-07-18 | 9 | -7/+9 | |
| | | | | llvm-svn: 76327 | |||||
* | Fix typo from r76321. | Steve Naroff | 2009-07-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 76322 | |||||
* | Remove ObjCQualifiedInterfaceType:-) | Steve Naroff | 2009-07-18 | 11 | -150/+93 | |
| | | | | llvm-svn: 76321 | |||||
* | Rename file in preparation of properly implementing C-style casts in C++. | Sebastian Redl | 2009-07-18 | 2 | -1/+1 | |
| | | | | llvm-svn: 76318 | |||||
* | Enhance testing of overriding exception specs for inaccessible base exceptions. | Sebastian Redl | 2009-07-18 | 3 | -37/+55 | |
| | | | | llvm-svn: 76317 | |||||
* | Fix a comment. | Zhongxing Xu | 2009-07-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 76303 | |||||
* | Introduce a redecl_iterator in Decl class, so that we can do a "iterate over ↵ | Argyrios Kyrtzidis | 2009-07-18 | 1 | -1/+1 | |
| | | | | | | all declarations of the same decl" without knowing the exact type. llvm-svn: 76298 | |||||
* | Introduce the Redeclarable template class, which serves as a base type ↵ | Argyrios Kyrtzidis | 2009-07-18 | 1 | -42/+4 | |
| | | | | | | | | defining the common interface for Decls that can be redeclared. Make FunctionDecl and VarDecl use it. llvm-svn: 76297 | |||||
* | Remove StmtLocResolver::VisitObjCIvarRefExpr, it was only there to avoid ↵ | Argyrios Kyrtzidis | 2009-07-18 | 1 | -7/+0 | |
| | | | | | | | | returning an implicit 'self' instead of the ivar. Since implicit 'self' no longer has a source location, it's not needed. (plus we also want to check for a 'self' that is visible in source code) llvm-svn: 76296 | |||||
* | Don't add a SourceLocation for 'self' if it does not actually appears in the ↵ | Argyrios Kyrtzidis | 2009-07-18 | 1 | -1/+2 | |
| | | | | | | source code. llvm-svn: 76295 | |||||
* | Replace stmt visitors with the fall back method. | Zhongxing Xu | 2009-07-18 | 1 | -21/+1 | |
| | | | | llvm-svn: 76294 | |||||
* | Fix crash in StoreManager::NewCastRegion() when handling casts from 'id' (or ↵ | Ted Kremenek | 2009-07-18 | 1 | -2/+20 | |
| | | | | | | whatever) to a BlockPointerType. llvm-svn: 76288 | |||||
* | Return CodeTextRegions for BlockPointerTypes in addition to ↵ | Ted Kremenek | 2009-07-18 | 1 | -9/+9 | |
| | | | | | | FunctionPointerTypes. llvm-svn: 76287 | |||||
* | Fix some fallout from CFGBuilder restructuring: all expressions that we ↵ | Ted Kremenek | 2009-07-18 | 1 | -20/+24 | |
| | | | | | | explicitly handle have the possibility to be block-level expressions. llvm-svn: 76277 | |||||
* | Remove getFirstDeclaration/getLatestDeclaration from FunctionDecl and VarDecl. | Argyrios Kyrtzidis | 2009-07-18 | 1 | -18/+4 | |
| | | | | | | Their usefulness is questionable since redecl_iterator was introduced. llvm-svn: 76275 | |||||
* | Remove ASTContext::getCanonicalDecl() and use Decl::getCanonicalDecl in its ↵ | Argyrios Kyrtzidis | 2009-07-18 | 8 | -32/+30 | |
| | | | | | | place. llvm-svn: 76274 | |||||
* | Move the functionality of ASTContext::getCanonicalDecl(), into a virtual ↵ | Argyrios Kyrtzidis | 2009-07-18 | 4 | -41/+38 | |
| | | | | | | method Decl::getCanonicalDecl(). llvm-svn: 76273 | |||||
* | Resolve a location that is inside an ObjCMethodDecl. | Argyrios Kyrtzidis | 2009-07-18 | 1 | -1/+58 | |
| | | | | llvm-svn: 76272 | |||||
* | Make ASTLocation accept a Stmt that is inside an ObjCMethodDecl. | Argyrios Kyrtzidis | 2009-07-18 | 1 | -3/+19 | |
| | | | | llvm-svn: 76271 | |||||
* | Search through all Decls that are DeclContexts. | Argyrios Kyrtzidis | 2009-07-18 | 1 | -7/+2 | |
| | | | | llvm-svn: 76270 |