You need to sign in or sign up before continuing.
- Jan 18, 2008
-
-
Steve Naroff authored
Sema::FinalizeDeclaratorGroup()...make sure we emit an diagnostic for tentative definitions with incomplete types. Touch up all test cases that are effected. llvm-svn: 46152
-
Ted Kremenek authored
the position *before* a statement, regardless of whether we are doing a forward or backwards analysis. llvm-svn: 46151
-
- Jan 17, 2008
-
-
Ted Kremenek authored
is because GNU-style Statement-expressions cause the last statement in the statement-expression to act like an expression. We now have two notions: block-level statements and block-level expressions. The former are all Stmt* that appear in the list of statements in CFGBlocks. The latter is the subset of the former; these block-level statements are used as subexpressions somewhere in the AST. CFG::isBlockExpr() returns true for the latter, not the former (previously isBlockExpr() always returned true for non-Expr Stmt*). Modified the LiveVariables analysis to also track liveness state for block-level expressions (using the updated definition of block-level expressions). Modified the dataflow solver so that when it records values for block-level statements, it records the dataflow value *before* the transfer function for a Stmt* is evaluated (not after). This is more in sync in what clients will want. Modified CFGStmtVisitor to record the current block-level statement. llvm-svn: 46143
-
Fariborz Jahanian authored
llvm-svn: 46141
-
Steve Naroff authored
Improve diagnostic wording... llvm-svn: 46138
-
Ted Kremenek authored
values for the block-level expressions. Modified 'LiveVariables' to provide the option to clients to record liveness information for block-level expressions (using the above feature). Modified 'DeadStores' to conform to the new interface of 'LiveVariables'. Modified 'GRConstants' to compute liveness information for block-level expressions. llvm-svn: 46137
-
Nate Begeman authored
llvm-svn: 46136
-
Nate Begeman authored
llvm-svn: 46135
-
Ted Kremenek authored
llvm-svn: 46134
-
Ted Kremenek authored
llvm-svn: 46133
-
Nate Begeman authored
__builtin_overload takes 2 or more arguments: 0) a non-zero constant-expr for the number of arguments the overloaded functions will take 1) the arguments to pass to the matching overloaded function 2) a list of functions to match. The return type of __builtin_overload is inferred from the function whose args match the types of the arguments passed to the builtin. For example: float a; float sinf(float); int sini(int); float b = __builtin_overload(1, a, sini, sinf); Says that we are overloading functions that take one argument, and trying to pass an argument of the same type as 'a'. sini() does not match since it takes and argument of type int. sinf does match, so at codegen time this will turn into float b = sinf(a); llvm-svn: 46132
-
Fariborz Jahanian authored
size in accordance with how rewriter synthesizes method name. llvm-svn: 46131
-
Ted Kremenek authored
Refactored the use of this method into both the Sema module and Analysis module, which were using their own static functions that did the same thing. llvm-svn: 46129
-
Fariborz Jahanian authored
when creating its type. llvm-svn: 46109
-
Seo Sanghyeon authored
llvm-svn: 46107
-
Ted Kremenek authored
state. llvm-svn: 46106
-
Steve Naroff authored
Declarator::clear(): Null out variable after it's been deleted. This avoids a double free (which is good:-) Bug submitted by Eli. llvm-svn: 46105
-
Steve Naroff authored
Simplify comment. llvm-svn: 46103
-
Steve Naroff authored
Type::isArithmeticType(): disallow incomplete enum decls. Bug submitted by Eli. llvm-svn: 46102
-
Ted Kremenek authored
map. This will allow us to quickly prune them from maps without searching the entire map. llvm-svn: 46101
-
Ted Kremenek authored
to sort sub-expressions before Block-level expressions. llvm-svn: 46100
-
- Jan 16, 2008
-
-
Ted Kremenek authored
values are determined when evaluating the parent expression. llvm-svn: 46096
-
Ted Kremenek authored
constant propagation. llvm-svn: 46095
-
Ted Kremenek authored
handle the case where the number of nodes was 0. Fixed bug in GREngineImpl where we did not proceed to the next statement when processing a PostStmt location. llvm-svn: 46093
-
Ted Kremenek authored
llvm-svn: 46092
-
Ted Kremenek authored
llvm-svn: 46091
-
Ted Kremenek authored
llvm-svn: 46087
-
Ted Kremenek authored
llvm-svn: 46086
-
Ted Kremenek authored
that were "not a constant." llvm-svn: 46085
-
Ted Kremenek authored
call the dstor instead of using delete. llvm-svn: 46084
-
Chris Lattner authored
a method named ImpCastExprToType in Sema. Use this method to insert implicit casts for case statements from their operand type to the condition type of the switch. This fixes a crash on test/CodeGen/statements.c, reported by Eli Friedman. llvm-svn: 46083
-
Chris Lattner authored
llvm-svn: 46082
-
Ted Kremenek authored
llvm-svn: 46081
-
Ted Kremenek authored
ctor for GREngine. llvm-svn: 46080
-
Ted Kremenek authored
llvm-svn: 46079
-
Ted Kremenek authored
llvm-svn: 46078
-
Ted Kremenek authored
llvm-svn: 46076
-
Ted Kremenek authored
llvm-svn: 46075
-
Ted Kremenek authored
Fixed some compilation errors with GREngine that showed up during template instantiation. llvm-svn: 46074
-
Ted Kremenek authored
node caching in GREngine will guarantee that we do not insert a node twice into a nodeset. llvm-svn: 46071
-