- Jan 28, 2013
-
-
Douglas Gregor authored
better job with them. Shaves off 0.7% of -fparse-only time for a modules test case. Sure makes you wonder... llvm-svn: 173689
-
Daniel Jasper authored
Before: TypeSpecDecl *TypeSpecDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L, IdentifierInfo *II, Type *T) {} After: TypeSpecDecl * TypeSpecDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L, IdentifierInfo *II, Type *T) {} This fixes llvm.org/PR14717. llvm-svn: 173688
-
Evgeniy Stepanov authored
llvm-svn: 173687
-
Evgeniy Stepanov authored
llvm-svn: 173686
-
Daniel Jasper authored
Before: Constructor : LooooooooooooooooooooongVariable( LooooooooooooooooooooongValue) {} After: Constructor : LooooooooooooooooooooongVariable( LooooooooooooooooooooongValue) {} llvm-svn: 173685
-
Daniel Jasper authored
Before (in good cases): for (auto aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) {} for (auto aaaaaaaaaaaaaaaaaaaa : aaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaa, aaaa)) {} After: for (auto aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) {} for (auto aaaaaaaaaaaaaaaaaaaa : aaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaa, aaaa)) {} llvm-svn: 173684
-
Daniel Jasper authored
Before we did not really systematically format those. Now, we format the different cases as: - 1 Line: a ? b : c; - 2 Lines: short ? loooooooooong : loooooooooong - 2 Lines: loooooooooooooooong ? short : short - 3 Lines: loooooooooooooooong ? loooooooooooooong : loooooooooooooong Not sure whether "?" and ":" should go on the new line, but it seems to be the most consistent approach. llvm-svn: 173683
-
Evgeniy Stepanov authored
It is way too slow. Change the default option value to 0. Always do exact shadow propagation for unsigned ICmp with constants, it is cheap (under 1% cpu time) and required for correctness. llvm-svn: 173682
-
Alexey Samsonov authored
llvm-svn: 173681
-
Daniel Jasper authored
1. Use a hanging ident for function calls nested in binary expressions. E.g.: int aaaaa = aaaaaaaaa && aaaaaaaaaa( aaaaaaaaaa); 2. Slightly improve heuristic for builder type expressions and reduce penalty for breaking before "." and "->" in those. 3. Remove mostly obsolete metric of decreasing indent level. This fixes: llvm.org/PR14931. Changes #1 and #2 were necessary to keep tests passing after #3. llvm-svn: 173680
-
Evgeniy Stepanov authored
Broken tests. llvm-svn: 173679
-
Evgeniy Stepanov authored
50% slowdown on one of the specs. llvm-svn: 173678
-
Alexey Samsonov authored
llvm-svn: 173677
-
Kostya Serebryany authored
llvm-svn: 173676
-
Daniel Jasper authored
These always represent a continuation and we should increase the ident. Before: aaaaaaaaa(aaaaaaaaaaaaaaaaaaaaa:: aaaaaaaaaaaaaaaaaaaa); After: aaaaaaaaa(aaaaaaaaaaaaaaaaaaaaa:: aaaaaaaaaaaaaaaaaaaa); llvm-svn: 173675
-
Craig Topper authored
llvm-svn: 173674
-
Daniel Jasper authored
Before: aaaaaaaa(aaaaaaaaa( aaaaaaaaaa(), aaaaaaaaa); After: aaaaaaaa(aaaaaaaaa( aaaaaaaaaa(), aaaaaaaaa); llvm-svn: 173673
-
Nadav Rotem authored
A bugfix for tblgen, in the function ‘emitSourceFileHeader’. When the first parameter (‘Desc’) is more than 80 characters long, it will result the header line that contains the description to be more Than (4GB!) long. Not only it takes forever to produce, the output file cannot be open, since its ginormous. Patch by Elior Malul. llvm-svn: 173672
-
Kostya Serebryany authored
llvm-svn: 173671
-
Alexey Samsonov authored
Print warning instead of error if optional ASan features are enabled w/o specifying -fsanitize=address llvm-svn: 173670
-
Craig Topper authored
Add missing break in 256-bit palignr comment printing. No test case yet because the comment itself is still wrong. llvm-svn: 173669
-
Alexey Samsonov authored
llvm-svn: 173668
-
Craig Topper authored
llvm-svn: 173667
-
Michael Gottesman authored
Created ObjCARCUtil.cpp for functions which in my humble opinion are too large to static inline and place in a header file such as ObjCARC.h. llvm-svn: 173666
-
Michael J. Spencer authored
llvm-svn: 173665
-
Craig Topper authored
llvm-svn: 173664
-
Michael Gottesman authored
llvm-svn: 173663
-
Michael Gottesman authored
llvm-svn: 173662
-
Bill Wendling authored
llvm-svn: 173661
-
Bill Wendling authored
This now uses the AttributeSet object instead of the Attribute / AttributeWithIndex objects. It's fairly simple now. It goes through all of the subsets before the one we're modifying, adds them to the new set. It then adds the modified subset (with the requested attributes removed). And then adds the rest of the subsets. llvm-svn: 173660
-
Bill Wendling authored
This now uses the AttributeSet object instead of the Attribute / AttributeWithIndex objects. It's fairly simple now. It goes through all of the subsets before the one we're modifying, adds them to the new set. It then adds the modified subset. And then adds the rest of the subsets. llvm-svn: 173659
-
Hal Finkel authored
llvm-svn: 173658
-
Hal Finkel authored
The -E output from clang did not produce the correct indentation on the first line. This is because MoveToLine returned false, and when this happens, the regular process for producing initial indentation is skipped. Thanks to Eli for suggesting a way to simplify this to a one-line change. llvm-svn: 173657
-
NAKAMURA Takumi authored
Unfortunately, msvc miscompiles it. Investigating. llvm-svn: 173656
-
Michael J. Spencer authored
Patch by Ahmed Bougacha! llvm-svn: 173655
-
Michael Gottesman authored
llvm-svn: 173654
-
Michael Gottesman authored
llvm-svn: 173653
-
Michael Gottesman authored
llvm-svn: 173652
-
Michael Gottesman authored
I also added the local header ObjCARC.h for common functions used by the various passes. llvm-svn: 173651
-
Edwin Vane authored
Use a simple recursive bash function to search for svn repos for the 'make update' target thus including projects like clang-tools-extra. Reviewers: bkramer, echristo llvm-svn: 173650
-