- Oct 31, 2008
-
-
Ted Kremenek authored
llvm-svn: 58479
-
Ted Kremenek authored
Enhance path-sensitive return-of-stack-address check to print out the line number of a compound literal (whose address is being returned) instead of printing out the hex representation of the pointer address of the CompoundLiteralExpr. llvm-svn: 58478
-
Ted Kremenek authored
llvm-svn: 58476
-
Ted Kremenek authored
llvm-svn: 58473
-
Ted Kremenek authored
Add compound literal with empty initializer (just to test the analyzer handles it). llvm-svn: 58470
-
Ted Kremenek authored
llvm-svn: 58469
-
Ted Kremenek authored
llvm-svn: 58468
-
Ted Kremenek authored
Add method that will be invoked using the dot-syntax just to test that the missing -dealloc checker handles it. llvm-svn: 58467
-
- Oct 30, 2008
-
-
Ted Kremenek authored
Distinguish between self.X = ... where self.X is a property reference and self.X is an implicit call to setX. llvm-svn: 58462
-
Ted Kremenek authored
llvm-svn: 58447
-
Ted Kremenek authored
llvm-svn: 58446
-
Ted Kremenek authored
Pretty-printing for SVals now mainly uses llvm::raw_ostream. We have an adapter for std::ostream, but this will be removed in the future. llvm-svn: 58445
-
Ted Kremenek authored
llvm-svn: 58444
-
Ted Kremenek authored
Added pretty-printing for nonloc::CompoundSVal. llvm-svn: 58442
-
Ted Kremenek authored
llvm-svn: 58441
-
Ted Kremenek authored
llvm-svn: 58440
-
Ted Kremenek authored
llvm-svn: 58439
-
Ted Kremenek authored
Add iterator/reverse_iterator to InitListExpr for iteration over the subexpressions of an initializer list. This is basically the same as child_iterator except reverse iteration is possible (which will be used by GRExprEngine::VisitInitListExpr). llvm-svn: 58438
-
Ted Kremenek authored
CompoundVal now uses an ImmutableList<SVal> to store its set of SVals. This change was motivated by the need to allow state-splitting in GRExprEngine::VisitInitListExpr. As a side-benefit, we no longer need to perform any copies of SVals when creating a CompoundSVal, and the profiling of CompoundSVal is now constant time. llvm-svn: 58437
-
Ted Kremenek authored
llvm-svn: 58436
-
Ted Kremenek authored
llvm-svn: 58432
-
Ted Kremenek authored
Fix PR 2978 false positive for missing release in -dealloc of an ivar retained via a property and then released by assigning nil to that property: http://llvm.org/bugs/show_bug.cgi?id=2978 llvm-svn: 58431
-
Steve Naroff authored
llvm-svn: 58430
-
Douglas Gregor authored
llvm-svn: 58429
-
Steve Naroff authored
Now this: @interface Test { void (^ivar)(void); } - (void)name; @end @implementation Test - (void)name { ivar = ^{ printf("hello\n"); }; // ((struct Test_IMPL *)self)->ivar = (void (*)(void))&__name_block_impl_0((void *)__name_block_func_0); ivar(); // ((void (*)(struct __block_impl *))((struct __block_impl *)((struct Test_IMPL *)self)->ivar)->FuncPtr)((struct __block_impl *)((struct Test_IMPL *)self)->ivar); } llvm-svn: 58428
-
Steve Naroff authored
llvm-svn: 58427
-
Zhongxing Xu authored
llvm-svn: 58422
-
Zhongxing Xu authored
- SetSVal(GRState*, Loc, SVal) => BindLoc - SetSVal(GRState*, Expr*, SVal) => BindExpr llvm-svn: 58421
-
Zhongxing Xu authored
llvm-svn: 58420
-
Zhongxing Xu authored
llvm-svn: 58419
-
Zhongxing Xu authored
llvm-svn: 58418
-
Zhongxing Xu authored
llvm-svn: 58417
-
Daniel Dunbar authored
llvm-svn: 58412
-
Ted Kremenek authored
llvm-svn: 58410
-
Douglas Gregor authored
llvm-svn: 58404
-
- Oct 29, 2008
-
-
Daniel Dunbar authored
- That is, the metadata for a protocol is only emitted if that protocol is actually used in the translation unit. This is important because Objective-C headers frequently contain a large number of protocol definitions, only a few of which will be used in any given file. llvm-svn: 58400
-
Steve Naroff authored
llvm-svn: 58396
-
Sebastian Redl authored
llvm-svn: 58395
-
Sebastian Redl authored
llvm-svn: 58394
-
Ted Kremenek authored
Fix crash reported in PR2923 where a function declared using typeof(another_function) would have FunctionDecl::getNumParams() return the number of parameters in the original function type and not the number of parameters in the actual FunctionDecl. llvm-svn: 58392
-