summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* followsFundamentalRule() returns true if "alloc" or "new" appear at the ↵Ted Kremenek2008-10-241-16/+22
| | | | | | beginning of the string, not anywhere within it. llvm-svn: 58112
* Expand bubble size by 50%.Ted Kremenek2008-10-241-1/+1
| | | | llvm-svn: 58111
* Implicit conversions from arrays can also be conversions to references (will ↵Ted Kremenek2008-10-241-1/+1
| | | | | | add a test case shortly). llvm-svn: 58110
* This test no longer is marked XFAIL.Ted Kremenek2008-10-241-1/+16
| | | | | | Enhance test to include a case where a tracked object escapes because it is stored to a local ivar through a method dispatch to 'self.' llvm-svn: 58109
* Issue warnings about owned objects returned from a method that does not ↵Ted Kremenek2008-10-241-54/+74
| | | | | | match the established Cocoa naming conventions. llvm-svn: 58108
* Added method "getSelfRegion" to Store. This method returns the region ↵Ted Kremenek2008-10-246-24/+70
| | | | | | associated with the "this" or "self" object (C++ and Objective-C respectively). llvm-svn: 58107
* Added region ObjCObjectRegion that represents an instance of an Objective-C ↵Ted Kremenek2008-10-242-6/+59
| | | | | | object. llvm-svn: 58106
* Move viewInheritance to CXXRecordDecl, and make sure it builds in Release ↵Douglas Gregor2008-10-244-21/+10
| | | | | | mode, too llvm-svn: 58105
* move the note to the correct READMETorok Edwin2008-10-242-95/+97
| | | | llvm-svn: 58104
* add note about va_arg code on x86 and x86-64Torok Edwin2008-10-241-0/+94
| | | | llvm-svn: 58103
* Fix a pasto.Evan Cheng2008-10-241-1/+1
| | | | llvm-svn: 58102
* PR2942: FunctionDecls by typedef crash the C++ front-endDouglas Gregor2008-10-242-1/+35
| | | | llvm-svn: 58100
* Test commitSebastian Redl2008-10-241-1/+0
| | | | llvm-svn: 58099
* Add another file to VC++ project.Steve Naroff2008-10-241-0/+4
| | | | llvm-svn: 58098
* Make QualTypeOrdering::operator() constDouglas Gregor2008-10-241-1/+1
| | | | llvm-svn: 58097
* Some cleanups for the ambiguous derived-to-base conversion checksDouglas Gregor2008-10-244-50/+49
| | | | llvm-svn: 58096
* Semantic analysis for C++ reinterpret_cast and const_cast. Patch by ↵Douglas Gregor2008-10-249-8/+507
| | | | | | Sebastian Redl. llvm-svn: 58094
* Fix scan-build's processing of clang's analysis arguments. Patch by Nikita ↵Ted Kremenek2008-10-241-1/+1
| | | | | | Zhuk! llvm-svn: 58093
* Fix translateX86CC: if SetCCOpcode is SETULE andDuncan Sands2008-10-242-13/+27
| | | | | | | | | | | | | | LHS is a foldable load, then LHS and RHS are swapped and SetCCOpcode is changed to SETUGT. But the later code is expecting operands to be the wrong way round for SETUGT, but they are not in this case, resulting in an inverted compare. The solution is to move the load normalization before the correction for SETUGT. This bug was tickled by LegalizeTypes which happened to legalize the testcase slightly differently to LegalizeDAG. llvm-svn: 58092
* Yet another update to the VC++ proj.Steve Naroff2008-10-241-0/+4
| | | | llvm-svn: 58091
* Modify the cmake build system so that if it doesn't find bison, it will use ↵Cedric Venet2008-10-242-6/+30
| | | | | | the pregenerated file in from the svn (.cvs). Work only for windows for the moment. Tested on Vista64 with MSVC2008express. llvm-svn: 58090
* Add a file to VC++ proj.Steve Naroff2008-10-241-13/+17
| | | | llvm-svn: 58089
* The Decl of an array region can be VarDecl or FieldDecl. Handle this in ↵Zhongxing Xu2008-10-242-3/+12
| | | | | | RegionStoreManager::ArrayToPointer(). llvm-svn: 58086
* Add random array and struct test code for SCA.Zhongxing Xu2008-10-241-1/+6
| | | | llvm-svn: 58085
* Use #define trickery to de-XFAIL test/Coverage/codegen-gnu.m whileDaniel Dunbar2008-10-242-3/+9
| | | | | | still getting coverage for non-IRgen cases. llvm-svn: 58084
* Implement struct initialization. Make it into a recursive function. Also makeZhongxing Xu2008-10-241-24/+63
| | | | | | the array initialization code into a function. llvm-svn: 58083
* Use #define trickery to de-XFAIL test/Coverage/codegen-next.m whileDaniel Dunbar2008-10-242-6/+12
| | | | | | still getting coverage for non-IRgen cases. llvm-svn: 58082
* Don't crash on invalid source locations inDaniel Dunbar2008-10-241-3/+6
| | | | | | CGDebugInfo::getOrCreateCompileUnit. llvm-svn: 58081
* svn:ignore test/SemaCXX/OutputDaniel Dunbar2008-10-240-0/+0
| | | | llvm-svn: 58080
* PR2919: __builtin_types_compatible_p strips CRV qualifiers.Daniel Dunbar2008-10-243-2/+19
| | | | llvm-svn: 58079
* add a missing file to project, alphabeticalize.Chris Lattner2008-10-241-3/+5
| | | | llvm-svn: 58078
* Add printing method to ElementRegion.Zhongxing Xu2008-10-242-0/+9
| | | | llvm-svn: 58077
* Use LINK_COMPONENTS instead of hard coding LLVM libraries.Daniel Dunbar2008-10-241-5/+2
| | | | llvm-svn: 58076
* Don't try to create a mask when we don't need one. Fixes a crash.Nick Lewycky2008-10-242-4/+14
| | | | llvm-svn: 58075
* Add printing method to RegionStoreManager.Zhongxing Xu2008-10-241-3/+11
| | | | llvm-svn: 58074
* Add printing with llvm::raw_ostream methods to SVals.Zhongxing Xu2008-10-242-0/+134
| | | | llvm-svn: 58073
* Fix a end() dereference; remove an abort() that wasn't meant to be left in.Evan Cheng2008-10-241-5/+4
| | | | llvm-svn: 58072
* First non-embarrassing cut at checking for ambiguous derived-to-base Douglas Gregor2008-10-249-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 Xu2008-10-242-4/+6
| | | | llvm-svn: 58070
* Add value range analyzing of Add and Sub.Nick Lewycky2008-10-241-9/+73
| | | | | | Understand that mul %x, 1 = %x. llvm-svn: 58069
* Avoid splitting an interval multiple times; avoid splitting ↵Evan Cheng2008-10-246-51/+195
| | | | | | re-materializable val# (for now). llvm-svn: 58068
* Fix linking error.Zhongxing Xu2008-10-241-1/+1
| | | | llvm-svn: 58067
* Fix constant-offset emission for x86-64 absolute addresses. ThisDan Gohman2008-10-243-11/+58
| | | | | | | fixes a bunch of test-suite JIT failures on x86-64 in -relocation-model=static mode. llvm-svn: 58066
* Add a bunch of dummy methods to make RegionStoreManager non-virtual.Zhongxing Xu2008-10-241-3/+29
| | | | llvm-svn: 58061
* Add file to VC++ project.Steve Naroff2008-10-241-13/+17
| | | | llvm-svn: 58060
* Add file to VC++ project.Steve Naroff2008-10-241-0/+4
| | | | llvm-svn: 58059
* Added getLValueElement() to RegionStore. Only handle constant array for now.Zhongxing Xu2008-10-241-0/+54
| | | | llvm-svn: 58058
* Initialize uninitialized variable.Dale Johannesen2008-10-241-1/+1
| | | | llvm-svn: 58057
* Make the analyzer store (memory model) a command line option.Ted Kremenek2008-10-248-9/+63
| | | | llvm-svn: 58056
* Map compilation units using FileEntry pointers instead ofDaniel Dunbar2008-10-242-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
OpenPOWER on IntegriCloud