Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | PR2919: __builtin_types_compatible_p strips CRV qualifiers. | Daniel Dunbar | 2008-10-24 | 3 | -2/+19 | |
| | | | | llvm-svn: 58079 | |||||
* | add a missing file to project, alphabeticalize. | Chris Lattner | 2008-10-24 | 1 | -3/+5 | |
| | | | | llvm-svn: 58078 | |||||
* | Add printing method to ElementRegion. | Zhongxing Xu | 2008-10-24 | 2 | -0/+9 | |
| | | | | llvm-svn: 58077 | |||||
* | Use LINK_COMPONENTS instead of hard coding LLVM libraries. | Daniel Dunbar | 2008-10-24 | 1 | -5/+2 | |
| | | | | llvm-svn: 58076 | |||||
* | Add printing method to RegionStoreManager. | Zhongxing Xu | 2008-10-24 | 1 | -3/+11 | |
| | | | | llvm-svn: 58074 | |||||
* | Add printing with llvm::raw_ostream methods to SVals. | Zhongxing Xu | 2008-10-24 | 2 | -0/+134 | |
| | | | | llvm-svn: 58073 | |||||
* | First non-embarrassing cut at checking for ambiguous derived-to-base | Douglas Gregor | 2008-10-24 | 9 | -18/+500 | |
| | | | | | | | | | | conversions. Added PerformImplicitConversion, which follows an implicit conversion sequence computed by TryCopyInitialization and actually performs the implicit conversions, including the extra check for ambiguity mentioned above. llvm-svn: 58071 | |||||
* | Fix 80-col violation. | Zhongxing Xu | 2008-10-24 | 2 | -4/+6 | |
| | | | | llvm-svn: 58070 | |||||
* | Fix linking error. | Zhongxing Xu | 2008-10-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 58067 | |||||
* | Add a bunch of dummy methods to make RegionStoreManager non-virtual. | Zhongxing Xu | 2008-10-24 | 1 | -3/+29 | |
| | | | | llvm-svn: 58061 | |||||
* | Add file to VC++ project. | Steve Naroff | 2008-10-24 | 1 | -0/+4 | |
| | | | | llvm-svn: 58059 | |||||
* | Added getLValueElement() to RegionStore. Only handle constant array for now. | Zhongxing Xu | 2008-10-24 | 1 | -0/+54 | |
| | | | | llvm-svn: 58058 | |||||
* | Make the analyzer store (memory model) a command line option. | Ted Kremenek | 2008-10-24 | 8 | -9/+63 | |
| | | | | llvm-svn: 58056 | |||||
* | Map compilation units using FileEntry pointers instead of | Daniel Dunbar | 2008-10-24 | 2 | -11/+8 | |
| | | | | | | | | | FileIDs. This seems better conceptually and lets the SourceManager handle details of mapping the location to a file ID. - In practice, fixes an assert because this code wasn't using getPhysicalLoc. llvm-svn: 58055 | |||||
* | Use llvm::errs() instead of cerr. | Ted Kremenek | 2008-10-23 | 1 | -5/+5 | |
| | | | | llvm-svn: 58054 | |||||
* | Convert InheritanceHierarchyWriter to use llvm::raw_ostream instead of ↵ | Ted Kremenek | 2008-10-23 | 1 | -11/+10 | |
| | | | | | | std::ostream. llvm-svn: 58053 | |||||
* | Added driver option "-cxx-inheritance-view" for viewing the C++ hierarchy of ↵ | Ted Kremenek | 2008-10-23 | 3 | -2/+49 | |
| | | | | | | a class in GraphViz. llvm-svn: 58051 | |||||
* | Added iterators for types. | Ted Kremenek | 2008-10-23 | 1 | -0/+12 | |
| | | | | llvm-svn: 58050 | |||||
* | Fix regression in comparison of qualified id; == operator was being | Daniel Dunbar | 2008-10-23 | 2 | -1/+10 | |
| | | | | | | created with LHS and RHS whose types didn't match. llvm-svn: 58049 | |||||
* | Add some files to VC++ project. | Steve Naroff | 2008-10-23 | 2 | -0/+12 | |
| | | | | llvm-svn: 58047 | |||||
* | Updated Xcode project. | Ted Kremenek | 2008-10-23 | 1 | -6/+26 | |
| | | | | llvm-svn: 58046 | |||||
* | For Radar reporting, null dereferences should be default classified as ↵ | Ted Kremenek | 2008-10-23 | 1 | -0/+2 | |
| | | | | | | "Crash/Hang/Data loss" <rdar://problem/6315624> llvm-svn: 58045 | |||||
* | Clean up and document the representation of C++ base classes | Douglas Gregor | 2008-10-23 | 5 | -52/+81 | |
| | | | | llvm-svn: 58040 | |||||
* | Hook "fast" code generation to -O0. | Daniel Dunbar | 2008-10-23 | 1 | -8/+5 | |
| | | | | llvm-svn: 58035 | |||||
* | Add -O[0-3s] support (following llvm-gcc). | Daniel Dunbar | 2008-10-23 | 4 | -11/+186 | |
| | | | | | | - Passes match llvm-gcc but many of the switches aren't wired. llvm-svn: 58034 | |||||
* | Add an assertion to make our intention more clear. | Zhongxing Xu | 2008-10-23 | 1 | -0/+2 | |
| | | | | llvm-svn: 58030 | |||||
* | If NDEBUG is set, don't include any of the code for visualizing inheritance ↵ | Douglas Gregor | 2008-10-23 | 1 | -0/+2 | |
| | | | | | | hierarchies llvm-svn: 58029 | |||||
* | Let StoreManager do different cast on arrays. BasicStore will just keep it ↵ | Zhongxing Xu | 2008-10-23 | 4 | -2/+15 | |
| | | | | | | intact. llvm-svn: 58028 | |||||
* | Updated checker build. | Ted Kremenek | 2008-10-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 58027 | |||||
* | Temporarily mark this test XFAIL. | Ted Kremenek | 2008-10-23 | 1 | -2/+3 | |
| | | | | llvm-svn: 58024 | |||||
* | Disable warning about potential leaks of returned values until we test it a ↵ | Ted Kremenek | 2008-10-23 | 1 | -3/+33 | |
| | | | | | | little more (lots of noise). llvm-svn: 58021 | |||||
* | Added a method to ElementRegion. | Zhongxing Xu | 2008-10-23 | 1 | -0/+2 | |
| | | | | llvm-svn: 58020 | |||||
* | Add support for conversions from a pointer-to-derived to a | Douglas Gregor | 2008-10-23 | 5 | -19/+243 | |
| | | | | | | | | | | | | pointer-to-base. Also, add overload ranking for pointer conversions (for both pointer-to-void and derived-to-base pointer conversions). Note that we do not yet diagnose derived-to-base pointer conversion errors that stem from ambiguous or inacessible base classes. These aren't handled during overload resolution; rather, when the conversion is actually used we go ahead and diagnose the error. llvm-svn: 58017 | |||||
* | Update Xcode project. We still get a link error, however, because of an ↵ | Ted Kremenek | 2008-10-23 | 1 | -0/+12 | |
| | | | | | | LLVM library that isn't being linked in for CodeGen (will fix). llvm-svn: 58015 | |||||
* | Warn about potentially leaked objects that are returned from methods whose ↵ | Ted Kremenek | 2008-10-22 | 2 | -16/+90 | |
| | | | | | | names do not follow the Cocoa Memory Management guidelines. llvm-svn: 58012 | |||||
* | Fix <rdar://problem/6312683> clang block rewriter: | Steve Naroff | 2008-10-22 | 1 | -1/+0 | |
| | | | | llvm-svn: 58011 | |||||
* | Restrict creation of OverloadedFunctionDecl only to C++ (it was getting used ↵ | Argyrios Kyrtzidis | 2008-10-22 | 1 | -1/+2 | |
| | | | | | | for invalid redeclarations on C). llvm-svn: 58008 | |||||
* | Fix <rdar://problem/6311947> clang on xcode (regression): error: use of ↵ | Steve Naroff | 2008-10-22 | 2 | -2/+35 | |
| | | | | | | | | undeclared identifier 'expandedValue'. Mea culpa: I introduced this regresson in the following 2 commits: r57529 (10/14), r57841 (10/20). llvm-svn: 58007 | |||||
* | Updated checker build. | Ted Kremenek | 2008-10-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 58005 | |||||
* | Remove the GraphWriter-based version of the C++ class inheritance ↵ | Douglas Gregor | 2008-10-22 | 1 | -89/+1 | |
| | | | | | | visualization, since it isn't being used and can't handle virtual bases properly llvm-svn: 58002 | |||||
* | Added GraphViz visualization of C++ inheritance hierarchies. | Douglas Gregor | 2008-10-22 | 4 | -9/+305 | |
| | | | | | | | Factored the QualTypeOrdering predicate into its own header (TypeOrdering.h), now that it is used in two places. llvm-svn: 58001 | |||||
* | Now that DeclRefExpr accepts a NamedDecl, use a DeclRefExpr for when a ↵ | Argyrios Kyrtzidis | 2008-10-22 | 2 | -5/+2 | |
| | | | | | | CXXFieldDecl is referenced inside a method. llvm-svn: 58000 | |||||
* | Enhance reference-count checker to correctly identify CG "release" ↵ | Ted Kremenek | 2008-10-22 | 2 | -5/+31 | |
| | | | | | | functions. This fixes <rdar://problem/6303488>. llvm-svn: 57997 | |||||
* | Fix <rdar://problem/6257675> error: member reference base type ↵ | Steve Naroff | 2008-10-22 | 2 | -0/+39 | |
| | | | | | | | | ('NSUserDefaults *') is not a structure or union. Teach Sema::ActOnMemberReferenceExpr() to look through local category implementations associated with the class. llvm-svn: 57995 | |||||
* | Only create the target machine when emitting assembly. | Daniel Dunbar | 2008-10-22 | 1 | -17/+17 | |
| | | | | llvm-svn: 57993 | |||||
* | Add representation of base classes in the AST, and verify that we | Douglas Gregor | 2008-10-22 | 10 | -36/+234 | |
| | | | | | | | | don't have duplicated direct base classes. Seriliazation of base class specifiers is not yet implemented. llvm-svn: 57991 | |||||
* | [LLVM up] Get rid of std::ostream usage from Backend.cpp | Daniel Dunbar | 2008-10-22 | 1 | -18/+4 | |
| | | | | llvm-svn: 57990 | |||||
* | Add support for assembler-with-cpp (preprocessed .S files), patch by | Chris Lattner | 2008-10-22 | 2 | -2/+10 | |
| | | | | | | Roman Divacky! llvm-svn: 57988 | |||||
* | Update server URL for checker build. | Ted Kremenek | 2008-10-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 57981 | |||||
* | QualType::isMoreQualifiedThan and isAtLeastAsQualifiedAs assert that we | Douglas Gregor | 2008-10-22 | 3 | -6/+16 | |
| | | | | | | | | | aren't trying to compare with address-space qualifiers (for now). Clean up handing of DeclRefExprs in Expr::isLvalue and refactor part of the check into a static DeclCanBeLvalue. llvm-svn: 57980 |