- Oct 30, 2008
-
-
Zhongxing Xu authored
llvm-svn: 58418
-
Zhongxing Xu authored
llvm-svn: 58417
-
Daniel Dunbar authored
llvm-svn: 58412
-
Ted Kremenek authored
llvm-svn: 58410
-
Douglas Gregor authored
llvm-svn: 58404
-
- Oct 29, 2008
-
-
Daniel Dunbar authored
- That is, the metadata for a protocol is only emitted if that protocol is actually used in the translation unit. This is important because Objective-C headers frequently contain a large number of protocol definitions, only a few of which will be used in any given file. llvm-svn: 58400
-
Steve Naroff authored
llvm-svn: 58396
-
Sebastian Redl authored
llvm-svn: 58395
-
Sebastian Redl authored
llvm-svn: 58394
-
Ted Kremenek authored
Fix crash reported in PR2923 where a function declared using typeof(another_function) would have FunctionDecl::getNumParams() return the number of parameters in the original function type and not the number of parameters in the actual FunctionDecl. llvm-svn: 58392
-
Steve Naroff authored
llvm-svn: 58390
-
Douglas Gregor authored
llvm-svn: 58388
-
Douglas Gregor authored
- Allows definitions of overloaded functions :) - Eliminates extraneous error messages when we have a definition of a function that isn't an overload but doesn't have exactly the same type as the original. llvm-svn: 58382
-
Douglas Gregor authored
llvm-svn: 58381
-
Steve Naroff authored
llvm-svn: 58380
-
Douglas Gregor authored
Temporary disable the const-object-declaration-without-initializer check, because it depends on linkage-specifier semantics we don't yet have llvm-svn: 58377
-
Daniel Dunbar authored
code generation. - For now, disable running the always inliner pass (at -O0) if we are also generating debug information. llvm-svn: 58376
-
Daniel Dunbar authored
llvm-svn: 58374
-
Zhongxing Xu authored
llvm-svn: 58373
-
Ted Kremenek authored
llvm-svn: 58369
-
Daniel Dunbar authored
- Unfortunately, I don't have an easy way to map from named sections to numbers nicely so they don't get page numbers or integrate in the list well. llvm-svn: 58368
-
Eli Friedman authored
va_list, not the value. Patch fixes an assert on x86-64 and a wrong-code bug on x86. I'm not completely sure, but I think it's a regression from r58306. Does anyone run regression tests regularly on x86-64? The crash should have been picked up there. llvm-svn: 58366
-
Ted Kremenek authored
The attached patch adds additional checks to -warn-objc-missing-dealloc. It checks that all ivars which are used in implementation of synthesized properties are either a) released in dealloc if the property has retain" or "copy" attribute OR b) not released in dealloc if the property has "assign" attribute llvm-svn: 58363
-
Ted Kremenek authored
llvm-svn: 58362
-
Daniel Dunbar authored
closely. llvm-svn: 58361
-
Daniel Dunbar authored
arguments. - More important than it looks, this inhibits trivial inlining otherwise. llvm-svn: 58360
-
Zhongxing Xu authored
BindDecl better describes what the function does: - Bind the VarDecl to its memory region - Bind the memory region to some initial value. llvm-svn: 58359
-
Douglas Gregor authored
ImplicitConversionSequence and, when doing so, following the specific rules of [over.best.ics]. The computation of the implicit conversion sequences implements C++ [over.ics.ref], but we do not (yet) have ranking for implicit conversion sequences that use reference binding. llvm-svn: 58357
-
Zhongxing Xu authored
llvm-svn: 58356
-
Douglas Gregor authored
of copy initialization. Other pieces of the puzzle: - Try/Perform-ImplicitConversion now handles implicit conversions that don't involve references. - Try/Perform-CopyInitialization uses CheckSingleAssignmentConstraints for C. PerformCopyInitialization is now used for all argument passing and returning values from a function. - Diagnose errors with declaring references and const values without an initializer. (Uses a new Action callback, ActOnUninitializedDecl). We do not yet have implicit conversion sequences for reference binding, which means that we don't have any overloading support for reference parameters yet. llvm-svn: 58353
-
- Oct 28, 2008
-
-
Chris Lattner authored
llvm-svn: 58349
-
Steve Naroff authored
With this commit, stuff like this is very close to working... [foo barf:^(int){ printf("whatever\n"); }]; Here is what is currently translates to... ((id (*)(id, SEL, void (^)(int)))(void *)objc_msgSend)((id)foo, sel_registerName("barf:"), (void (*)(int))__main_block_func_0); I just need make sure the funky cast on objc_msgSend() is converted from "void (^)(int)" to "void (*)(int)". Since the cast doesn't appear in the source code, it needs to be converted in RewriteObjC::SynthMessageExpr(). llvm-svn: 58348
-
Ted Kremenek authored
(1) when all of the bug category boxes are checked, automatically check "All Bugs" (2) when any of the bug category boxes are unchecked, automatically uncheck "All Bugs" llvm-svn: 58346
-
Ted Kremenek authored
The attached patch adds a checkbox to the scan-build summary report, which toggles all other checkboxes' states. llvm-svn: 58344
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58342
-
Daniel Dunbar authored
llvm-svn: 58341
-
Douglas Gregor authored
llvm-svn: 58331
-
Douglas Gregor authored
llvm-svn: 58330
-
Zhongxing Xu authored
llvm-svn: 58322
-
Zhongxing Xu authored
llvm-svn: 58321
-