- May 12, 2009
-
-
Chris Lattner authored
llvm-svn: 71583
-
rdar://problem/6320065Ted Kremenek authored
Now 'init' methods are treated by the retain/release checker as claiming their receiver and allocating a new object. llvm-svn: 71579
-
Fariborz Jahanian authored
selectors which need use Nonfrgile API for message dispatch. llvm-svn: 71578
-
Chris Lattner authored
llvm-svn: 71572
-
Fariborz Jahanian authored
only and used in class imllementations (objc2 Nonfragile ABI specific). llvm-svn: 71571
-
Daniel Dunbar authored
don't need special treatment for unions. llvm-svn: 71559
-
Daniel Dunbar authored
register. - Merge algorithm was returning MEMORY as it should. llvm-svn: 71556
-
Zhongxing Xu authored
array region, set its default value to conjured symbol. When retrieving its element, create new region value symbol for the element. Also fix some 80 columns violations. llvm-svn: 71548
-
rdar://problem/6877235Ted Kremenek authored
Fix <rdar://problem/6877235> Classes typedef-ed to CF objects should get the same treatment as CF objects This was accomplished by having 'isTypeRef' recursively walk the typedef stack. llvm-svn: 71538
-
Douglas Gregor authored
(with -E), we turn the PCH include into an implicit include of the file from which the PCH file was generated. llvm-svn: 71534
-
Douglas Gregor authored
TemplateArgumentList. This avoids the need to pass around pointer/length pairs of template arguments lists, and will eventually make it easier to introduce member templates and variadic templates. llvm-svn: 71517
-
Ted Kremenek authored
BugReport::getEndPath() - Only add a Stmt's range to the constructed PathDiagnosticEventPiece if the BugReport contained no explicit ranges. llvm-svn: 71516
-
Anders Carlsson authored
Factor code that's common to EmitCXXMemberCallExpr and EmitCXXConstructorCall out into a EmitCXXMemberCall function. llvm-svn: 71514
-
Daniel Dunbar authored
spotted by Eli! llvm-svn: 71490
-
Anders Carlsson authored
llvm-svn: 71489
-
Ted Kremenek authored
When stripping element regions for invalidating region values, treat FieldRegions and ObjCIvarRegions as "base" regions in addition to VarRegions. llvm-svn: 71488
-
Anders Carlsson authored
llvm-svn: 71486
-
Anders Carlsson authored
llvm-svn: 71482
-
Anders Carlsson authored
llvm-svn: 71481
-
Ted Kremenek authored
EdgeBuilder: DeclStmts and BinaryOperators are not the enclosing location context when they are used as initialization code for loops. llvm-svn: 71480
-
- May 11, 2009
-
-
Ted Kremenek authored
EdgeBuilder::cleanUpLocation() should used the PathDiagnosticLocation constructor for a single point, not a range. llvm-svn: 71477
-
Douglas Gregor authored
specialization" within a C++ template, and permit name lookup into the current instantiation. For example, given: template<typename T, typename U> struct X { typedef T type; X* x1; // current instantiation X<T, U> *x2; // current instantiation X<U, T> *x3; // not current instantiation ::X<type, U> *x4; // current instantiation X<typename X<type, U>::type, U>: *x5; // current instantiation }; llvm-svn: 71471
-
Ted Kremenek authored
BugReporter (extensive diagnostics): Add EdgeBuilder::cleanUpLocation for canonicalization locations and use this in both popLocation and rawAddEdge. llvm-svn: 71470
-
Ted Kremenek authored
llvm-svn: 71469
-
Fariborz Jahanian authored
message dispage API for all but a few messages. This is a runtime performance improvement and there is not meant to be a functional change. llvm-svn: 71467
-
Daniel Dunbar authored
llvm-svn: 71461
-
rdar://problem/6866843Ted Kremenek authored
Fix regression reported in <rdar://problem/6866843>. The analyzer should extend the lifetime of an object stored to a container. llvm-svn: 71452
-
Chris Lattner authored
llvm-svn: 71451
-
Ted Kremenek authored
Fix a bug found by Thomas Clement where 'return [[[NSString alloc] init] autorelease]' would emit a false 'too many overreleases' error. llvm-svn: 71432
-
Zhongxing Xu authored
the VarRegion as a super region of an ElementRegion. llvm-svn: 71431
-
Zhongxing Xu authored
retrieve the string value. llvm-svn: 71430
-
Zhongxing Xu authored
ElementRegion. llvm-svn: 71428
-
Douglas Gregor authored
With the introduction of nullptr, a template argument that refers to a declaration can now be NULL. Use cast_or_null appropriately llvm-svn: 71412
-
Douglas Gregor authored
llvm-svn: 71409
-
Douglas Gregor authored
template. The injected-class-name is either a type or a template, depending on whether a '<' follows it. As a type, the injected-class-name's template argument list contains its template parameters in declaration order. As part of this, add logic for canonicalizing declarations, and be sure to canonicalize declarations used in template names and template arguments. A TagType is dependent if the declaration it references is dependent. I'm not happy about the rather complicated protocol needed to use ASTContext::getTemplateSpecializationType. llvm-svn: 71408
-
- May 10, 2009
-
-
Sebastian Redl authored
llvm-svn: 71405
-
Ted Kremenek authored
llvm-svn: 71397
-
Ted Kremenek authored
where an owned one is expected. Also add preliminary checking for returning a positive retain count object in GC mode where an owned GC object is expected. llvm-svn: 71388
-
Ted Kremenek authored
- Improve -autorelease diagnostics. - Improve VLA diagnostics. - Use "short description" for bug when outputting to TextDiagnostics llvm-svn: 71383
-
- May 09, 2009
-
-
Zhongxing Xu authored
pointee type is scalar type, create element region regardless with the sizes of types. llvm-svn: 71360
-