summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Use "followsFundamentalRule" to determine if an instance method allocates ↵Ted Kremenek2008-10-241-8/+9
| | | | | | memory. llvm-svn: 58114
* 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
* 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
* Yet another update to the VC++ proj.Steve Naroff2008-10-241-0/+4
| | | | llvm-svn: 58091
* 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
* 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
* 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
* 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
* Fix linking error.Zhongxing Xu2008-10-241-1/+1
| | | | llvm-svn: 58067
* 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-0/+4
| | | | llvm-svn: 58059
* Added getLValueElement() to RegionStore. Only handle constant array for now.Zhongxing Xu2008-10-241-0/+54
| | | | llvm-svn: 58058
* 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
* Use llvm::errs() instead of cerr.Ted Kremenek2008-10-231-5/+5
| | | | llvm-svn: 58054
* Convert InheritanceHierarchyWriter to use llvm::raw_ostream instead of ↵Ted Kremenek2008-10-231-11/+10
| | | | | | std::ostream. llvm-svn: 58053
* Added driver option "-cxx-inheritance-view" for viewing the C++ hierarchy of ↵Ted Kremenek2008-10-233-2/+49
| | | | | | a class in GraphViz. llvm-svn: 58051
* Added iterators for types.Ted Kremenek2008-10-231-0/+12
| | | | llvm-svn: 58050
* Fix regression in comparison of qualified id; == operator was beingDaniel Dunbar2008-10-232-1/+10
| | | | | | created with LHS and RHS whose types didn't match. llvm-svn: 58049
* Add some files to VC++ project.Steve Naroff2008-10-232-0/+12
| | | | llvm-svn: 58047
* Updated Xcode project.Ted Kremenek2008-10-231-6/+26
| | | | llvm-svn: 58046
* For Radar reporting, null dereferences should be default classified as ↵Ted Kremenek2008-10-231-0/+2
| | | | | | "Crash/Hang/Data loss" <rdar://problem/6315624> llvm-svn: 58045
* Clean up and document the representation of C++ base classesDouglas Gregor2008-10-235-52/+81
| | | | llvm-svn: 58040
* Hook "fast" code generation to -O0.Daniel Dunbar2008-10-231-8/+5
| | | | llvm-svn: 58035
* Add -O[0-3s] support (following llvm-gcc).Daniel Dunbar2008-10-234-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 Xu2008-10-231-0/+2
| | | | llvm-svn: 58030
* If NDEBUG is set, don't include any of the code for visualizing inheritance ↵Douglas Gregor2008-10-231-0/+2
| | | | | | hierarchies llvm-svn: 58029
OpenPOWER on IntegriCloud