- Jul 11, 2009
-
-
Nuno Lopes authored
disclaim: I know nothing about Python, so apologies in advance if I break something llvm-svn: 75368
-
Alisdair Meredith authored
Fix breakage on Windows, cannot redeclare loop variable i in the immediate scope of loop. Rename variable to j. llvm-svn: 75365
-
Ted Kremenek authored
Handle insidious corner case exposed by RegionStoreManager when handling void* values that are bound to symbolic regions and then treated like integers. llvm-svn: 75356
-
Zhongxing Xu authored
llvm-svn: 75329
-
Anders Carlsson authored
llvm-svn: 75327
-
Ted Kremenek authored
MemRegion kinds. This allows the compiler to identify what MemRegions we don't handle for pointer arithmetic. llvm-svn: 75326
-
Eli Friedman authored
llvm-svn: 75325
-
Anders Carlsson authored
llvm-svn: 75324
-
Anders Carlsson authored
Implement more of C++0x 'auto'. A variable with an auto type specifier must have an initializer. Also, move some tests around to match the C++0x draft better. llvm-svn: 75322
-
Ted Kremenek authored
warning: ‘OPT’ may be used uninitialized in this function Now OPT is initialized to NULL. I'm not certain if this is the correct fix; others please review. llvm-svn: 75321
-
Ted Kremenek authored
llvm-svn: 75318
-
Ted Kremenek authored
llvm-svn: 75316
-
Anders Carlsson authored
llvm-svn: 75315
-
Steve Naroff authored
The idea is to segregate Objective-C "object" pointers from general C pointers (utilizing the recently added ObjCObjectPointerType). The fun starts in Sema::GetTypeForDeclarator(), where "SomeInterface *" is now represented by a single AST node (rather than a PointerType whose Pointee is an ObjCInterfaceType). Since a significant amount of code assumed ObjC object pointers where based on C pointers/structs, this patch is very tedious. It should also explain why it is hard to accomplish this in smaller, self-contained patches. This patch does most of the "heavy lifting" related to moving from PointerType->ObjCObjectPointerType. It doesn't include all potential "cleanups". The good news is additional cleanups can be done later (some are noted in the code). This patch is so large that I didn't want to include any changes that are purely aesthetic. By making the ObjC types truly built-in, they are much easier to work with (and require fewer "hacks"). For example, there is no need for ASTContext::isObjCIdStructType() or ASTContext::isObjCClassStructType()! We believe this change (and the follow-up cleanups) will pay dividends over time. Given the amount of code change, I do expect some fallout from this change (though it does pass all of the clang tests). If you notice any problems, please let us know asap! Thanks. llvm-svn: 75314
-
Ted Kremenek authored
over the types of MemRegions. This allows the compiler to warn us which regions are not handled, and also is a little faster. llvm-svn: 75304
-
Eli Friedman authored
llvm-svn: 75303
-
- Jul 10, 2009
-
-
Ted Kremenek authored
llvm-svn: 75297
-
Ted Kremenek authored
llvm-svn: 75296
-
Ted Kremenek authored
llvm-svn: 75295
-
Ted Kremenek authored
move this case to 'test/Analysis/misc-ps.m' to test with both BasicStoreManager and RegionStoreManager. llvm-svn: 75294
-
Anders Carlsson authored
llvm-svn: 75291
-
Ted Kremenek authored
CodeTextRegions can only be casted to FunctionPointer or BlockPointerTypes. This simply isn't true. We can handle bogus operations on CodeTextRegions (e.g, an array access) elsewhere. llvm-svn: 75285
-
Ted Kremenek authored
void**, void***, etc. Such casts should just pass the region through. llvm-svn: 75281
-
Eli Friedman authored
llvm-svn: 75271
-
Fariborz Jahanian authored
in their order of construction for each class and use it to to check on propery order of base class construction under -Wreorder option. llvm-svn: 75270
-
Eli Friedman authored
by Jonathan Gray and Krister Walfridsson. llvm-svn: 75268
-
Anders Carlsson authored
llvm-svn: 75265
-
Ted Kremenek authored
Rename potentially ambiguous member template 'getRegion' to 'getSubRegion' to hopefully resolve template lookup ambiguities on some compilers. llvm-svn: 75253
-
Chris Lattner authored
llvm-svn: 75225
-
Argyrios Kyrtzidis authored
llvm-svn: 75222
-
Argyrios Kyrtzidis authored
llvm-svn: 75221
-
Ted Kremenek authored
and replace the 'clang-cc' option '-analyzer-store=basic-new-cast' with '-analyzer-store=basic-old-cast'. We'll keep the old CastRegion implementation around for a little while for regression testing. llvm-svn: 75209
-
Fariborz Jahanian authored
llvm-svn: 75178
-
Anders Carlsson authored
llvm-svn: 75175
-
- Jul 09, 2009
-
-
Fariborz Jahanian authored
class object's base and members under -Wreorder flag. llvm-svn: 75168
-
Anders Carlsson authored
llvm-svn: 75152
-
Douglas Gregor authored
llvm-svn: 75151
-
Anders Carlsson authored
llvm-svn: 75150
-
Ted Kremenek authored
llvm-svn: 75147
-
Douglas Gregor authored
Add test for C++ [over.over.]p1, the contexts in which one can take the address of an overloaded function. llvm-svn: 75146
-