[PATCH] D21515: Update clang for D21514. NFC

2016-06-19 Thread Amaury SECHET via cfe-commits
deadalnix created this revision. deadalnix added reviewers: ahatanak, bkramer, whitequark, mehdi_amini, void. deadalnix added a subscriber: cfe-commits. As per title. http://reviews.llvm.org/D21515 Files: lib/CodeGen/CGExpr.cpp Index: lib/CodeGen/CGExpr.cpp ===

Re: [PATCH] D21510: [libc++] Check hash before calling __hash_table key_eq function

2016-06-19 Thread Kwasi Mensah via cfe-commits
kmensah added a comment. I've run make make check-libcxx and this seems to pass fine. Repository: rL LLVM http://reviews.llvm.org/D21510 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-co

[PATCH] D21510: [libc++] Check hash before calling __hash_table key_eq function

2016-06-19 Thread Kwasi Mensah via cfe-commits
kmensah created this revision. kmensah added a subscriber: cfe-commits. kmensah set the repository for this revision to rL LLVM. The current implementations of __hash_table::find used by std::unordered_set/unordered_map call key_eq on each key that lands in the same bucket as the key you're look

[PATCH] D21508: Make friend function template definition available if class is instantiated.

2016-06-19 Thread Serge Pavlov via cfe-commits
sepavloff created this revision. sepavloff added a reviewer: rsmith. sepavloff added a subscriber: cfe-commits. Similar to friend functions, if a friend function template is defined in a class template, its definition is available only if the class is instantiated. http://reviews.llvm.org/D21508

Re: [PATCH] D16989: Change interpretation of function definition in friend declaration of template class.

2016-06-19 Thread Serge Pavlov via cfe-commits
sepavloff updated this revision to Diff 61220. sepavloff added a comment. Updated patch Added handling of FunctionTemplateDecl to shouldLinkDependentDeclWithPrevious. It is not used now but is required for subsequent patch. Also position comment correctly. http://reviews.llvm.org/D16989 Files

Re: [PATCH] D20964: [clang-tidy] Add modernize-use-emplace

2016-06-19 Thread Piotr Padlewski via cfe-commits
Prazek added a comment. In http://reviews.llvm.org/D20964#453797, @vsk wrote: > @Eugene.Zelenko thanks for pointing this out, I had totally missed this > patch! Once we get this reviewed I'm willing to abandon my version. Some > comments inline -- I have tested it on llvm code base and I have

Re: [PATCH] D20964: [clang-tidy] Add modernize-use-emplace

2016-06-19 Thread Piotr Padlewski via cfe-commits
Prazek added a comment. Changes after running http://reviews.llvm.org/D21507 http://reviews.llvm.org/D20964 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libcxx] r273123 - Add entry to CREDITS.TXT for propagate_const

2016-06-19 Thread Jonathan Coe via cfe-commits
Author: jbcoe Date: Sun Jun 19 14:36:28 2016 New Revision: 273123 URL: http://llvm.org/viewvc/llvm-project?rev=273123&view=rev Log: Add entry to CREDITS.TXT for propagate_const Modified: libcxx/trunk/CREDITS.TXT Modified: libcxx/trunk/CREDITS.TXT URL: http://llvm.org/viewvc/llvm-project/lib

[libcxx] r273122 - Implement std::experimental::propagate_const from LFTS v2

2016-06-19 Thread Jonathan Coe via cfe-commits
Author: jbcoe Date: Sun Jun 19 14:34:13 2016 New Revision: 273122 URL: http://llvm.org/viewvc/llvm-project?rev=273122&view=rev Log: Implement std::experimental::propagate_const from LFTS v2 Summary: An implementation of std::experimental::propagate_const from Library Fundamentals Technical Speci

[libcxx] r273121 - Test commit; remove some spaces at EOL. No functional change.

2016-06-19 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sun Jun 19 14:29:52 2016 New Revision: 273121 URL: http://llvm.org/viewvc/llvm-project?rev=273121&view=rev Log: Test commit; remove some spaces at EOL. No functional change. Modified: libcxx/trunk/include/utility Modified: libcxx/trunk/include/utility URL: http://llvm

Re: [PATCH] D20964: [clang-tidy] Add modernize-use-emplace

2016-06-19 Thread Piotr Padlewski via cfe-commits
Prazek updated this revision to Diff 61214. Prazek added a comment. Changes after running og llvm code base. Adding llvm::SmallVector was a good idea, because it has fired for much more cases and I have found 3 other bugs. Now check doesn't fire when argument of constructor is bitfield or new ex

[PATCH] D21506: [analyzer] Block in critical section

2016-06-19 Thread Zoltán Dániel Török via cfe-commits
zdtorok created this revision. zdtorok added reviewers: zaks.anna, dcoughlin, xazax.hun. zdtorok added a subscriber: cfe-commits. zdtorok set the repository for this revision to rL LLVM. This checker should find the calls to blocking functions (for example: sleep, getc, fgets,read,recv etc.) insi

[PATCH] D21505: [Clang][AVX512][Intrinsics]Adding intrinsics for mov{ss|sd} instruction set

2016-06-19 Thread michael zuckerman via cfe-commits
m_zuckerman created this revision. m_zuckerman added reviewers: AsafBadouh, igorb, delena. m_zuckerman added a subscriber: cfe-commits. http://reviews.llvm.org/D21505 Files: lib/Headers/avx512fintrin.h test/CodeGen/avx512f-builtins.c Index: test/CodeGen/avx512f-builtins.c ===

Re: [PATCH] D21504: [X86] add _mm_loadu_si64

2016-06-19 Thread Asaf Badouh via cfe-commits
AsafBadouh updated this revision to Diff 61200. AsafBadouh added a comment. small changes according to Simon review. Repository: rL LLVM http://reviews.llvm.org/D21504 Files: tools/clang/lib/Headers/emmintrin.h tools/clang/test/CodeGen/sse2-builtins.c Index: tools/clang/lib/Headers/emmi

Re: [PATCH] D21504: [X86] add _mm_loadu_si64

2016-06-19 Thread Simon Pilgrim via cfe-commits
RKSimon added a subscriber: RKSimon. Comment at: tools/clang/test/CodeGen/sse2-builtins.c:1527 @@ +1526,3 @@ + // CHECK: load i64, i64* %__u + // CHECK: insertelement <2 x i64> undef, i64 %4, i32 0 + // CHECK: insertelement <2 x i64> %{{.*}}, i64 0, i32 1 Repla

[PATCH] D21504: [X86] add _mm_loadu_si64

2016-06-19 Thread Asaf Badouh via cfe-commits
AsafBadouh created this revision. AsafBadouh added reviewers: delena, igorb, m_zuckerman. AsafBadouh added a subscriber: cfe-commits. AsafBadouh set the repository for this revision to rL LLVM. Repository: rL LLVM http://reviews.llvm.org/D21504 Files: tools/clang/lib/Headers/emmintrin.h to

Re: [PATCH] D21497: Fix test to specify C++03 (fails with C++11).

2016-06-19 Thread Olivier Goffart via cfe-commits
ogoffart added a comment. I made http://reviews.llvm.org/D21502 that should also fix this test. http://reviews.llvm.org/D21497 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D21501: [Driver] Add support for Broadcom Vulcan core

2016-06-19 Thread pankaj gode via cfe-commits
pgode created this revision. pgode added reviewers: t.p.northover, rengolin. pgode added a subscriber: cfe-commits. Herald added a subscriber: aemerson. Adds support for new Broadcom Vulcan core (ARMv8.1A) . http://reviews.llvm.org/D21501 Files: lib/Basic/Targets.cpp lib/Driver/Tools.cpp t

Re: [PATCH] D21497: Fix test to specify C++03 (fails with C++11).

2016-06-19 Thread Olivier Goffart via cfe-commits
ogoffart added a comment. I'm sorry for commiting broken test. However this is supposed to work also in C++11 mode. I'm investigating what's wrong. http://reviews.llvm.org/D21497 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://list

[libcxx] r273107 - Fix various undefined behavior found by UBSan.

2016-06-19 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sun Jun 19 02:08:27 2016 New Revision: 273107 URL: http://llvm.org/viewvc/llvm-project?rev=273107&view=rev Log: Fix various undefined behavior found by UBSan. * Fix non-null violation in strstream.cpp Overflow was calling memcpy with a null parameter and a size of 0. * Fix

[libcxx] r273106 - Implement LWG issue 1169. num_get not fully compatible with strto*

2016-06-19 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sun Jun 19 01:58:22 2016 New Revision: 273106 URL: http://llvm.org/viewvc/llvm-project?rev=273106&view=rev Log: Implement LWG issue 1169. num_get not fully compatible with strto* Use strtof and strtod for floats and doubles respectively instead of always using strtold. The ot