- Jan 17, 2013
-
-
Daniel Dunbar authored
branch). llvm-svn: 172740
-
Jordan Rose authored
It is valid to do this: printf("%u", (int)x); But if we see this: printf("%lu", (int)x); ...our fixit should suggest %d, not %u. llvm-svn: 172739
-
Jordan Rose authored
llvm-svn: 172738
-
Jyotsna Verma authored
This patch fixes bug 14902 - http://llvm.org/bugs/show_bug.cgi?id=14902 llvm-svn: 172737
-
Michael Gottesman authored
llvm-svn: 172736
-
Michael Gottesman authored
[ObjCARC] Implemented operator<< for InstructionClass and changed a ``Visited'' Debug message to use it. llvm-svn: 172735
-
Aaron Ballman authored
Reverting back to the fallback instead of using popcnt; this instruction doesn't exist on all CPU architectures. Fixes PR14982 llvm-svn: 172734
-
Bill Schmidt authored
_Complex float and _Complex long double, by simply increasing the number of floating point registers available for return values. The test case verifies that the correct registers are loaded. llvm-svn: 172733
-
Joey Gouly authored
llvm-svn: 172732
-
Nico Weber authored
It's generally not possible to know if 'a' '*' 'b' is a multiplication expression or a variable declaration with a purely lexer-based approach. The formatter currently uses a heuristic that classifies this token sequence as a multiplication in rhs contexts (after '=' or 'return') and as a declaration else. Because of this, it gets bit tests in ifs, such as "if (a & b)" wrong. However, declarations in ifs always have to be followed by '=', so this patch changes the formatter to classify '&' as an operator if it's at the start of an if statement. Before: if (a& b) if (int* b = f()) Now: if (a & b) if (int* b = f()) llvm-svn: 172731
-
Will Dietz authored
Missed this one previously. llvm-svn: 172730
-
Dmitri Gribenko authored
llvm-svn: 172729
-
Sylvestre Ledru authored
llvm-svn: 172728
-
Alexey Samsonov authored
[ASan] minor changes to swapcontext handling: don't clear shadow memory if context stack is too large llvm-svn: 172727
-
Alexey Samsonov authored
llvm-svn: 172726
-
Kostya Serebryany authored
llvm-svn: 172725
-
Daniel Malea authored
llvm-svn: 172724
-
Kostya Serebryany authored
llvm-svn: 172723
-
Kostya Serebryany authored
llvm-svn: 172722
-
Kostya Serebryany authored
llvm-svn: 172721
-
Evgeniy Stepanov authored
strtod and friends, dladdr, getrusage llvm-svn: 172720
-
Kostya Serebryany authored
llvm-svn: 172719
-
Daniel Jasper authored
Before: void aaaaaaaaaaaa(int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) const GUARDED_BY( aaaaaaaaaaaaa); After: void aaaaaaaaaaaa(int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) const GUARDED_BY(aaaaaaaaaaaaa); llvm-svn: 172718
-
Alexey Samsonov authored
llvm-svn: 172717
-
Chandler Carruth authored
-fopenmp in the link step on Linux. There is probably more tweaking that will need to take place to get good support for linking the relevant libraries on all Linux distributions and/or on other platforms, but this get's the ball moving and allows Clang to build programs which contain OpenMP pragmas that can be safely ignored by a compiler that doesn't implement them, and yet makes direct calls into the OpenMP runtime. llvm-svn: 172715
-
Kostya Serebryany authored
[tsan] add write_range/read_range hooks to common interceptors called from tsan (to find races on read/pread/etc) llvm-svn: 172714
-
Kostya Serebryany authored
llvm-svn: 172713
-
Dmitry Vyukov authored
llvm-svn: 172712
-
Daniel Jasper authored
Also adding more tests. We can now keep the formatting of something like: static SomeType type = { aaaaaaaaaaaaaaaaaaaa, /* comment */ aaaaaaaaaaaaaaaaaaaa /* comment */, /* comment */ aaaaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaa, // comment aaaaaaaaaaaaaaaaaaaa }; Note that the comment in the first line is handled like a trailing line comment as that is likely what the user intended. llvm-svn: 172711
-
Dmitry Vyukov authored
llvm-svn: 172710
-
Alexey Samsonov authored
ASan: add optional 'zero-based shadow' option to ASan passes. Always tell the values of shadow scale and offset to the runtime llvm-svn: 172709
-
Elena Demikhovsky authored
v8i8 -> v8i64, v8i8 -> v8i32, v4i8 -> v4i64, v4i16 -> v4i64 for AVX and AVX2. Bug 14865. llvm-svn: 172708
-
David Blaikie authored
llvm-svn: 172707
-
NAKAMURA Takumi authored
clang/test/Index/code-completion-skip-bodies.cpp: Check stdout and stderr individually, rather than mixed output of stdout and stderr with 2>&1. XFAIL(s) are removed. llvm-svn: 172705
-
Craig Topper authored
Combine AVX and SSE forms of MOVSS and MOVSD into the same multiclasses so they get instantiated together. llvm-svn: 172704
-
Nico Weber authored
r172140 changed the formatter to produce "-(id) foo" instead of "- (id)foo" in google style, with a link to http://google-styleguide.googlecode.com/svn/trunk/objcguide.xml#Method_Declarations_and_Definitions as reference. But now that I look at that link again, it seems I didn't read it very carefully the first time round. llvm-svn: 172703
-
Jason Molenda authored
llvm-svn: 172702
-
David Blaikie authored
llvm-svn: 172701
-
David Blaikie authored
llvm-svn: 172700
-
Eric Christopher authored
changing both the string of the dwo_name to be correct and the type of the statement list. Testcases all around. llvm-svn: 172699
-