- Jan 23, 2008
-
-
Chris Lattner authored
llvm-svn: 46274
-
Fariborz Jahanian authored
llvm-svn: 46268
-
- Jan 22, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 46260
-
Lauro Ramos Venancio authored
llvm-svn: 46259
-
Lauro Ramos Venancio authored
llvm-svn: 46258
-
Lauro Ramos Venancio authored
llvm-svn: 46257
-
Chris Lattner authored
noticing this! llvm-svn: 46256
-
Lauro Ramos Venancio authored
llvm-svn: 46255
-
Gordon Henriksen authored
llvm-svn: 46253
-
Chris Lattner authored
llvm-svn: 46252
-
Steve Naroff authored
- Add Sema::CheckStringLiteralInit, Sema::IsStringLiteralInit. - Use previous hooks to simplify Sema::CheckInitializerTypes()... llvm-svn: 46235
-
Steve Naroff authored
llvm-svn: 46234
-
Lauro Ramos Venancio authored
llvm-svn: 46233
-
- Jan 21, 2008
-
-
Fariborz Jahanian authored
a method. llvm-svn: 46232
-
Steve Naroff authored
Add a predicate/getter when checking for incomplete array types ("[]"). llvm-svn: 46231
-
Lauro Ramos Venancio authored
llvm-svn: 46230
-
Fariborz Jahanian authored
llvm-svn: 46212
-
- Jan 20, 2008
-
-
Lauro Ramos Venancio authored
llvm-svn: 46196
-
- Jan 19, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 46185
-
Steve Naroff authored
Fix two bugs with an @throw that doesn't have a statement. - ObjCAtThrowStmt::getSourceRange() needs to check if it has a statement (and not go "boom":-) - RewriteTest::RewriteObjCThrowStmt() needs to generate refer to the current exception. llvm-svn: 46184
-
Fariborz Jahanian authored
llvm-svn: 46183
-
Steve Naroff authored
llvm-svn: 46182
-
- Jan 18, 2008
-
-
Steve Naroff authored
Sema::FinalizeDeclaratorGroup(): Tighten up the tentative definition rule when dealing with arrays. Bug submitted by Eli. llvm-svn: 46179
-
Anders Carlsson authored
Assert that the type of the cast is equal to the _unqualified_ type of the subexpression. Fixes a problem spotted by Nuno Lopes. llvm-svn: 46158
-
Fariborz Jahanian authored
llvm-svn: 46155
-
Ted Kremenek authored
use ImmutableMap::SlimFind(), which returns the correct value. Added pruning of dead block-level expressions and Decls from our value map using liveness information. llvm-svn: 46154
-
Ted Kremenek authored
dead at an assignment without taking into account if the variable was used in the RHS of the assignment. llvm-svn: 46153
-
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
-