- May 23, 2008
-
-
Ted Kremenek authored
llvm-svn: 51466
-
Steve Naroff authored
llvm-svn: 51463
-
Ted Kremenek authored
llvm-svn: 51454
-
Ted Kremenek authored
llvm-svn: 51453
-
Steve Naroff authored
Also added a FIXME related to how we represent @properties in the ObjCInterfaceDecl AST. llvm-svn: 51450
-
Dan Gohman authored
llvm::Type::isSingleValueType. Currently these two functions have the same behavior, but soon isFirstClassType will return true for struct and array types. Clang may some day want to use of isFirstClassType for some of these some day as an optimization, but it'll require some consideration. llvm-svn: 51446
-
- May 22, 2008
-
-
Ted Kremenek authored
tracked object to "escape": it's reference count might be incremented by the called function, thus causing an object's lifetime to extend beyond when the local reference count is decremented to 0. This addresses: <rdar://problem/5933215> llvm-svn: 51433
-
Ted Kremenek authored
Don't use ostringstream (pulling in <sstream>) when creating the dead store diagnostic (simply not needed). llvm-svn: 51432
-
Ted Kremenek authored
llvm-svn: 51431
-
Eli Friedman authored
void f(const void) in one place and rejecting it in another. llvm-svn: 51424
-
Eli Friedman authored
actually work (instead of crashing llc), and there's enough info emitted to get line number information in gdb. This should hopefully be helpful for debugging non-working programs. I got rid of the begin/endregion calls because the implementation wasn't working; someone who knows the debugging info a bit better might try to add it. I really have no clue how a compiler is supposed to emit them. This commit shouldn't have any effect without -g. llvm-svn: 51404
-
Eli Friedman authored
ret. llvm-svn: 51403
-
Eli Friedman authored
bit that wants to use CurFuncDecl as a FunctionDecl. llvm-svn: 51402
-
Dan Gohman authored
lib/CodeGen/CGExpr.cpp and to change include/clang/AST/Attr.h to use its own enum for visibility types instead of using llvm::GlobalValue::VisibilityTypes. These changes eliminate dependencies in the AST library on LLVM's VMCore library. llvm-svn: 51398
-
Ted Kremenek authored
llvm-svn: 51395
-
- May 21, 2008
-
-
Dan Gohman authored
llvm-svn: 51392
-
Dan Gohman authored
llvm-svn: 51391
-
Ted Kremenek authored
the destruction of Decls and Stmts. llvm-svn: 51385
-
Ted Kremenek authored
llvm-svn: 51381
-
Steve Naroff authored
llvm-svn: 51380
-
Ted Kremenek authored
llvm-svn: 51379
-
Ted Kremenek authored
Fixed bug in the transfer function for dereferences: the loaded value from EvalLoad should bind to the UnaryOperator*, not its subexpression. Added test case to exercise this fix when checking for uses of uninitialized values. Patch by Zhongxing Xu! llvm-svn: 51377
-
Eli Friedman authored
changes in my tree, so I don't have a testcase which affects trunk. llvm-svn: 51371
-
Eli Friedman authored
committed. llvm-svn: 51370
-
Eli Friedman authored
not the missing diagnostic. llvm-svn: 51365
-
Eli Friedman authored
ASTs. This is a hack, but I haven't considered how we really want to do this. llvm-svn: 51364
-
Eli Friedman authored
we now iterate over the whole AST when we destroy it. llvm-svn: 51363
-
Eli Friedman authored
(specifically, for TranslationUnits created from SerializationTest.cpp). Fixes a double-free bug in the serialization tests. llvm-svn: 51362
-
Eli Friedman authored
llvm-svn: 51361
-
Eli Friedman authored
need it...). Patch by Mike Stump. llvm-svn: 51360
-
- May 20, 2008
-
-
Steve Naroff authored
llvm-svn: 51330
-
Nuno Lopes authored
llvm-svn: 51326
-
Nuno Lopes authored
llvm-svn: 51324
-
Eli Friedman authored
llvm-svn: 51322
-
Eli Friedman authored
llvm-svn: 51321
-
Eli Friedman authored
llvm-svn: 51320
-
Eli Friedman authored
llvm-svn: 51319
-
Eli Friedman authored
in Sema, per discussion on mailing list. This doesn't cause any changes in the test results. I'll probably add some more tests at some point, but it's an open question what we need to accept to be compatible with real code. This doesn't touch the existing isConstantExpr method on Expr; that should be addressed somehow eventually (either removed or refined to whatever is appropriate). llvm-svn: 51318
-
Eli Friedman authored
consensus was that it was fine; iso646 is trivial. We actually don't need that many headers overall... on Ubuntu, at least, all we need are stdint.h, stdarg.h, limits.h, and float.h to stop depending on having gcc's headers around for normal code. On a side note, the path searching needs some improvement; I had to hardcode the path to my header directory into clang.cpp to get the driver to use it consistently. llvm-svn: 51317
-
Eli Friedman authored
llvm-svn: 51316
-