- Jan 28, 2008
-
-
Ted Kremenek authored
llvm-svn: 46471
-
Ted Kremenek authored
llvm-svn: 46470
-
Ted Kremenek authored
llvm-svn: 46468
-
Ted Kremenek authored
now SymbolicNonLValue. Cleaned up some casts. llvm-svn: 46467
-
Ted Kremenek authored
Renamed ExprValue to RValue, as all expression values are RValues, and this keeps with the C terminology (renamed old "RValue" class to "NonLValue"). Introduced "ConcreteInt", a class that represents a concrete, integer constant as an RValue. Temporarily removed classes to represent set of possible constants and set of != constants. Will replace with a more general class representing a set of constraints. Added some foundational code to track "symbolic" values, which are used to accrue constraints on an abstract value that is shared between multiple variables. e.g: x = y; // at this point "x" and "y" share the same "value" if (x > 1) ... // at this point, the value shared by "x" and "y" is "> 1". llvm-svn: 46466
-
Steve Naroff authored
Implement "private extern" on function decls! llvm-svn: 46464
-
Steve Naroff authored
Add -Wno-rewrite-macros to silence the following warning when using -rewrite-test: xx.m:10:3: warning: rewriting sub-expression within a macro (may not be correct) llvm-svn: 46462
-
Steve Naroff authored
Fix a bug with struct initializers (in Sema::CheckInitializerListTypes()). Test case included from bz1948 (thanks Neil!). Also fixed an 80 column violation... llvm-svn: 46430
-
Chris Lattner authored
llvm-svn: 46426
-
- Jan 26, 2008
-
-
Anders Carlsson authored
llvm-svn: 46389
-
Anders Carlsson authored
llvm-svn: 46388
-
Anders Carlsson authored
llvm-svn: 46386
-
Ted Kremenek authored
Added back logic in patch r46361 (http://llvm.org/viewvc/llvm-project?rev=46361&view=rev) with the addition of some previously missing NULL pointer checks. Modified the UninitializedValues analysis to not expect that every Expr* at the block-level is a block-level expression (we probably need to change the name of such expressions to something truer to their meaning). llvm-svn: 46380
-
Ted Kremenek authored
llvm-svn: 46379
-
Ted Kremenek authored
a template-template parameter. llvm-svn: 46378
-
http://llvm.org/viewvc/llvm-project?rev=46361&view=revTed Kremenek authored
I diagnose the source of the failures it causes in the test suite. llvm-svn: 46376
-
- Jan 25, 2008
-
-
Ted Kremenek authored
Renamed RValueConjunctiveUnequal to RValInequalityANDSet. Refactored add/subtract/multiple (and now divide) operations for RValEqualityORSet to be based on a single template function. llvm-svn: 46374
-
Steve Naroff authored
Add more support for Apple's "private extern" extension... llvm-svn: 46371
-
Ted Kremenek authored
llvm-svn: 46370
-
Ted Kremenek authored
llvm-svn: 46368
-
Chris Lattner authored
in an initializer list. llvm-svn: 46367
-
Chris Lattner authored
handles message sends with typenames to start with. llvm-svn: 46366
-
Chris Lattner authored
llvm-svn: 46365
-
Chris Lattner authored
llvm-svn: 46364
-
Chris Lattner authored
ParseObjCMessageExpressionBody method. llvm-svn: 46363
-
Chris Lattner authored
llvm-svn: 46362
-
Ted Kremenek authored
include the assignment expressions whose result (as in the value of the expression) is used by other expressions. llvm-svn: 46361
-
Fariborz Jahanian authored
llvm-svn: 46358
-
Seo Sanghyeon authored
llvm-svn: 46353
-
Nate Begeman authored
llvm-svn: 46343
-
Steve Naroff authored
Replace Sema::CheckVariableInitList, CheckConstantInitList, and CheckForCharArrayInitializer with CheckInitializerListTypes. The new routine now supports struct/union initializers. This is a modified version of a patch by Eli Friedman. This version passes all of the clang tests and supports vectors:-) Note that Eli and I are still unsatisfied the implementation of CheckInitializerListTypes(). We'd like to find a more elegant implementation. Nevertheless, this is a complex part of the standard (and may be hard to simplify). Since the complexity is localized to this routine, we can iterate without too much disruption:-) llvm-svn: 46339
-
Chris Lattner authored
llvm-svn: 46336
-
Chris Lattner authored
line of the file, in the common case where a file ends with a newline. llvm-svn: 46335
-
Chris Lattner authored
llvm-svn: 46330
-
Ted Kremenek authored
information is not separated into a "base" and "sub" type. Eventually the value-tracking logic will know about LValues and RValues, but not about specialized LValues and RValues; separating the "kind" information into bits indicating whether an ExprValue is an LValue or an RValue from the bits that specify the actual value type makes this separation easier. llvm-svn: 46329
-
- Jan 24, 2008
-
-
Steve Naroff authored
Exclude vectors from Type::isScalar() predicate. llvm-svn: 46328
-
Ted Kremenek authored
llvm-svn: 46327
-
Ted Kremenek authored
llvm-svn: 46326
-
Ted Kremenek authored
llvm-svn: 46323
-
Ted Kremenek authored
a Stmt* is a block-level expression when we INSERT a value into the map, and not also when we QUERY a value. llvm-svn: 46321
-