- Feb 25, 2008
-
-
Ted Kremenek authored
llvm-svn: 47547
-
Chris Lattner authored
llvm-svn: 47543
-
- Feb 24, 2008
-
-
Chris Lattner authored
llvm-svn: 47540
-
Chris Lattner authored
llvm-svn: 47539
-
Steve Naroff authored
Move the initialization of SEL/objc_selector from Sema::Sema() to Sema::ActOnTranslationUnitScope() and make sure the type/struct get inserted into the translation unit scope. Bug submitted by David Chisnall (thanks!). llvm-svn: 47538
-
Ted Kremenek authored
- More enum signeness bitfield fixes (MSVC treats enums as signed). - Fixed in Lex/HeaderSearch.cpp an unsafe copy between two HeaderSearch::PerFileInfo entries in a common vector. The copy involved two calls to getFileInfo() within the assignment; these calls could have side-effects that enlarged the internal vector, and with MSVC this would invalidate one of the values in the assignment. Patch by Argiris Kirtzidis! llvm-svn: 47536
-
Ted Kremenek authored
since inodes are bogus abstraction on that platform. Patch by Argiris Kirtzidis! llvm-svn: 47535
-
- Feb 23, 2008
-
-
Eli Friedman authored
llvm-svn: 47530
-
Ted Kremenek authored
instead of TokenKind because of signedness issues with MSVC and enums. Patch from Argiris Kirtzidis. llvm-svn: 47515
-
Ted Kremenek authored
The patch fixes some debug assertions that the msvcrt throws: 1) - if (isprint(value) && value < 256) { + if (value < 256 && isprint(value)) { isprint() does an assertion check of its own for value < 256; check value before calling it to prevent it. 2) - Stmt->Names.push_back(std::string(&data[0], data.size())); + if (data.size() == 0) + Stmt->Names.push_back(std::string()); + else + Stmt->Names.push_back(std::string(&data[0], data.size())); If data.size() == 0 then data[0] throws "out of range" assertion. llvm-svn: 47512
-
Ted Kremenek authored
confluence points the liveness information for variables (Decls) and NOT block-level expressions. llvm-svn: 47506
-
- Feb 22, 2008
-
-
Ted Kremenek authored
--analyze-function option to analyze specific functions. llvm-svn: 47498
-
Ted Kremenek authored
--analyze-function option to dump/view the CFGs of specific functions. llvm-svn: 47497
-
Ted Kremenek authored
appear in a file. llvm-svn: 47491
-
Ted Kremenek authored
llvm-svn: 47489
-
Ted Kremenek authored
assumption logic for lval::DeclVal. llvm-svn: 47466
-
Ted Kremenek authored
against '0' of the same bit-width. llvm-svn: 47465
-
Ted Kremenek authored
llvm-svn: 47464
-
Ted Kremenek authored
is symbolic. llvm-svn: 47463
-
- Feb 21, 2008
-
-
Ted Kremenek authored
operands are symbolic lvalues. llvm-svn: 47459
-
Ted Kremenek authored
about. The default logic is to invalidate the values of all values passed-by-reference. llvm-svn: 47456
-
Nate Begeman authored
llvm-svn: 47455
-
Nate Begeman authored
llvm-svn: 47451
-
Ted Kremenek authored
an error to cast it to LVal. llvm-svn: 47450
-
Ted Kremenek authored
llvm-svn: 47449
-
Ted Kremenek authored
do so implicitly. llvm-svn: 47447
-
Ted Kremenek authored
llvm-svn: 47446
-
Ted Kremenek authored
llvm-svn: 47445
-
Ted Kremenek authored
the transfer function to be invoked without an Expr* for the Cast operation. Added implicit promotions to the transfer function logic for compound assignments. llvm-svn: 47444
-
Ted Kremenek authored
llvm-svn: 47443
-
Eli Friedman authored
llvm-svn: 47442
-
Ted Kremenek authored
based on constant. prop. and limited symbolics. - Renamed class: RValue -> RVal, LValue -> LVal, etc. - Minor method renamings and interface cleanups. - Tightened the RVal "type system" so that UninitializedVal and UnknownVal cannot be cast to LVal or NonLVal. This forces these corner cases values to be explicitly handled early before being dispatched to plug-in transfer function logic. - Major cleanup in the transfer function logic for binary and unary operators. Still fixing some regressions, but we now explicitly handle Uninitialized and Unknown values in a more rigorous way. llvm-svn: 47441
-
Eli Friedman authored
invlolving implicit casts that cause both a decay to pointer type and a type conversion. llvm-svn: 47440
-
Eli Friedman authored
ahtough I had the fix in my tree previously. llvm-svn: 47439
-
Gabor Greif authored
because silly gcc 3.4.6 barfs on this construct. Type.h defines an "enum TQ", which makes the parser to err. llvm-svn: 47438
-
Gabor Greif authored
SolarisSparcV8TargetInfo to be able to handle "sparc-" triple prefixes. Please be aware that this is a minimal kludge, that pretty much duplicates the features of DarwinPowerPCTargetInfo, and also incorrectly uses stuff from the PPC namespace. But in result "make test" now passes a lot of tests, the notable exceptions being the objc rewrite tests and mandel.c. llvm-svn: 47436
-
Chris Lattner authored
llvm-svn: 47429
-
Chris Lattner authored
llvm-svn: 47423
-
Chris Lattner authored
llvm-svn: 47421
-
Chris Lattner authored
example, we can now correctly build the type for things like: _AS1 float * _AS2 *B; llvm-svn: 47420
-