Re: r271336 - [CUDA] Conservatively mark inline asm as convergent.

2016-06-01 Thread Tom Stellard via cfe-commits
On Tue, May 31, 2016 at 09:27:13PM -, Justin Lebar via cfe-commits wrote: > Author: jlebar > Date: Tue May 31 16:27:13 2016 > New Revision: 271336 > > URL: http://llvm.org/viewvc/llvm-project?rev=271336&view=rev > Log: > [CUDA] Conservatively mark inline asm as convergent. > > Summary: > This

Re: r271336 - [CUDA] Conservatively mark inline asm as convergent.

2016-06-01 Thread Justin Lebar via cfe-commits
Thank you, Tom. I will have a look. On Wed, Jun 1, 2016 at 11:22 AM, Tom Stellard wrote: > On Tue, May 31, 2016 at 09:27:13PM -, Justin Lebar via cfe-commits wrote: >> Author: jlebar >> Date: Tue May 31 16:27:13 2016 >> New Revision: 271336 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=

Re: [PATCH] D19254: Implement P0033R1 - Re-enabling shared_from_this

2016-06-01 Thread Marshall Clow via cfe-commits
mclow.lists added a comment. Other than the versioning, this looks fine to me. Comment at: include/memory:5439 @@ -5438,1 +5438,3 @@ +_LIBCPP_INLINE_VISIBILITY +weak_ptr<_Tp> weak_from_this() _NOEXCEPT Shouldn't these be wrapped in `#ifdef _LIBCPP_VER

Re: [PATCH] D20715: [docs] Document the source-based code coverage feature

2016-06-01 Thread Justin Bogner via cfe-commits
Vedant Kumar writes: > vsk created this revision. > vsk added a reviewer: bogner. > vsk added subscribers: kcc, cfe-commits, silvas. > > It would be helpful to have a user-friendly guide for code > coverage. There is some overlap with [1], but this document visits > issues which may affect users i

Re: [PATCH] D20415: Update Clang for D20147 ("DebugInfo: New metadata representation for global variables.")

2016-06-01 Thread Peter Collingbourne via cfe-commits
pcc updated this revision to Diff 59260. pcc marked 2 inline comments as done. pcc added a comment. - Address review comments http://reviews.llvm.org/D20415 Files: lib/CodeGen/CGDebugInfo.cpp lib/CodeGen/CGDebugInfo.h lib/CodeGen/CGExpr.cpp lib/CodeGen/CodeGenFunction.cpp lib/CodeGen/

[PATCH] D20874: [libcxx] Two more threading dependencies

2016-06-01 Thread Asiri Rathnayake via cfe-commits
rmaprath created this revision. rmaprath added reviewers: EricWF, bcraig, mclow.lists. rmaprath added a subscriber: cfe-commits. Bumped into these while working on the externally threaded variant. I think it makes most sense to group these two under the main threading API. This greatly simplifie

Re: [PATCH] D20874: [libcxx] Two more threading dependencies

2016-06-01 Thread Ben Craig via cfe-commits
bcraig added inline comments. Comment at: include/__threading_support:187 @@ +186,3 @@ +{ +std::terminate(); +} Why does this need to go in threading_support? Seems like this is mostly orthogonal to threading. libcxxabi seems like the better place to hold c

Re: [PATCH] D20561: Warn when taking address of packed member

2016-06-01 Thread Aaron Ballman via cfe-commits
aaron.ballman requested changes to this revision. aaron.ballman added a comment. This revision now requires changes to proceed. In http://reviews.llvm.org/D20561#445824, @rogfer01 wrote: > I think I wasn't clear with the purpose of the fix-it: there are a few cases > where getting the address of

[libcxxabi] r271423 - [libcxxabi][test] Add missing return statement.

2016-06-01 Thread Asiri Rathnayake via cfe-commits
Author: asiri Date: Wed Jun 1 14:13:53 2016 New Revision: 271423 URL: http://llvm.org/viewvc/llvm-project?rev=271423&view=rev Log: [libcxxabi][test] Add missing return statement. This causes a test failure when running with -Werror=return-type. NFC. Modified: libcxxabi/trunk/test/cxa_bad_t

Re: [PATCH] D20871: [Clang][AVX512][Intrinsics] Adding two definitions _mm512_setzero and _mm512_setzero_epi32

2016-06-01 Thread Elena Demikhovsky via cfe-commits
delena added a comment. Why do you need them. Is it a part of API? http://reviews.llvm.org/D20871 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D14326: ASTImporter: expressions, pt.2

2016-06-01 Thread Serge Pavlov via cfe-commits
sepavloff added inline comments. Comment at: lib/AST/ASTImporter.cpp:2373 @@ +2372,3 @@ + Error = true; +ToInfo = TemplateArgumentLocInfo(TSI); + } else { Maybe `else` before this statement so that in the case of error `ToInfo` remained default initiali

Re: [PATCH] D17462: Fix a codegen bug for variadic functions with pass_object_size params

2016-06-01 Thread George Burgess IV via cfe-commits
george.burgess.iv added a comment. Ping :) http://reviews.llvm.org/D17462 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D20844: FixIt: correctly set DeclSpec's range end for a type name annotation.

2016-06-01 Thread Manman Ren via cfe-commits
manmanren added a comment. In http://reviews.llvm.org/D20844#445762, @rjmccall wrote: > Hmm. No, I think the original code is correct here — RangeEnd is a token > range, and those are generally inclusive rather than exclusive. The fix-it > needs to be inserting at the end of the token. We c

Re: r271387 - Adding front-end support to several intrinsics (bit scanning, conversion and state reading intrinsics)

2016-06-01 Thread David Majnemer via cfe-commits
Please implement _bit_scan_forward and _bit_scan_reverse in terms of __builtin_ctz and __builtin_clz. On Wed, Jun 1, 2016 at 5:21 AM, Michael Zuckerman via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: mzuckerm > Date: Wed Jun 1 07:21:00 2016 > New Revision: 271387 > > URL: http://l

Re: [PATCH] D20857: [clang-tidy] Add modernize-explicit-operator-bool check.

2016-06-01 Thread Etienne Bergeron via cfe-commits
etienneb added a comment. I wonder if these two checks should not be merge in one checker. modernize-explicit-conversion-operator Comment at: clang-tidy/modernize/ExplicitOperatorBoolCheck.cpp:21 @@ +20,3 @@ +void ExplicitOperatorBoolCheck::registerMatchers(MatchFinder *Finde

Re: [PATCH] D20844: FixIt: correctly set DeclSpec's range end for a type name annotation.

2016-06-01 Thread Richard Smith via cfe-commits
On Wed, Jun 1, 2016 at 12:42 PM, Manman Ren via cfe-commits < cfe-commits@lists.llvm.org> wrote: > manmanren added a comment. > > In http://reviews.llvm.org/D20844#445762, @rjmccall wrote: > > > Hmm. No, I think the original code is correct here — RangeEnd is a > token range, and those are genera

Re: [PATCH] D16948: [libcxx] Filesystem TS -- Complete

2016-06-01 Thread Eric Fiselier via cfe-commits
EricWF marked an inline comment as done. Comment at: src/experimental/operations.cpp:128-129 @@ +127,4 @@ +bool stat_equivalent(struct ::stat& st1, struct ::stat& st2) { +return (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino); +} + majnemer wrote: > It

[clang-tools-extra] r271426 - Fix uninitialized memory access when the token 'const' is not present in

2016-06-01 Thread Samuel Benzaquen via cfe-commits
Author: sbenza Date: Wed Jun 1 15:37:23 2016 New Revision: 271426 URL: http://llvm.org/viewvc/llvm-project?rev=271426&view=rev Log: Fix uninitialized memory access when the token 'const' is not present in the program. If the token is not there, we still warn but we don't try to give a fixit hint

r271427 - [driver][arm] add armv7 and thumb include and lib paths

2016-06-01 Thread Chih-Hung Hsieh via cfe-commits
Author: chh Date: Wed Jun 1 15:48:46 2016 New Revision: 271427 URL: http://llvm.org/viewvc/llvm-project?rev=271427&view=rev Log: [driver][arm] add armv7 and thumb include and lib paths Add a new test android-ndk-standalone.cpp with new Android NDK release tree structure. Detect armv7 sub archite

[libcxx] r271430 - Cleanup non-standard tests as reported by s...@microsoft.com. NFC.

2016-06-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jun 1 16:05:53 2016 New Revision: 271430 URL: http://llvm.org/viewvc/llvm-project?rev=271430&view=rev Log: Cleanup non-standard tests as reported by s...@microsoft.com. NFC. This patch addresses the following issues in the test suite: 1. Move "std::bad_array_length" tes

[PATCH] D20878: [Coverage] Do not push a new region after a CXXTryStmt

2016-06-01 Thread Vedant Kumar via cfe-commits
vsk created this revision. vsk added reviewers: bogner, MaggieYi, phillip.power. vsk added a subscriber: cfe-commits. There are three possible scenarios when entering a CXXTryStmt: 1. No exceptions thrown. 2. An exception is thrown but caught by one of the handlers. 3. An exception is throw

Re: [clang-tools-extra] r261991 - [clang-tidy] Fix a crash issue when clang-tidy runs with compilation database.

2016-06-01 Thread Edoardo P. via cfe-commits
Ping. Deadline to merge the changes to the 3.8 branch is today. Cheers, Edward-san 2016-05-24 20:25 GMT+02:00 Edoardo P. : > Ping, > > who's going to merge? I have no commit access. > > Cheers, > Edward-san > > > 2016-05-20 18:34 GMT+02:00 Tom Stellard : >> Hi, >> >> This looks fine to me, go ah

Re: [PATCH] D19201: [clang-tidy] misc-throw-with-noexcept

2016-06-01 Thread Stanisław Barzowski via cfe-commits
sbarzowski updated this revision to Diff 59277. sbarzowski added a comment. Thanks for review, guys. I fixed as many easy problems as I had time for today, will continue later. Repository: rL LLVM http://reviews.llvm.org/D19201 Files: clang-tidy/misc/CMakeLists.txt clang-tidy/misc/MiscT

r271431 - [Sema] Fix incorrect enum token namespace

2016-06-01 Thread Etienne Bergeron via cfe-commits
Author: etienneb Date: Wed Jun 1 16:17:32 2016 New Revision: 271431 URL: http://llvm.org/viewvc/llvm-project?rev=271431&view=rev Log: [Sema] Fix incorrect enum token namespace Summary: This patch fix the scoping of enum literal. They were not resolving to the right type. It was not causing any

Re: [PATCH] D19201: [clang-tidy] misc-throw-with-noexcept

2016-06-01 Thread Piotr Padlewski via cfe-commits
Prazek added inline comments. Comment at: clang-tidy/misc/ThrowWithNoexceptCheck.cpp:25 @@ +24,3 @@ + Finder->addMatcher( + cxxThrowExpr(stmt(hasAncestor(functionDecl(isNoThrow()).bind("func" + .bind("throw"), aaron.ballman wrote: > Prazek wrote

Re: [PATCH] D19201: [clang-tidy] misc-throw-with-noexcept

2016-06-01 Thread Stanisław Barzowski via cfe-commits
sbarzowski marked 11 inline comments as done. Comment at: clang-tidy/misc/ThrowWithNoexceptCheck.cpp:33 @@ +32,3 @@ +// token including trailing whitespace. +static SourceRange findToken(const SourceManager &Sources, LangOptions LangOpts, + SourceLocat

Re: [PATCH] D20859: [X86][SSE] Replace (V)CVTTPS2DQ and VCVTTPD2DQ truncating (round to zero) f32/f64 to i32 with generic IR (clang)

2016-06-01 Thread Simon Pilgrim via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL271436: [X86][SSE] Replace (V)CVTTPS2DQ and VCVTTPD2DQ truncating (round to zero)… (authored by RKSimon). Changed prior to commit: http://reviews.llvm.org/D20859?vs=59204&id=59284#toc Repository: rL

r271436 - [X86][SSE] Replace (V)CVTTPS2DQ and VCVTTPD2DQ truncating (round to zero) f32/f64 to i32 with generic IR (clang)

2016-06-01 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Wed Jun 1 16:46:51 2016 New Revision: 271436 URL: http://llvm.org/viewvc/llvm-project?rev=271436&view=rev Log: [X86][SSE] Replace (V)CVTTPS2DQ and VCVTTPD2DQ truncating (round to zero) f32/f64 to i32 with generic IR (clang) The 'cvtt' truncation (round to zero) conversions

Re: [PATCH] D20871: [Clang][AVX512][Intrinsics] Adding two definitions _mm512_setzero and _mm512_setzero_epi32

2016-06-01 Thread Simon Pilgrim via cfe-commits
RKSimon added a subscriber: RKSimon. RKSimon added a comment. Tests? http://reviews.llvm.org/D20871 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D20880: [Coverage] Push a region and propagate counts through try blocks

2016-06-01 Thread Vedant Kumar via cfe-commits
vsk created this revision. vsk added reviewers: ikudrin, bogner, MaggieYi, phillip.power. vsk added a subscriber: cfe-commits. This lets us handle expansions in the try block properly. Here's how the final report changes: ``` Before: | 16|// CHECK: Z3fn3v: 1| 17|void fn3() TRY

Re: [PATCH] D20358: [Clang][AVX512][Intrinsics]Convert AVX non-temporal store builtins to LLVM-native IR.

2016-06-01 Thread Simon Pilgrim via cfe-commits
RKSimon added a subscriber: RKSimon. RKSimon added a comment. Is there any reason why we can't just get rid of all the SSE movnt builtins and use __builtin_nontemporal_store instead (http://reviews.llvm.org/D12313)? http://reviews.llvm.org/D20358 _

Re: [PATCH] D20358: [Clang][AVX512][Intrinsics]Convert AVX non-temporal store builtins to LLVM-native IR.

2016-06-01 Thread Ahmed Bougacha via cfe-commits
ab added a subscriber: ab. ab added a comment. In http://reviews.llvm.org/D20358#446210, @RKSimon wrote: > Is there any reason why we can't just get rid of all the SSE movnt builtins > and use __builtin_nontemporal_store instead (http://reviews.llvm.org/D12313)? I wanted to suggest that too, b

Re: [PATCH] D20358: [Clang][AVX512][Intrinsics]Convert AVX non-temporal store builtins to LLVM-native IR.

2016-06-01 Thread Ahmed Bougacha via cfe-commits
ab added a comment. In http://reviews.llvm.org/D20358#446218, @ab wrote: > In http://reviews.llvm.org/D20358#446210, @RKSimon wrote: > > > Is there any reason why we can't just get rid of all the SSE movnt builtins > > and use __builtin_nontemporal_store instead > > (http://reviews.llvm.org/D12

[PATCH] D20881: [libunwind] Add LIBUNWIND_BUILD_32_BITS CMake option.

2016-06-01 Thread Eric Fiselier via cfe-commits
EricWF created this revision. EricWF added reviewers: rmaprath, compnerd, jroelofs. EricWF added a subscriber: cfe-commits. This option defaults to LLVM_BUILD_32_BITS but it allows it to be modified separate from the rest of LLVM. This is intended to help fix PR27959. (https://llvm.org/bugs/show

Re: [PATCH] D20358: [Clang][AVX512][Intrinsics]Convert AVX non-temporal store builtins to LLVM-native IR.

2016-06-01 Thread Simon Pilgrim via cfe-commits
RKSimon added a comment. In http://reviews.llvm.org/D20358#446220, @ab wrote: > In http://reviews.llvm.org/D20358#446218, @ab wrote: > > > In http://reviews.llvm.org/D20358#446210, @RKSimon wrote: > > > > > Is there any reason why we can't just get rid of all the SSE movnt > > > builtins and use

[PATCH] D20883: [cmake] Fix builds with LLVM_ENABLE_PIC=0

2016-06-01 Thread Pavel Labath via cfe-commits
labath created this revision. labath added a reviewer: beanz. labath added a subscriber: cfe-commits. When this flag is specified, the target llvm-lto is not built, but is still used as a dependency of the test targets. cmake 2.8 silently ignored this situation, but with cmake_minimum_required(3.4

Re: [PATCH] D20709: Support ARM subtarget feature +long64

2016-06-01 Thread Pirama Arumuga Nainar via cfe-commits
pirama added a reviewer: rsmith. pirama added a comment. Adding Richard to reviewers as the planned direction of this patch directly relates to the Frontend. http://reviews.llvm.org/D20709 ___ cfe-commits mailing list cfe-commits@lists.llvm.org htt

Re: [PATCH] D20709: Support ARM subtarget feature +long64

2016-06-01 Thread Pirama Arumuga Nainar via cfe-commits
pirama updated this revision to Diff 59294. pirama removed a reviewer: rsmith. pirama added a comment. Herald added subscribers: danalbert, tberghammer. Add a RenderScript langopt and updated to change long's size and alignment in TargetInfo::adjust(). http://reviews.llvm.org/D20709 Files: in

Re: [PATCH] D20844: FixIt: correctly set DeclSpec's range end for a type name annotation.

2016-06-01 Thread Manman Ren via cfe-commits
> On Jun 1, 2016, at 1:18 PM, Richard Smith via cfe-commits > wrote: > > On Wed, Jun 1, 2016 at 12:42 PM, Manman Ren via cfe-commits > mailto:cfe-commits@lists.llvm.org>> wrote: > manmanren added a comment. > > In http://reviews.llvm.org/D20844#445762 >

Re: [PATCH] D20709: Support ARM subtarget feature +long64

2016-06-01 Thread Richard Smith via cfe-commits
rsmith added a subscriber: rsmith. rsmith added a comment. The summary and content of this patch are very different. If you have an ABI variant that any language should be able to target, that should be controlled by the triple and related flags, not by a RenderScript language option. If you w

Re: [PATCH] D20844: FixIt: use getLocForEndOfToken to insert fix-it after a type name.

2016-06-01 Thread Manman Ren via cfe-commits
manmanren retitled this revision from "FixIt: correctly set DeclSpec's range end for a type name annotation." to "FixIt: use getLocForEndOfToken to insert fix-it after a type name.". manmanren updated the summary for this revision. manmanren updated this revision to Diff 59296. manmanren added a

r271438 - [driver][arm] change regular expression to work on Windows

2016-06-01 Thread Chih-Hung Hsieh via cfe-commits
Author: chh Date: Wed Jun 1 17:53:59 2016 New Revision: 271438 URL: http://llvm.org/viewvc/llvm-project?rev=271438&view=rev Log: [driver][arm] change regular expression to work on Windows Differential Revision: http://reviews.llvm.org/D20600 Modified: cfe/trunk/test/Driver/android-ndk-stand

[PATCH] D20886: [libcxxabi] Allow target flags to affect configuration tests.

2016-06-01 Thread Eric Fiselier via cfe-commits
EricWF created this revision. EricWF added reviewers: danalbert, jroelofs, bcraig, compnerd. EricWF added a subscriber: cfe-commits. This patch changes the libc++abi CMake so that it adds certain target flags like '-m32' or '--gcc-toolchain' before including `config-ix.cmake`. Since these flags

[PATCH] D20887: [libcxx] Allow target flags to affect CMake configuration tests

2016-06-01 Thread Eric Fiselier via cfe-commits
EricWF created this revision. EricWF added reviewers: danalbert, jroelofs, bcraig, compnerd. EricWF added a subscriber: cfe-commits. This patch changes the libc++ CMake so that it adds certain target flags like '-m32' or '--gcc-toolchain' before including config-ix.cmake. Since these flags can af

Re: [PATCH] D20844: FixIt: use getLocForEndOfToken to insert fix-it after a type name.

2016-06-01 Thread John McCall via cfe-commits
rjmccall added a comment. LGTM. http://reviews.llvm.org/D20844 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D20889: [libunwind] Allow target flags to affect CMake configuration tests

2016-06-01 Thread Eric Fiselier via cfe-commits
EricWF created this revision. EricWF added reviewers: jroelofs, danalbert, compnerd, bcraig, rmaprath. EricWF added a subscriber: cfe-commits. This patch changes the libunwind CMake so that it adds certain target flags like '-m32' or '--gcc-toolchain' before including config-ix.cmake. Since these

Re: [PATCH] D20889: [libunwind] Allow target flags to affect CMake configuration tests

2016-06-01 Thread Eric Fiselier via cfe-commits
EricWF updated this revision to Diff 59307. EricWF added a comment. Add missing declaration for "LIBUNWIND_TARGET_TRIPLE". http://reviews.llvm.org/D20889 Files: CMakeLists.txt src/CMakeLists.txt Index: src/CMakeLists.txt === -

Re: [PATCH] D20886: [libcxxabi] Allow target flags to affect configuration tests.

2016-06-01 Thread Eric Fiselier via cfe-commits
EricWF updated this revision to Diff 59308. EricWF added a comment. Add missing declaration for `LIBCXXABI_TARGET_TRIPLE` option. http://reviews.llvm.org/D20886 Files: CMakeLists.txt test/CMakeLists.txt test/lit.site.cfg.in Index: test/lit.site.cfg.in

Re: [PATCH] D20881: [libunwind] Add LIBUNWIND_BUILD_32_BITS CMake option.

2016-06-01 Thread Eric Fiselier via cfe-commits
EricWF abandoned this revision. EricWF added a comment. Abandoning in preference of http://reviews.llvm.org/D20889. http://reviews.llvm.org/D20881 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo

r271443 - Summary: Remove unused option

2016-06-01 Thread Vitaly Buka via cfe-commits
Author: vitalybuka Date: Wed Jun 1 19:00:38 2016 New Revision: 271443 URL: http://llvm.org/viewvc/llvm-project?rev=271443&view=rev Log: Summary: Remove unused option Reviewers: kcc, eugenis, aizatsky Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D20740 Modified:

r271448 - FixIt: use getLocForEndOfToken to insert fix-it after a type name.

2016-06-01 Thread Manman Ren via cfe-commits
Author: mren Date: Wed Jun 1 19:11:03 2016 New Revision: 271448 URL: http://llvm.org/viewvc/llvm-project?rev=271448&view=rev Log: FixIt: use getLocForEndOfToken to insert fix-it after a type name. Instead of setting DeclSpec's range end to point to the next token after the DeclSpec, we use getLo

Re: [PATCH] D20844: FixIt: use getLocForEndOfToken to insert fix-it after a type name.

2016-06-01 Thread Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL271448: FixIt: use getLocForEndOfToken to insert fix-it after a type name. (authored by mren). Changed prior to commit: http://reviews.llvm.org/D20844?vs=59296&id=59315#toc Repository: rL LLVM http:

[libcxx] r271449 - Implement P0033R1 - Re-enabling shared_from_this

2016-06-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jun 1 19:15:35 2016 New Revision: 271449 URL: http://llvm.org/viewvc/llvm-project?rev=271449&view=rev Log: Implement P0033R1 - Re-enabling shared_from_this Summary: See http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0033r1.html Reviewers: mclow.lists Subscri

Re: [PATCH] D19254: Implement P0033R1 - Re-enabling shared_from_this

2016-06-01 Thread Eric Fiselier via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL271449: Implement P0033R1 - Re-enabling shared_from_this (authored by EricWF). Changed prior to commit: http://reviews.llvm.org/D19254?vs=54150&id=59316#toc Repository: rL LLVM http://reviews.llvm.o

r271450 - clang/test/Driver/android-ndk-standalone.cpp: Tweak for dos r'\\'.

2016-06-01 Thread NAKAMURA Takumi via cfe-commits
Author: chapuni Date: Wed Jun 1 19:19:14 2016 New Revision: 271450 URL: http://llvm.org/viewvc/llvm-project?rev=271450&view=rev Log: clang/test/Driver/android-ndk-standalone.cpp: Tweak for dos r'\\'. Modified: cfe/trunk/test/Driver/android-ndk-standalone.cpp Modified: cfe/trunk/test/Driver/

r271451 - [asan] Added -fsanitize-address-use-after-scope flag

2016-06-01 Thread Vitaly Buka via cfe-commits
Author: vitalybuka Date: Wed Jun 1 19:24:20 2016 New Revision: 271451 URL: http://llvm.org/viewvc/llvm-project?rev=271451&view=rev Log: [asan] Added -fsanitize-address-use-after-scope flag Summary: Also emit lifetime markers for -fsanitize-address-use-after-scope. Asan uses life-time markers for

Re: [PATCH] D20887: [libcxx] Allow target flags to affect CMake configuration tests

2016-06-01 Thread Saleem Abdulrasool via cfe-commits
compnerd requested changes to this revision. This revision now requires changes to proceed. Comment at: CMakeLists.txt:259 @@ +258,3 @@ +add_target_flags_if(LIBCXX_TARGET_TRIPLE "-target ${LIBCXX_TARGET_TRIPLE}") +add_target_flags_if(LIBCXX_SYSROOT "--sysroot ${LIBCXX_SYSROOT}") +

Re: [PATCH] D20886: [libcxxabi] Allow target flags to affect configuration tests.

2016-06-01 Thread Saleem Abdulrasool via cfe-commits
compnerd added inline comments. Comment at: CMakeLists.txt:201 @@ +200,3 @@ + message(FATAL_ERROR "LIBCXXABI_BUILD_32_BITS=ON is not supported on this platform.") +endif() + Why not handle this like libunwind? Alternative, we could duplicate this into libunwin

Re: [PATCH] D20715: [docs] Document the source-based code coverage feature

2016-06-01 Thread Vedant Kumar via cfe-commits
> On Jun 1, 2016, at 11:30 AM, Justin Bogner wrote: > > Vedant Kumar writes: >> vsk created this revision. >> vsk added a reviewer: bogner. >> vsk added subscribers: kcc, cfe-commits, silvas. >> >> It would be helpful to have a user-friendly guide for code >> coverage. There is some overlap wi

r271454 - [docs] Document the source-based code coverage feature

2016-06-01 Thread Vedant Kumar via cfe-commits
Author: vedantk Date: Wed Jun 1 19:51:50 2016 New Revision: 271454 URL: http://llvm.org/viewvc/llvm-project?rev=271454&view=rev Log: [docs] Document the source-based code coverage feature Differential Revision: http://reviews.llvm.org/D20715 Added: cfe/trunk/docs/SourceBasedCodeCoverage.rst

Re: [PATCH] D20715: [docs] Document the source-based code coverage feature

2016-06-01 Thread Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL271454: [docs] Document the source-based code coverage feature (authored by vedantk). Changed prior to commit: http://reviews.llvm.org/D20715?vs=59078&id=59322#toc Repository: rL LLVM http://reviews

Re: [PATCH] D20799: Add C++17 std::not_fn negator.

2016-06-01 Thread Eric Fiselier via cfe-commits
EricWF updated this revision to Diff 59324. EricWF added a comment. - Make not_fn call operator conditionally noexcept. - Make 'std::invoke' conditionally noexcept as well. http://reviews.llvm.org/D20799 Files: include/functional test/std/utilities/function.objects/func.invoke/invoke.pass.c

Re: [PATCH] D20887: [libcxx] Allow target flags to affect CMake configuration tests

2016-06-01 Thread Eric Fiselier via cfe-commits
EricWF updated this revision to Diff 59325. EricWF added a comment. Address review comments. Add "=" sign in sysroot. http://reviews.llvm.org/D20887 Files: CMakeLists.txt cmake/Modules/HandleLibcxxFlags.cmake Index: cmake/Modules/HandleLibcxxFlags.cmake

r271457 - [docs] Add missing newline to console section

2016-06-01 Thread Vedant Kumar via cfe-commits
Author: vedantk Date: Wed Jun 1 20:01:48 2016 New Revision: 271457 URL: http://llvm.org/viewvc/llvm-project?rev=271457&view=rev Log: [docs] Add missing newline to console section Modified: cfe/trunk/docs/SourceBasedCodeCoverage.rst Modified: cfe/trunk/docs/SourceBasedCodeCoverage.rst URL:

[libunwind] r271458 - [libunwind] Allow target flags to affect CMake configuration tests

2016-06-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jun 1 20:02:10 2016 New Revision: 271458 URL: http://llvm.org/viewvc/llvm-project?rev=271458&view=rev Log: [libunwind] Allow target flags to affect CMake configuration tests Summary: This patch changes the libunwind CMake so that it adds certain target flags like '-m32'

[libcxx] r271459 - Remove enable_shared_from_this test since it leaks the control block and fails with ASAN

2016-06-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jun 1 20:09:12 2016 New Revision: 271459 URL: http://llvm.org/viewvc/llvm-project?rev=271459&view=rev Log: Remove enable_shared_from_this test since it leaks the control block and fails with ASAN Modified: libcxx/trunk/test/std/utilities/memory/util.smartptr/util.s

[libcxx] r271460 - [libcxx] Allow target flags to affect CMake configuration tests

2016-06-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jun 1 20:10:08 2016 New Revision: 271460 URL: http://llvm.org/viewvc/llvm-project?rev=271460&view=rev Log: [libcxx] Allow target flags to affect CMake configuration tests Summary: This patch changes the libc++ CMake so that it adds certain target flags like '-m32' or '-

Re: [PATCH] D20886: [libcxxabi] Allow target flags to affect configuration tests.

2016-06-01 Thread Eric Fiselier via cfe-commits
EricWF updated this revision to Diff 59327. EricWF marked an inline comment as done. EricWF added a comment. Address review comments - Add '=' in sysroot flag. http://reviews.llvm.org/D20886 Files: CMakeLists.txt test/CMakeLists.txt test/lit.site.cfg.in Index: test/lit.site.cfg.in =

r271461 - [docs] Use cpp code-blocks where appropriate

2016-06-01 Thread Vedant Kumar via cfe-commits
Author: vedantk Date: Wed Jun 1 20:15:59 2016 New Revision: 271461 URL: http://llvm.org/viewvc/llvm-project?rev=271461&view=rev Log: [docs] Use cpp code-blocks where appropriate Modified: cfe/trunk/docs/SourceBasedCodeCoverage.rst Modified: cfe/trunk/docs/SourceBasedCodeCoverage.rst URL: h

Re: [PATCH] D20886: [libcxxabi] Allow target flags to affect configuration tests.

2016-06-01 Thread Eric Fiselier via cfe-commits
EricWF added inline comments. Comment at: CMakeLists.txt:201 @@ +200,3 @@ + message(FATAL_ERROR "LIBCXXABI_BUILD_32_BITS=ON is not supported on this platform.") +endif() + compnerd wrote: > Why not handle this like libunwind? Alternative, we could duplicate thi

[libunwind] r271462 - Add status/warning message for 32 bit builds

2016-06-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jun 1 20:19:52 2016 New Revision: 271462 URL: http://llvm.org/viewvc/llvm-project?rev=271462&view=rev Log: Add status/warning message for 32 bit builds Modified: libunwind/trunk/CMakeLists.txt Modified: libunwind/trunk/CMakeLists.txt URL: http://llvm.org/viewvc/llv

Re: [PATCH] D20886: [libcxxabi] Allow target flags to affect configuration tests.

2016-06-01 Thread Eric Fiselier via cfe-commits
EricWF added inline comments. Comment at: CMakeLists.txt:201 @@ +200,3 @@ + message(FATAL_ERROR "LIBCXXABI_BUILD_32_BITS=ON is not supported on this platform.") +endif() + Done in r271462. http://reviews.llvm.org/D20886 _

Re: [clang-tools-extra] r261991 - [clang-tidy] Fix a crash issue when clang-tidy runs with compilation database.

2016-06-01 Thread Tom Stellard via cfe-commits
On Wed, Jun 01, 2016 at 11:19:44PM +0200, Edoardo P. wrote: > Ping. > > Deadline to merge the changes to the 3.8 branch is today. > I will make sure to merge this before -rc1. Thanks for reminding me. -Tom > Cheers, > Edward-san > > 2016-05-24 20:25 GMT+02:00 Edoardo P. : > > Ping, > > > > w

[libcxx] r271464 - Add C++17 std::not_fn negator.

2016-06-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jun 1 20:25:41 2016 New Revision: 271464 URL: http://llvm.org/viewvc/llvm-project?rev=271464&view=rev Log: Add C++17 std::not_fn negator. Summary: Exactly what it sounds like. I plan to commit this in a couple of days assuming no objections. Reviewers: mclow.lists, Eri

Re: [libcxx] r271459 - Remove enable_shared_from_this test since it leaks the control block and fails with ASAN

2016-06-01 Thread Arthur O'Dwyer via cfe-commits
I don't get it. If this code doesn't pass ASAN, or if it leaks anything, doesn't that indicate a bug in the library implementation of C++1z shared_ptr? I can't find where this code does anything sneaky that a sanitizer ought to care about... On Jun 1, 2016 6:15 PM, "Eric Fiselier via cfe-commits" <

[libunwind] r271466 - Attempt to fix libunwind build

2016-06-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jun 1 20:50:10 2016 New Revision: 271466 URL: http://llvm.org/viewvc/llvm-project?rev=271466&view=rev Log: Attempt to fix libunwind build Modified: libunwind/trunk/src/CMakeLists.txt Modified: libunwind/trunk/src/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-proj

Re: [libcxx] r271459 - Remove enable_shared_from_this test since it leaks the control block and fails with ASAN

2016-06-01 Thread Eric Fiselier via cfe-commits
No the leak was my fault. The sneaky line was "std::shared_ptr s(ptr, &nullDeleter);", which caused the allocation of a shared control block. Since the deleter is a NOP it gets leaked and ASAN reports it. I'm going to follow up with a better test that ASAN doesn't complain about. On Wed, Jun 1, 20

Re: [PATCH] D20389: NVPTX: Add supported CL features

2016-06-01 Thread Jan Vesely via cfe-commits
jvesely added inline comments. Comment at: test/Misc/nvptx.languageOptsOpenCL.cl:1 @@ +1,2 @@ +// REQUIRES: nvptx-registered-target +// RUN: %clang_cc1 -x cl -cl-std=CL %s -verify -triple nvptx-unknown-unknown Anastasia wrote: > Should we check for errors on unsup

Re: [PATCH] D20660: Remove `auto_ptr` in C++17.

2016-06-01 Thread Eric Fiselier via cfe-commits
EricWF added a comment. REQUIRES-ANY landed in r271468. http://reviews.llvm.org/D20660 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D19250: Update libcxx.llvm.org documentation by linking to new docs.

2016-06-01 Thread Marshall Clow via cfe-commits
mclow.lists accepted this revision. mclow.lists added a comment. This revision is now accepted and ready to land. LGTM. http://reviews.llvm.org/D19250 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/list

[libcxx] r271469 - Update libcxx.llvm.org documentation by linking to new docs.

2016-06-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jun 1 21:16:28 2016 New Revision: 271469 URL: http://llvm.org/viewvc/llvm-project?rev=271469&view=rev Log: Update libcxx.llvm.org documentation by linking to new docs. Summary: Currently much of the libcxx website is duplicated between the old www/ documentation and new

Re: [PATCH] D20886: [libcxxabi] Allow target flags to affect configuration tests.

2016-06-01 Thread Eric Fiselier via cfe-commits
EricWF accepted this revision. EricWF added a reviewer: EricWF. EricWF added a comment. This revision is now accepted and ready to land. Accepting after speaking to @compnerd. http://reviews.llvm.org/D20886 ___ cfe-commits mailing list cfe-commits@l

[libcxxabi] r271470 - [libcxxabi] Allow target flags to affect configuration tests.

2016-06-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jun 1 21:18:31 2016 New Revision: 271470 URL: http://llvm.org/viewvc/llvm-project?rev=271470&view=rev Log: [libcxxabi] Allow target flags to affect configuration tests. Summary: This patch changes the libc++abi CMake so that it adds certain target flags like '-m32' or

r271471 - [docs] Minor formatting changes and typo fixes

2016-06-01 Thread Vedant Kumar via cfe-commits
Author: vedantk Date: Wed Jun 1 21:25:13 2016 New Revision: 271471 URL: http://llvm.org/viewvc/llvm-project?rev=271471&view=rev Log: [docs] Minor formatting changes and typo fixes Modified: cfe/trunk/docs/SourceBasedCodeCoverage.rst Modified: cfe/trunk/docs/SourceBasedCodeCoverage.rst URL:

r271472 - [docs] Fix misplaced comma

2016-06-01 Thread Vedant Kumar via cfe-commits
Author: vedantk Date: Wed Jun 1 21:45:59 2016 New Revision: 271472 URL: http://llvm.org/viewvc/llvm-project?rev=271472&view=rev Log: [docs] Fix misplaced comma Modified: cfe/trunk/docs/SourceBasedCodeCoverage.rst Modified: cfe/trunk/docs/SourceBasedCodeCoverage.rst URL: http://llvm.org/vie

[libcxx] r271473 - Mark LWG issue 2450 as complete.

2016-06-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jun 1 22:12:44 2016 New Revision: 271473 URL: http://llvm.org/viewvc/llvm-project?rev=271473&view=rev Log: Mark LWG issue 2450 as complete. Added: libcxx/trunk/test/std/utilities/function.objects/comparisons/pointer_comparison_test_helper.hpp Modified: libcxx/t

[libcxx] r271475 - Mark LWG issue 2250 as complete

2016-06-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jun 1 23:03:31 2016 New Revision: 271475 URL: http://llvm.org/viewvc/llvm-project?rev=271475&view=rev Log: Mark LWG issue 2250 as complete Modified: libcxx/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/detach.pass.cpp libcxx/trun

[libcxx] r271476 - Mark LWG issue 2336 as complete. There is nothing to do.

2016-06-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jun 1 23:08:03 2016 New Revision: 271476 URL: http://llvm.org/viewvc/llvm-project?rev=271476&view=rev Log: Mark LWG issue 2336 as complete. There is nothing to do. Modified: libcxx/trunk/www/cxx1z_status.html Modified: libcxx/trunk/www/cxx1z_status.html URL: http:/

[libcxx] r271477 - Mark LWG issue 2218 as complete.

2016-06-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jun 1 23:13:41 2016 New Revision: 271477 URL: http://llvm.org/viewvc/llvm-project?rev=271477&view=rev Log: Mark LWG issue 2218 as complete. LWG issue 2218 relaxes a restriction on how containers can call Alloc::construct(...) and Alloc::destroy(...). There is nothing new

Re: [libcxx] r271459 - Remove enable_shared_from_this test since it leaks the control block and fails with ASAN

2016-06-01 Thread Arthur O'Dwyer via cfe-commits
On Wed, Jun 1, 2016 at 7:00 PM, Eric Fiselier wrote: > No the leak was my fault. The sneaky line was "std::shared_ptr s(ptr, > &nullDeleter);", which caused the allocation of a shared control block. > But surely the control block is allocated and deallocated by libc++ behind the scenes, foolproo

Re: [libcxx] r271459 - Remove enable_shared_from_this test since it leaks the control block and fails with ASAN

2016-06-01 Thread Eric Fiselier via cfe-commits
Oh goodness your right. There are a bunch of bugs in the shared_ptr constructors/destructors use both the specified deleters and allocators. Thanks for pointing out my stupidity! On Wed, Jun 1, 2016 at 10:25 PM, Arthur O'Dwyer wrote: > On Wed, Jun 1, 2016 at 7:00 PM, Eric Fiselier wrote: > >>

Re: [libcxx] r271459 - Remove enable_shared_from_this test since it leaks the control block and fails with ASAN

2016-06-01 Thread Eric Fiselier via cfe-commits
Nevermind my last comment. It's just a bug in my implementation. Thanks again for catching it. On Wed, Jun 1, 2016 at 10:40 PM, Eric Fiselier wrote: > Oh goodness your right. There are a bunch of bugs in the shared_ptr > constructors/destructors use both the specified deleters and allocators. >

Re: [libcxx] r271459 - Remove enable_shared_from_this test since it leaks the control block and fails with ASAN

2016-06-01 Thread Eric Fiselier via cfe-commits
Fixed in r271487. On Wed, Jun 1, 2016 at 10:56 PM, Eric Fiselier wrote: > Nevermind my last comment. It's just a bug in my implementation. Thanks > again for catching it. > > On Wed, Jun 1, 2016 at 10:40 PM, Eric Fiselier wrote: > >> Oh goodness your right. There are a bunch of bugs in the shar

[libcxx] r271487 - Fix leak in __enable_weak_this(). Thanks to Arthur O'Dwyer for finding it.

2016-06-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jun 1 23:57:00 2016 New Revision: 271487 URL: http://llvm.org/viewvc/llvm-project?rev=271487&view=rev Log: Fix leak in __enable_weak_this(). Thanks to Arthur O'Dwyer for finding it. Modified: libcxx/trunk/include/memory libcxx/trunk/test/std/utilities/memory/uti

Re: [PATCH] D20709: For RenderScript, set alignment and width of long to 64-bits

2016-06-01 Thread Stephen Hines via cfe-commits
srhines added a comment. After talking to Richard this afternoon on IRC, we are going with a slightly different plan here. We will create two new triples (renderscript32-*-* and renderscript64-*-*), which are direct subclasses of the general Android ARM32 and ARM64 targets. In this case, we can

[libcxx] r271489 - Mark LWG issue 2545 as complete. Add extra tests

2016-06-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Jun 2 00:44:14 2016 New Revision: 271489 URL: http://llvm.org/viewvc/llvm-project?rev=271489&view=rev Log: Mark LWG issue 2545 as complete. Add extra tests Added: libcxx/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/bind_return_type.pass.cp

<    1   2