- Jan 17, 2008
-
-
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
-
Steve Naroff authored
Sema::MergeFunctionDecl()...make sure diagnostic is accurate (wrt function declarations/definitions). Patch by Carl Lewis! llvm-svn: 46070
-
Ted Kremenek authored
llvm-svn: 46051
-
Ted Kremenek authored
variant type, and not just the pointer value. llvm-svn: 46049
-
Ted Kremenek authored
Cleaned up GRConstants::AddBinding to not directly reference the predecessor node. Now we just manipulate the current state, and a driver function creates nodes as needed. llvm-svn: 46040
-
Fariborz Jahanian authored
llvm-svn: 46038
-
Fariborz Jahanian authored
llvm-svn: 46037
-