- Jan 15, 2008
-
-
Ted Kremenek authored
however, can still be manipulated through the returned Stmt*. llvm-svn: 45990
-
Steve Naroff authored
Make sure Sema::GetTypeForDeclarator() deals with abstract declarators when diagnosing incorrect code. Bug submitted by Eli. llvm-svn: 45989
-
Ted Kremenek authored
llvm-svn: 45986
-
Ted Kremenek authored
of a block. llvm-svn: 45984
-
- Jan 14, 2008
-
-
Chris Lattner authored
llvm-svn: 45977
-
Steve Naroff authored
Bug submitted by Eli. llvm-svn: 45976
-
Steve Naroff authored
Fix crasher when redefining functions. Not 100% pleased with this solution, but it is clearly an improvement. Will discuss with Chris later. llvm-svn: 45975
-
Ted Kremenek authored
llvm-svn: 45970
-
Ted Kremenek authored
llvm-svn: 45969
-
Ted Kremenek authored
serializing the subexpression (Init), as this results in a more efficient encoding in the bitstream. llvm-svn: 45967
-
Steve Naroff authored
Record if a compound literal expression is @ file scope. This allows us to implement C99 6.5.2.5p6. This could have been done without modifying the AST (by checking the decl type and passing the info down to isContextExpr), however we concluded this is more desirable. Bug/patch by Eli Friedman! llvm-svn: 45966
-
Ted Kremenek authored
llvm-svn: 45965
-
Ted Kremenek authored
#include<iostream>. Patch provided by Sam Bishop. llvm-svn: 45962
-
Steve Naroff authored
Revert r45951, Chris says it violates the C99 spec. llvm-svn: 45961
-
Anders Carlsson authored
llvm-svn: 45957
-
Anders Carlsson authored
llvm-svn: 45954
-
Chris Lattner authored
llvm-svn: 45953
-
Chris Lattner authored
proto and function type without proto. It would never call 'functionTypesAreCompatible' because they have different type classes. llvm-svn: 45952
-
Steve Naroff authored
Rewrite Expr::isNullPointerConstant() to deal with multiple levels of explicit casts. Now, isNullPointerConstant() will return true for the following: "(void*)(double*)0" llvm-svn: 45951
-
- Jan 13, 2008
-
-
Steve Naroff authored
Remove diagnostics from Sema::CheckIndirectionOperand(). C89/C99 allow dereferencing an incomplete type. clang appears to be emulating some incorrect gcc behavior (see below). void foo (void) { struct b; struct b* x = 0; struct b* y = &*x; // gcc produces an error ("dereferencing pointer to incomplete type") } With this patch, the above is now allowed. Bug/Patch by Eli Friedman! llvm-svn: 45933
-
Ted Kremenek authored
parent class ExplodedGraphImpl. llvm-svn: 45930
-
Ted Kremenek authored
llvm-svn: 45929
-
Ted Kremenek authored
ExplodedNodeImpl::NodeGroup from being defined inline to being defined "out-of-line" in ExplodedGraph.cpp. This removes a dependence on including <vector> in ExplodedGraph.h, and will hopefully result in smaller generated code with negligible performance impact. llvm-svn: 45928
-
Ted Kremenek authored
'NodeGroup.' llvm-svn: 45927
-
Ted Kremenek authored
llvm-svn: 45926
-
Ted Kremenek authored
the methods of CFGBlock. llvm-svn: 45925
-
Ted Kremenek authored
llvm-svn: 45924
-
Ted Kremenek authored
llvm-svn: 45923
-
Ted Kremenek authored
only be used in the context of the ExplodedGraph class. llvm-svn: 45922
-
Ted Kremenek authored
to optimize for the common case of having a single predecessor and a single successor. llvm-svn: 45921
-
- Jan 12, 2008
-
-
Chris Lattner authored
llvm-svn: 45915
-
Chris Lattner authored
of const char, and it should error if it occurs outside a function. Is it valid in an objc method? If so we should handle that too. llvm-svn: 45910
-
Chris Lattner authored
Eli Friedman! llvm-svn: 45906
-
Chris Lattner authored
llvm-svn: 45905
-
Chris Lattner authored
extern "C" in C++ mode. Patch by Mike Stump! llvm-svn: 45904
-
Chris Lattner authored
verify that the source range corresponds to the current file, not just the current line. This allows us to emit: a.c:1:44: error: invalid operands to binary expression ('double' and 'int *') double a; int *b; void f(void) { int c = a + ~ ^ instead of: a.c:1:44: error: invalid operands to binary expression ('double' and 'int *') double a; int *b; void f(void) { int c = a + ~ ~ ^ for PR1906 (note the leading ~). Thanks to Neil for noticing this. llvm-svn: 45901
-
- Jan 11, 2008
-
-
Ted Kremenek authored
Do not use std::cerr; use llvm::cerr instead. Patch provided by Sam Bishop! llvm-svn: 45880
-
Ted Kremenek authored
of ProgramPoint. llvm-svn: 45866
-
Ted Kremenek authored
llvm-svn: 45847
-
Ted Kremenek authored
to have a much simpler, cleaner interpretation of what is a "location" in a function (as encoded by a CFG). llvm-svn: 45846
-