- Nov 14, 2012
-
-
Andrew Trick authored
llvm-svn: 167917
-
Craig Topper authored
llvm-svn: 167916
-
Logan Chien authored
llvm-svn: 167915
-
Craig Topper authored
Set FFLOOR for vectors to expand on CellSPU to keep instruction selection from failing on llvm.floor of a vector. llvm-svn: 167914
-
Craig Topper authored
llvm-svn: 167913
-
Rafael Espindola authored
llvm-svn: 167912
-
David Blaikie authored
Found by Richard Smith in post-commit review of r167906. llvm-svn: 167911
-
Jason Molenda authored
Thread::ResetFrameZeroRegisters() clear the UnwindLLDB object when resetting the thread's register state. llvm-svn: 167910
-
NAKAMURA Takumi authored
* getMostSpecialized() /// \param Index if non-NULL and the result of this function is non-nULL, /// receives the index corresponding to the resulting function template /// specialization. * DeduceTemplateArguments() /// \param Name the name of the function being called. This is only significant /// when the function template is a conversion function template, in which /// case this routine will also perform template argument deduction based on /// the function to which llvm-svn: 167909
-
NAKAMURA Takumi authored
llvm-svn: 167908
-
Eli Friedman authored
the related comma pasting extension. In certain cases, we used to get two diagnostics for what is essentially one extension. This change suppresses the first diagnostic in certain cases where we know we're going to print the second diagnostic. The diagnostic is redundant, and it can't be suppressed in the definition of the macro because it points at the use of the macro, so we want to avoid printing it if possible. The implementation works by detecting constructs which look like comma pasting at the time of the definition of the macro; this information is then used when the macro is used. (We can't actually detect whether we're using the comma pasting extension until the macro is actually used, but we can detecting constructs which will be comma pasting if the varargs argument is elided.) <rdar://problem/12292192> llvm-svn: 167907
-
David Blaikie authored
This corrects the mangling and linkage of classes (& their member functions) in cases like this: struct foo { struct { void func() { ... } } x; }; we were accidentally giving this nested unnamed struct 'no' linkage where it should've had the linkage of the outer class. The mangling was incorrecty too, mangling as TU-wide unnamed type mangling of $_X rather than class-scoped mangling of UtX_. This also fixes -Wunused-member-function which would incorrectly diagnose 'func' as unused due to it having no linkage & thus appearing to be TU-local when in fact it might be correctly used in another TU. Similar mangling should be applied to function local classes in similar cases but I've deferred that for a subsequent patch. Review/discussion by Richard Smith, John McCall, & especially Eli Friedman. llvm-svn: 167906
-
Sean Silva authored
llvm-svn: 167905
-
Anton Korobeynikov authored
Do some cleanup of the code while here. Inspired by patch by Logan Chien! llvm-svn: 167904
-
Sean Silva authored
llvm-svn: 167903
-
Anders Carlsson authored
llvm-svn: 167902
-
Nick Lewycky authored
llvm-svn: 167901
-
Eli Friedman authored
Fix an assertion failure printing the unused-label fixit in files using CRLF line endings. <rdar://problem/12639047>. llvm-svn: 167900
-
Richard Smith authored
test was whether the /selected/ operator= was trivial, not whether the class had any trivial (or any non-trivial) operator=s. llvm-svn: 167897
-
John McCall authored
positions of Objective-C methods. It is possible to recover a lot of type information about Objective-C methods from the reflective metadata for their implementations. This information is not rich when it comes to struct types, however, and it is not possible to produce a type in the debugger's round-tripped AST which will really do anything useful during type-checking. Therefore we allow __unknown_anytype in these positions, which essentially disables type-checking for that argument. We infer the parameter type to be the unqualified type of the argument expression unless that expression is an explicit cast, in which case it becomes the type-as-written of that cast. rdar://problem/12565338 llvm-svn: 167896
-
-
Matt Beaumont-Gay authored
llvm-svn: 167894
-
Michael J. Spencer authored
llvm-svn: 167893
-
Nadav Rotem authored
llvm-svn: 167892
-
Matt Beaumont-Gay authored
llvm-svn: 167891
-
Richard Smith authored
Fix typo from code review (thanks to Alexey Samsonov). This is also caught by the existing tests when building for i386. llvm-svn: 167890
-
Richard Smith authored
Darwin. Patch by Jean-Daniel Dupas, tweaked by Jonathan Sauer, simplified somewhat by me. llvm-svn: 167889
-
Richard Smith authored
-fsanitize=undefined: Switch to using sanitizer_common for output. This gets us much closer to not depending on any system headers. llvm-svn: 167888
-
Eric Christopher authored
temporarily since it breaks the gdb bots. This reverts commit r167807/30305bec25cac981c6d4a3b8be004401310a82a7. llvm-svn: 167887
-
Eric Christopher authored
temporarily as it is breaking the gdb bots. This reverts commit r167806/e7ff4c14b157746b3e0228d2dce9f70712d1c126. llvm-svn: 167886
-
Eli Friedman authored
if the type of the value is a non-trivial class type. Fixes PR14318. (There's a minor ObjC++ language change here: given that we can't save the value, the type of the assignment expression is void in such cases.) llvm-svn: 167884
-
Kostya Serebryany authored
llvm-svn: 167883
-
Jim Grosbach authored
llvm-svn: 167882
-
- Nov 13, 2012
-
-
Joe Abbey authored
Assignment of Bitcode ownership to Joe Abbey, after announcing proposal on LLVMdev and not hearing any major objections. Although it did spark a nice discussion regarding what it means to own something in LLVM. llvm-svn: 167881
-
Andrew Trick authored
llvm-svn: 167880
-
Andrew Trick authored
This option will eventually either be enabled unconditionally or replaced by a more general live range splitting optimization. llvm-svn: 167879
-
Nico Weber authored
Integer literal mangling does not actually depend on exact type of the literal. This will simplify calling mangleIntegerLiteral when literal type is not known, for example, when sizes or offsets are mangled as integer literals. Also, call mangleNumber instead of directly printing mangled values of 0/1, to avoid this knowledge from being in multiple places. Patch from Evgeny Eltsin! llvm-svn: 167878
-
Michael J. Spencer authored
llvm-svn: 167877
-
NAKAMURA Takumi authored
Revert r167836, "llvm/test/Other/close-stderr.ll: Mark it as XFAIL:mingw32 for now.", corresponding to r167849. llvm-svn: 167876
-
Ulrich Weigand authored
TLS symbols on PowerPC using the integrated assembler. llvm-svn: 167875
-