- Jan 17, 2013
-
-
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
-
Eric Christopher authored
emitting the dwarf32 version of DW_FORM_sec_offset and correct disassembler support. llvm-svn: 172698
-
David Blaikie authored
llvm-svn: 172697
-
Matt Beaumont-Gay authored
This is inspired by a number of false positives in real code, including PR14968. I've added test cases reduced from these false positives to test/Sema/unused-expr.c, as well as corresponding test cases that pass the offending expressions as arguments to a no-op macro to ensure that we do warn there. This also removes my previous tweak from r166522/r166534, so that we warn on unused cast expressions in macro arguments. There were several test cases that were using -Wunused-value to test general diagnostic emission features; I changed those to use other warnings or warn on a macro argument expression. I stared at the test case for PR14399 for a while with Richard Smith and we believe the new test case exercises the same codepaths as before. llvm-svn: 172696
-
Douglas Gregor authored
llvm-svn: 172695
-
Richard Smith authored
literals. As suggested by Sean Silva. llvm-svn: 172694
-
Richard Smith authored
llvm-svn: 172693
-
Daniel Dunbar authored
in the LangRef). llvm-svn: 172692
-
Richard Smith authored
it apart from [[gnu::noreturn]] / __attribute__((noreturn)), since their semantics are not equivalent (for instance, we treat [[gnu::noreturn]] as affecting the function type, whereas [[noreturn]] does not). llvm-svn: 172691
-
Richard Smith authored
expressions which have undefined behavior due to multiple unsequenced modifications or an unsequenced modification and use of a variable. llvm-svn: 172690
-
NAKAMURA Takumi authored
llvm-svn: 172689
-
Jakob Stoklund Olesen authored
Let targets use it. llvm-svn: 172688
-
Jakob Stoklund Olesen authored
Move the early if-conversion pass into this group. ILP optimizations usually need to find the right balance between register pressure and ILP using the MachineTraceMetrics analysis to identify critical paths and estimate other costs. Such passes should run together so they can share dominator tree and loop info analyses. Besides if-conversion, future passes to run here here could include expression height reduction and ARM's MLxExpansion pass. llvm-svn: 172687
-
Douglas Gregor authored
undefined, and don't find methods or protocols within those protocol definitions. This completes <rdar://problem/10634711>. llvm-svn: 172686
-
Jack Carter authored
but I cannot reproduce the problem and have scrubed my sources and even tested with llvm-lit -v --vg. The Mips RDHWR (Read Hardware Register) instruction was not tested for assembler or dissassembler consumption. This patch adds that functionality. Contributer: Vladimir Medic llvm-svn: 172685
-
Dmitri Gribenko authored
llvm-svn: 172684
-
Fariborz Jahanian authored
produce more inline layout metadata. // rdar://12752901 llvm-svn: 172683
-
Matt Beaumont-Gay authored
llvm-svn: 172682
-
Daniel Dunbar authored
llvm-svn: 172681
-
Lang Hames authored
ambiguous term 'legal'. Suggested by Andrew Booker. Thanks Andrew! llvm-svn: 172680
-
Argyrios Kyrtzidis authored
if we can see the elements of the arrays. for example: NSDictionary *dict = [NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"1", @"2", nil] forKeys:[NSArray arrayWithObjects:@"A", @"B", nil]]; --> NSDictionary *dict = @{ @"A" : @"1", @"B" : @"2" }; rdar://12428166 llvm-svn: 172679
-
Rafael Espindola authored
llvm-svn: 172678
-
Dmitri Gribenko authored
Reported on IRC by _savage llvm-svn: 172677
-
Aaron Ballman authored
llvm-svn: 172676
-