- Jul 14, 2009
-
-
Ted Kremenek authored
When pretty-printing symbolic regions, use '{' ... '}' to indicate the symbol used for the region (makes it easier to read for nested regions). llvm-svn: 75550
-
Fariborz Jahanian authored
llvm-svn: 75549
-
Ted Kremenek authored
Change pretty-printing API for SymExprs and MemRegions to use a naming convention and style similar to other elements in Clang. llvm-svn: 75548
-
- Jul 13, 2009
-
-
Ted Kremenek authored
where we are comparing a symbolic value against itself, regardless of the nature of that symbolic value. This enhancement identified a case where RegionStoreManager is not correctly symbolicating the values of the pointees of parameters. The failing test is now in 'test/Analysis/misc-ps-region-store.m', with that test file now (temporarily) marked XFAIL. llvm-svn: 75521
-
Daniel Dunbar authored
in array value-initialization. llvm-svn: 75518
-
Daniel Dunbar authored
llvm-svn: 75517
-
Steve Naroff authored
llvm-svn: 75509
-
Steve Naroff authored
llvm-svn: 75505
-
Chris Lattner authored
llvm-svn: 75492
-
Fariborz Jahanian authored
llvm-svn: 75487
-
Steve Naroff authored
- Improve comment for Type::getPointeeType(). - Remove a couple redundant casts/returns. - Fix 80 column violations for all getAsStringInternal() methods. llvm-svn: 75485
-
http://llvm.org/viewvc/llvm-project?view=rev&revision=75314Steve Naroff authored
Still more to come...just wanted to get the no-brainers out of the way. llvm-svn: 75477
-
Devang Patel authored
llvm-svn: 75473
-
Devang Patel authored
llvm-svn: 75471
-
Owen Anderson authored
llvm-svn: 75446
-
Chris Lattner authored
llvm-svn: 75442
-
Chris Lattner authored
llvm-svn: 75437
-
- Jul 12, 2009
-
-
Chris Lattner authored
llvm-svn: 75431
-
- Jul 11, 2009
-
-
Daniel Dunbar authored
- Previous code was based on a misunderstanding (on my part) of the type representation. llvm-svn: 75385
-
Daniel Dunbar authored
- This was a latent bug exposed by the recent objc type changes. llvm-svn: 75383
-
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
-
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
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
-
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
-
- Jul 10, 2009
-
-
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
-
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
-
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
-
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
-