- Jan 14, 2013
-
-
Michael Gottesman authored
Updated the documentation in ObjCARC.cpp to fit the style guide better (i.e. use doxygen). Still some work to do though. llvm-svn: 172371
-
Dmitri Gribenko authored
llvm-svn: 172370
-
- Jan 13, 2013
-
-
Michael Gottesman authored
llvm-svn: 172369
-
Michael Gottesman authored
Fixed an infinite loop in the block escape in analysis in ObjCARC caused by 2x blocks each assigned a value via a phi-node causing each to depend on the other. A test case is provided as well. llvm-svn: 172368
-
Dmitri Gribenko authored
llvm-svn: 172367
-
Tim Northover authored
Patch contributed by Andrew Turner. llvm-svn: 172366
-
Tim Northover authored
Patch contributed by Andrew Turner. llvm-svn: 172365
-
Nick Lewycky authored
llvm-svn: 172364
-
Nuno Lopes authored
cache result of Size/OffsetVisitor to speedup analysis of PHI nodes llvm-svn: 172363
-
Dmitri Gribenko authored
llvm-svn: 172362
-
Daniel Jasper authored
clang-format should not change whether or not there is a line break before a line comment as this strongly influences the percieved binding. User input: void f(int a, // b is awesome int b); void g(int a, // a is awesome int b); Before: void f(int a, // b is awesome int b); void g(int a, // a is awesome int b); After: <unchanged from input> llvm-svn: 172361
-
Dmitri Gribenko authored
llvm-svn: 172360
-
Dmitri Gribenko authored
llvm-svn: 172359
-
Dmitri Gribenko authored
llvm-svn: 172358
-
Michael J. Spencer authored
llvm-svn: 172357
-
Dmitri Gribenko authored
llvm-svn: 172356
-
Daniel Jasper authored
Note that I don't know whether we should put {} on a single line in this case, but it is probably a theoretical issue as in practice such structs, classes or unions won't be empty. Before: union A {} a; After: union A {} a; llvm-svn: 172355
-
Chandler Carruth authored
flag information down from the Clang driver into the Gold linker plugin for LTO. This allows specifying -march on the linker commandline and should hopefully have it pass all the way through to the LTO optimizer. Fixes PR14697. llvm-svn: 172354
-
Benjamin Kramer authored
Those can occur when something between the sextload and the store is on the same chain and blocks isel. Fixes PR14887. llvm-svn: 172353
-
NAKAMURA Takumi authored
In ArrayRef<T>(X), X should not be temporary value. It could be rewritten more redundantly; llvm::Type *XTy = X->getType(); ArrayRef<llvm::Type *> Ty(XTy); llvm::Value *Callee = CGF.CGM.getIntrinsic(IntrinsicID, Ty); Since it is safe if both XTy and Ty are temporary value in one statement, it could be shorten; llvm::Value *Callee = CGF.CGM.getIntrinsic(IntrinsicID, ArrayRef<llvm::Type*>(X->getType())); ArrayRef<T> has an implicit constructor to create uni-entry of T; llvm::Value *Callee = CGF.CGM.getIntrinsic(IntrinsicID, X->getType()); MSVC-generated clang.exe crashed. llvm-svn: 172352
-
Daniel Jasper authored
I am not aware of a case where that would be wrong. The specific case I am fixing are function parameters wrapped in parenthesis (e.g. in macros). Before: function(a,(b)); After: function(a, (b)); llvm-svn: 172351
-
Daniel Jasper authored
Before: #include <a - a> After: #include <a-a> llvm-svn: 172350
-
Daniel Jasper authored
A ")" before any of "=", "{" or ";" won't be a cast. This fixes issues with the formatting of unnamed parameters. Before: void f(int *){} After: void f(int *) {} llvm-svn: 172349
-
Nadav Rotem authored
llvm-svn: 172348
-
Michael Gottesman authored
llvm-svn: 172347
-
Michael Gottesman authored
llvm-svn: 172346
-
Michael Gottesman authored
llvm-svn: 172345
-
NAKAMURA Takumi authored
clang/test/CodeGen/builtins-multiprecision.c: Enhance for each test to run on theree targets, i686, amd64, win64. llvm-svn: 172344
-
Michael Gottesman authored
llvm-svn: 172343
-
Michael Gottesman authored
llvm-svn: 172342
-
Michael Gottesman authored
We lower all of these intrinsics into a 2x chained usage of uadd.with.overflow. llvm-svn: 172341
-
Richard Smith authored
llvm-svn: 172340
-
Michael J. Spencer authored
llvm-svn: 172339
-
Michael J. Spencer authored
llvm-svn: 172338
-
Nico Weber authored
Before: [color getRed: &r green: &g blue: &b alpha: &a]; Now: [color getRed:&r green:&g blue:&b alpha:&a]; llvm-svn: 172337
-
Chandler Carruth authored
case, but looking at the diff this was an obviously unintended change. Thanks for the careful review Bill! =] llvm-svn: 172336
-
Nico Weber authored
llvm-svn: 172335
-
- Jan 12, 2013
-
-
Nico Weber authored
llvm-svn: 172334
-
Nico Weber authored
Before: if ((self = [super initWithContentRect:contentRect styleMask: styleMask backing:NSBackingStoreBuffered defer:YES])) { Now: if ((self = [super initWithContentRect:contentRect styleMask:styleMask backing:NSBackingStoreBuffered defer:YES])) { llvm-svn: 172333
-
Dmitri Gribenko authored
Comment is taken from the commit message of r151080, by Jean-Daniel Dupas llvm-svn: 172332
-