- Jan 28, 2009
-
-
Daniel Dunbar authored
- Merged into single ComplexEvaluator, these share too much logic to be worth splitting for float/int (IMHO). Will split on request. llvm-svn: 63248
-
Douglas Gregor authored
The approach I've taken in this patch is relatively straightforward, although the code itself is non-trivial. Essentially, as we process an initializer list we build up a fully-explicit representation of the initializer list, where each of the subobject initializations occurs in order. Designators serve to "fill in" subobject initializations in a non-linear way. The fully-explicit representation makes initializer lists (both with and without designators) easy to grok for codegen and later semantic analyses. We keep the syntactic form of the initializer list linked into the AST for those clients interested in exactly what the user wrote. Known limitations: - Designating a member of a union that isn't the first member may result in bogus initialization (we warn about this) - GNU array-range designators are not supported (we warn about this) llvm-svn: 63242
-
Ted Kremenek authored
retain/release checker: Always generate an "autorelease" summary for an "autorelease" message, and have the summary processing logic treat it as a no-op in GC mode. This change is motivated to encode more of the semantics in the summaries themselves for eventual better diagnostics. llvm-svn: 63241
-
Daniel Dunbar authored
llvm-svn: 63238
-
Ted Kremenek authored
llvm-svn: 63237
-
Sebastian Redl authored
Fix a stupid mistake in UnwrapSimilarPointers that made any two member pointers compatible as long as the pointee was the same. Make a few style corrections as suggested by Chris. llvm-svn: 63215
-
Douglas Gregor authored
rules are slightly different than in C, and now we handle both dialects properly. llvm-svn: 63211
-
Ted Kremenek authored
retain/release checker: Improve diagnostics to indicate that CF objects are not automatically garbage collected. llvm-svn: 63187
-
Chris Lattner authored
testcase :) llvm-svn: 63182
-
Nuno Lopes authored
llvm-svn: 63160
-
Nuno Lopes authored
llvm-svn: 63158
-
Sebastian Redl authored
llvm-svn: 63150
-
- Jan 27, 2009
-
-
Anders Carlsson authored
If an input constraint refers to an output constraint, it should have the same constraint info as the output constraint. Fixes PR3417 llvm-svn: 63127
-
Chris Lattner authored
llvm-svn: 63117
-
Ted Kremenek authored
Fix bug in BasicStore::getLValueElement where if the base of an array subscript expression was an ElementRegion we stacked another ElementRegion on top of that. This fixes PR 3422. llvm-svn: 63110
-
Eli Friedman authored
__extension__. This sort of construct shows up in the gcc source code. llvm-svn: 63100
-
Chris Lattner authored
as reported to the user and as manipulated by #line. This is what __FILE__, __INCLUDE_LEVEL__, diagnostics and other things should follow (but not dependency generation!). This patch also includes several cleanups along the way: - SourceLocation now has a dump method, and several other places that did similar things now use it. - I cleaned up some code in AnalysisConsumer, but it should probably be simplified further now that NamedDecl is better. - TextDiagnosticPrinter is now simplified and cleaned up a bit. This patch is a prerequisite for #line, but does not actually provide any #line functionality. llvm-svn: 63098
-
Chris Lattner authored
llvm-svn: 63094
-
Daniel Dunbar authored
builtins-x86.c. llvm-svn: 63069
-
- Jan 26, 2009
-
-
Sebastian Redl authored
llvm-svn: 63055
-
Sebastian Redl authored
llvm-svn: 63032
-
Chris Lattner authored
llvm-svn: 63003
-
Chris Lattner authored
llvm-svn: 63001
-
Chris Lattner authored
we just discard them. llvm-svn: 62999
-
- Jan 25, 2009
-
-
Sebastian Redl authored
llvm-svn: 62971
-
Eli Friedman authored
__builtin___CFStringMakeConstantString. (We get into trouble in GenerateStaticBlockVarDecl if the constant folder isn't accurate.) llvm-svn: 62949
-
Eli Friedman authored
constant. llvm-svn: 62948
-
Eli Friedman authored
llvm-svn: 62947
-
Eli Friedman authored
llvm-svn: 62946
-
Sebastian Redl authored
llvm-svn: 62944
-
Eli Friedman authored
think this has any significant effects at the moment, but it could matter if we start constant-folding statement expressions like gcc does. llvm-svn: 62943
-
- Jan 24, 2009
-
-
Eli Friedman authored
Note that there are still other issues in this area; see PR3396. llvm-svn: 62942
-
Chris Lattner authored
llvm-svn: 62936
-
Sebastian Redl authored
Add serialization support for ReferenceType. llvm-svn: 62934
-
Chris Lattner authored
different than those for sizeof. Reject alignof(bitfield) like gcc does. llvm-svn: 62928
-
Daniel Dunbar authored
mismatched semantics). - Enforce this in APValue. llvm-svn: 62924
-
Anders Carlsson authored
llvm-svn: 62923
-
Anders Carlsson authored
llvm-svn: 62922
-
Ted Kremenek authored
Fix crash ElementRegion::getRValueType() when the RvalueType of the ArrayRegion is a typedef and not (directly) a pointer. llvm-svn: 62909
-
Ted Kremenek authored
More hacking on static analyzer diagnostics. When emitting summary diagnostics the code paths for diagnostics involving paths or single locations are now unified. This patch also constifies many arguments/methods that are touched by this logic, leading to a nice overall code cleanup. llvm-svn: 62903
-