r253130 - [X86][MMX] Added MMX IR + assembly codegen builtin tests

2015-11-14 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Sat Nov 14 06:47:44 2015 New Revision: 253130 URL: http://llvm.org/viewvc/llvm-project?rev=253130&view=rev Log: [X86][MMX] Added MMX IR + assembly codegen builtin tests Improved tests as discussed in PR24580 Modified: cfe/trunk/test/CodeGen/mmx-builtins.c Modified: cfe

r253131 - [X86][MMX] Sorted MMX IR + assembly codegen builtin tests

2015-11-14 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Sat Nov 14 07:25:06 2015 New Revision: 253131 URL: http://llvm.org/viewvc/llvm-project?rev=253131&view=rev Log: [X86][MMX] Sorted MMX IR + assembly codegen builtin tests Makes it easier to track what tests are missing Modified: cfe/trunk/test/CodeGen/mmx-builtins.c

Re: [PATCH] D13388: Add support for querying the visibility of a cursor

2015-11-14 Thread Milian Wolff via cfe-commits
milianw accepted this revision. milianw added a comment. This revision is now accepted and ready to land. From my POV, this looks good. http://reviews.llvm.org/D13388 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-

Re: r242121 - Add support for -fuse-ld= in the mingw toolchain driver.

2015-11-14 Thread Filipe Cabecinhas via cfe-commits
Handling of values other than lld looked weird. Can you make it a hard error to use something other than, I guess, ld, gold, lld? Or are there other linkers available? Filipe On Friday, 13 November 2015, Yaron Keren via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Sure, r253066. > > > 20

Re: r242121 - Add support for -fuse-ld= in the mingw toolchain driver.

2015-11-14 Thread Rafael EspĂ­ndola via cfe-commits
On 15 November 2015 at 02:39, Filipe Cabecinhas wrote: > Handling of values other than lld looked weird. > Can you make it a hard error to use something other than, I guess, ld, gold, > lld? > Or are there other linkers available? What I find strange is that we use -flavor at all. We should ideal

r253133 - Fix spelling error in comment.

2015-11-14 Thread Craig Topper via cfe-commits
Author: ctopper Date: Sat Nov 14 12:15:55 2015 New Revision: 253133 URL: http://llvm.org/viewvc/llvm-project?rev=253133&view=rev Log: Fix spelling error in comment. Modified: cfe/trunk/lib/Parse/ParseDecl.cpp Modified: cfe/trunk/lib/Parse/ParseDecl.cpp URL: http://llvm.org/viewvc/llvm-proje

r253136 - Merge some similar diagnostics using %select.

2015-11-14 Thread Craig Topper via cfe-commits
Author: ctopper Date: Sat Nov 14 12:16:08 2015 New Revision: 253136 URL: http://llvm.org/viewvc/llvm-project?rev=253136&view=rev Log: Merge some similar diagnostics using %select. Modified: cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td cfe/trunk/lib/Parse/ParseCXXInlineMethods.cpp

r253134 - Fix 80 column violation. NFC.

2015-11-14 Thread Craig Topper via cfe-commits
Author: ctopper Date: Sat Nov 14 12:16:00 2015 New Revision: 253134 URL: http://llvm.org/viewvc/llvm-project?rev=253134&view=rev Log: Fix 80 column violation. NFC. Modified: cfe/trunk/lib/Parse/ParseDeclCXX.cpp Modified: cfe/trunk/lib/Parse/ParseDeclCXX.cpp URL: http://llvm.org/viewvc/llvm-

r253135 - Minor formatting fixes. NFC

2015-11-14 Thread Craig Topper via cfe-commits
Author: ctopper Date: Sat Nov 14 12:16:02 2015 New Revision: 253135 URL: http://llvm.org/viewvc/llvm-project?rev=253135&view=rev Log: Minor formatting fixes. NFC Modified: cfe/trunk/lib/Parse/ParseObjc.cpp Modified: cfe/trunk/lib/Parse/ParseObjc.cpp URL: http://llvm.org/viewvc/llvm-project/

r253142 - Fix indentation. NFC

2015-11-14 Thread Craig Topper via cfe-commits
Author: ctopper Date: Sat Nov 14 13:31:52 2015 New Revision: 253142 URL: http://llvm.org/viewvc/llvm-project?rev=253142&view=rev Log: Fix indentation. NFC Modified: cfe/trunk/lib/Sema/DeclSpec.cpp Modified: cfe/trunk/lib/Sema/DeclSpec.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/l

r253143 - Move diagnostics from Parse to Sema to remove Sema's dependency on ParserDiagnostic.h diagnostics.

2015-11-14 Thread Craig Topper via cfe-commits
Author: ctopper Date: Sat Nov 14 13:31:56 2015 New Revision: 253143 URL: http://llvm.org/viewvc/llvm-project?rev=253143&view=rev Log: Move diagnostics from Parse to Sema to remove Sema's dependency on ParserDiagnostic.h diagnostics. Modified: cfe/trunk/include/clang/Basic/DiagnosticParseKind

Re: r242121 - Add support for -fuse-ld= in the mingw toolchain driver.

2015-11-14 Thread Yaron Keren via cfe-commits
Filipe: with mingw targetting Windows/COFF files I think only ld and lld makes sense as gold creates ELF files. I included Microsoft link.exe in the mingw-useld test but rethinking, no one really uses that configuration, see attached patch. Is that what you mean? Rafael: running under Windows whic

Re: r242121 - Add support for -fuse-ld= in the mingw toolchain driver.

2015-11-14 Thread Martell Malone via cfe-commits
The reason why I didn't use -fuse-ld=lld2 was because on Windows we don't have symlinks. I figured passing flavor gets over this hurdle and the installation takes up less space. If you want to change it I have no objections we will just have to look at having lld's cmake to ensure it is created on

Re: r253012 - [modules] When a declaration has non-trivial visibility, check whether it's

2015-11-14 Thread Richard Smith via cfe-commits
On Nov 13, 2015 7:23 PM, "Sean Silva" wrote: > > > > On Thu, Nov 12, 2015 at 9:14 PM, Richard Smith via cfe-commits < cfe-commits@lists.llvm.org> wrote: >> >> Author: rsmith >> Date: Thu Nov 12 23:14:45 2015 >> New Revision: 253012 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=253012&view=rev

r253146 - [WebAssembly] Remove the "const" attribute from __builtin_wasm_memory_size.

2015-11-14 Thread Dan Gohman via cfe-commits
Author: djg Date: Sat Nov 14 16:57:34 2015 New Revision: 253146 URL: http://llvm.org/viewvc/llvm-project?rev=253146&view=rev Log: [WebAssembly] Remove the "const" attribute from __builtin_wasm_memory_size. Modified: cfe/trunk/include/clang/Basic/BuiltinsWebAssembly.def Modified: cfe/trunk/in

r253155 - Use Sema::getLocForEndOfToken instead of Preprocessor::getLocForEndOfToken. NFC

2015-11-14 Thread Craig Topper via cfe-commits
Author: ctopper Date: Sat Nov 14 20:31:46 2015 New Revision: 253155 URL: http://llvm.org/viewvc/llvm-project?rev=253155&view=rev Log: Use Sema::getLocForEndOfToken instead of Preprocessor::getLocForEndOfToken. NFC Modified: cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp cfe/trunk/lib/Sema/S

r253156 - [Sema] Don't crash trying to diagnose abs called on a pointer type

2015-11-14 Thread David Majnemer via cfe-commits
Author: majnemer Date: Sat Nov 14 21:04:34 2015 New Revision: 253156 URL: http://llvm.org/viewvc/llvm-project?rev=253156&view=rev Log: [Sema] Don't crash trying to diagnose abs called on a pointer type Clang tries to figure out if a call to abs is suspicious by looking through implicit casts to l

r253157 - [analyzer] Refer to capture field to determine if capture is reference.

2015-11-14 Thread Devin Coughlin via cfe-commits
Author: dcoughlin Date: Sat Nov 14 21:07:17 2015 New Revision: 253157 URL: http://llvm.org/viewvc/llvm-project?rev=253157&view=rev Log: [analyzer] Refer to capture field to determine if capture is reference. The analyzer incorrectly treats captures as references if either the original captured va

r253158 - Fix a layering oddity by passing Sema to DeclSpec::Finish instead of DiagnosticsEngine and Preprocessor. Everything the preprocessor was being used for can be acquired from Sema.

2015-11-14 Thread Craig Topper via cfe-commits
Author: ctopper Date: Sat Nov 14 21:32:11 2015 New Revision: 253158 URL: http://llvm.org/viewvc/llvm-project?rev=253158&view=rev Log: Fix a layering oddity by passing Sema to DeclSpec::Finish instead of DiagnosticsEngine and Preprocessor. Everything the preprocessor was being used for can be acq