- Jan 29, 2008
-
-
Steve Naroff authored
Tweak Sema::DefaultArgumentPromotion() to call UsualUnaryConversions(). This makes sure function calls that don't have a prototype get the default function/array conversion. Patch by Eli Friedman! llvm-svn: 46489
-
Anders Carlsson authored
llvm-svn: 46482
-
Anders Carlsson authored
llvm-svn: 46481
-
Anders Carlsson authored
llvm-svn: 46480
-
Ted Kremenek authored
llvm-svn: 46477
-
Ted Kremenek authored
Refactoring: for GREngine and GRConstants, pushed references to CFG, ASTContext, and the top-level FunctionDecl into ExplodedGraphImpl. llvm-svn: 46475
-
Steve Naroff authored
Fix bz1950. ASTContext::functionTypesAreCompatible() needs to operate on the unqualified parameter types (per C99 6.7.5.3p15). llvm-svn: 46472
-
- 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
-