- Jan 04, 2013
-
-
Ted Kremenek authored
llvm-svn: 171501
-
Douglas Gregor authored
llvm-svn: 171497
-
Daniel Jasper authored
This prevents code like: namespace { class Foo { Foo( }; } // comment from causing segfaults (see llvm.org/PR14774). llvm-svn: 171495
-
Filipe Cabecinhas authored
llvm-svn: 171494
-
Manman Ren authored
The line information was changed when emitting debug information for all the DeclRefExprs and we should change it back to get ready for PopClenupBlocks called from FinishFunction. rdar://11562117 llvm-svn: 171493
-
Fariborz Jahanian authored
to match those foung in objc.h an avoid spurious warnings. // rdar://12489098 llvm-svn: 171492
-
Argyrios Kyrtzidis authored
rdar://11074996 llvm-svn: 171485
-
Argyrios Kyrtzidis authored
variable, thus emitting the "switch case is in protected scope" error. rdar://12952016 llvm-svn: 171484
-
Argyrios Kyrtzidis authored
llvm-svn: 171483
-
Argyrios Kyrtzidis authored
rdar://12952025 llvm-svn: 171482
-
-
Eric Christopher authored
field number was 0 anyhow. llvm-svn: 171472
-
- Jan 03, 2013
-
-
Rafael Espindola authored
To do so we have to wait until we know that the type of a variable has been deduced. Sema::FinalizeDeclaration is the first callback that is used for decl with or without initializers. llvm-svn: 171458
-
Rafael Espindola authored
llvm-svn: 171457
-
Argyrios Kyrtzidis authored
c = Block_copy(b); Block_release(c); ----> c = [b copy]; <removed> rdar://9408211 llvm-svn: 171454
-
Ted Kremenek authored
llvm-svn: 171439
-
Eli Friedman authored
static local variable from the parent scope. PR14773. llvm-svn: 171433
-
Anna Zaks authored
This better reflects when callback is called and what the checkers are relying on. (Both names meant the same pre-IPA.) llvm-svn: 171432
-
- Jan 02, 2013
-
-
Argyrios Kyrtzidis authored
Patch by Will Dietz: Minor touchup so the values of Offset/ID reflect their intention. Previously, the sum (Offset+ID) was correct, but Offset/ID individually were wrong. Caught by investigating unsigned overflow reported by -fsanitize=integer. llvm-svn: 171421
-
Anshuman Dasgupta authored
Patch by Krzysztof Parzyszek! llvm-svn: 171415
-
Argyrios Kyrtzidis authored
llvm-svn: 171402
-
Manuel Klimek authored
Fixes: - incorrect handling of multiple consecutive preprocessor directives - crash when trying to right align the escpaed newline for a line that is longer than the column limit - using only ColumnLimit-1 columns when layouting with escaped newlines inside preprocessor directives llvm-svn: 171401
-
Daniel Jasper authored
This fixes llvm.org/PR14786. We will need to split there as a last resort, but that should be done consistently independent of whether the type is a template type or not. Before: template <typename T> aaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaa<T> ::aaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa); After: template <typename T> aaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaa<T>::aaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa); llvm-svn: 171400
-
Daniel Jasper authored
This fixes llvm.org/PR14687. Also fixes segfault for lines starting with * or &. Before: a *~b; *a = 1; // <- this segfaulted After: a * ~b; *a = 1; // no segfault :-) llvm-svn: 171396
-
Manuel Klimek authored
This is the first step towards handling preprocessor directives. This patch only fixes the most pressing issue, namely correctly escaping newlines for tokens within a sequence of a preprocessor directive. The next step will be to fix incorrect format decisions on #define directives. llvm-svn: 171393
-
Daniel Jasper authored
This fixes llvm.org/PR14747. Before: Type *A = (Type * ) P; After: Type *A = (Type *) P; llvm-svn: 171390
-
Daniel Jasper authored
This fixes llvm.org/PR14746. Before: return - 1; After: return -1; llvm-svn: 171389
-
Daniel Jasper authored
This addresses llvm.org/PR14699 Before: template <typename T> void looooooooooooooooooooooongFunction(int Param1, int Param2); template <typename T> void looooooooooooooooooooongFunction( int Paaaaaaaaaaaaaaaaaaaaram1, int Paaaaaaaaaaaaaaaaaaaaram2); After: template <typename T> void looooooooooooooooooooooongFunction(int Param1, int Param2); template <typename T> void looooooooooooooooooooongFunction(int Paaaaaaaaaaaaaaaaaaaaram1, int Paaaaaaaaaaaaaaaaaaaaram2); llvm-svn: 171388
-
Daniel Jasper authored
Before: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa( aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa && aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa); After: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa && aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa); llvm-svn: 171386
-
Richard Smith authored
llvm-svn: 171372
-
Chandler Carruth authored
reflect the migration in r171366. Re-sort the #include lines to reflect the new paths. llvm-svn: 171369
-
Richard Smith authored
llvm-svn: 171367
-
Chandler Carruth authored
Removes a duplicate #include as well as cleaning up some sort order regressions since I last ran the script over Clang. llvm-svn: 171364
-
Daniel Jasper authored
Before: "int a = b ? *c : * d;" After: "int a = b ? *c : *d; llvm-svn: 171358
-
Daniel Jasper authored
This fixes llvm.org/PR14717. Buggy format: TypeSpecDecl * TypeSpecDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L, IdentifierInfo *II, Type *T) { Now changed to: TypeSpecDecl *TypeSpecDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L, IdentifierInfo *II, Type *T) { llvm-svn: 171357
-
Rafael Espindola authored
llvm-svn: 171354
-
- Jan 01, 2013
-
-
Benjamin Kramer authored
llvm-svn: 171350
-
- Dec 31, 2012
-
-
Rafael Espindola authored
Patch by Brad Smith. llvm-svn: 171329
-
Nico Weber authored
These got deleted late 2010 during the Actions/Sema unification. No functionality change. llvm-svn: 171269
-
Nico Weber authored
llvm-svn: 171268
-