smeenai accepted this revision.
smeenai added a comment.
This revision is now accepted and ready to land.
LGTM apart from minor comments.
https://reviews.llvm.org/D28725
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
smeenai added inline comments.
Comment at: CMakeLists.txt:394
# non-debug DLLs
remove_flags("/D_DEBUG" "/MTd" "/MDd" "/MT" "/Md" "/RTC1")
EricWF wrote:
> smeenai wrote:
> > EricWF wrote:
> > > smeenai wrote:
> > > > We should be able to remove this now,
EricWF updated this revision to Diff 84438.
EricWF added a comment.
I think this patch is ready to go. @smeenai any last words?
https://reviews.llvm.org/D28725
Files:
CMakeLists.txt
lib/CMakeLists.txt
test/CMakeLists.txt
test/libcxx/test/config.py
test/lit.site.cfg.in
EricWF added inline comments.
Comment at: CMakeLists.txt:394
# non-debug DLLs
remove_flags("/D_DEBUG" "/MTd" "/MDd" "/MT" "/Md" "/RTC1")
smeenai wrote:
> EricWF wrote:
> > smeenai wrote:
> > > We should be able to remove this now, right?
> > I would still
EricWF updated this revision to Diff 84437.
EricWF added a comment.
- Address inline comments.
- Stop MSVC's default assertion handler from opening a new dialog window on
failure.
https://reviews.llvm.org/D28725
Files:
CMakeLists.txt
lib/CMakeLists.txt
test/CMakeLists.txt
smeenai added inline comments.
Comment at: CMakeLists.txt:394
# non-debug DLLs
remove_flags("/D_DEBUG" "/MTd" "/MDd" "/MT" "/Md" "/RTC1")
EricWF wrote:
> smeenai wrote:
> > We should be able to remove this now, right?
> I would still rather strip it and
EricWF added a comment.
In https://reviews.llvm.org/D28725#646325, @smeenai wrote:
> Awesome. LGTM except that force-removing the `_DEBUG` define and then linking
> against the debug libraries might cause some wonkiness.
Ack. I'll update the patch to still force remove `_DEBUG` but then later
malcolm.parsons added a comment.
In https://reviews.llvm.org/D28672#646151, @aaron.ballman wrote:
> I'm not seeing anything wrong, per se, but why has so much of this file
> changed recently?
The script looks for doxygen docs on clang.llvm.org. Are they missing?
ahatanak updated this revision to Diff 84434.
ahatanak added a comment.
Remove lifetime markers completely for variables that are declared after a
label was seen in a compound statement
I tested this patch building llvm's test-suite and SPEC benchmarks with -Os.
Surprisingly (maybe not so
smeenai added a comment.
Awesome. LGTM except that force-removing the `_DEBUG` define and then linking
against the debug libraries might cause some wonkiness.
Comment at: CMakeLists.txt:394
# non-debug DLLs
remove_flags("/D_DEBUG" "/MTd" "/MDd" "/MT" "/Md" "/RTC1")
EricWF created this revision.
EricWF added reviewers: smeenai, rnk, majnemer, compnerd.
EricWF added a subscriber: cfe-commits.
Herald added a subscriber: mgorny.
This patch allows libc++ to be built against the debug MSVC runtimes instead of
just the release ones.
EricWF updated this revision to Diff 84433.
https://reviews.llvm.org/D28725
Files:
CMakeLists.txt
lib/CMakeLists.txt
test/CMakeLists.txt
test/libcxx/test/config.py
test/lit.site.cfg.in
Index: test/lit.site.cfg.in
===
---
EricWF added a comment.
In https://reviews.llvm.org/D28716#646274, @grandinj wrote:
> would it be better to internally treat __attribute__((non_null)) like
> diagnose_if ? then you get all the warnings for free?
There were previous objections about using `non_null` within libc++ due to the
Author: ericwf
Date: Sat Jan 14 00:06:47 2017
New Revision: 292001
URL: http://llvm.org/viewvc/llvm-project?rev=292001=rev
Log:
[libc++] [CMake] Link with /nodefaultlibs on Windows
Summary:
This patch attempts to fix the libc++ build/link so that it doesn't use an
default C++ libraries on
This revision was automatically updated to reflect the committed changes.
Closed by commit rL292001: [libc++] [CMake] Link with /nodefaultlibs on Windows
(authored by EricWF).
Changed prior to commit:
https://reviews.llvm.org/D28441?vs=84428=84430#toc
Repository:
rL LLVM
EricWF updated this revision to Diff 84428.
EricWF added a comment.
- Address inline comments.
https://reviews.llvm.org/D28441
Files:
CMakeLists.txt
cmake/Modules/HandleLibcxxFlags.cmake
lib/CMakeLists.txt
test/libcxx/test/config.py
Index: test/libcxx/test/config.py
EricWF marked an inline comment as done.
EricWF added inline comments.
Comment at: lib/CMakeLists.txt:113
+ add_library_flags(msvcrt) # C runtime startup files
+ # Required for wide character formatting functions (e.g. `printfw`/`scanfw`)
+
smeenai added inline comments.
Comment at: lib/CMakeLists.txt:112
+ add_library_flags(vcruntime) # C++ runtime
+ add_library_flags(msvcrt) # C runtime startup files
+ add_library_flags(iso_stdio_wide_specifiers)
EricWF wrote:
> smeenai wrote:
> > EricWF
Author: marshall
Date: Fri Jan 13 23:55:17 2017
New Revision: 292000
URL: http://llvm.org/viewvc/llvm-project?rev=292000=rev
Log:
Mark 'constexpr char_traits' as complete.
Modified:
libcxx/trunk/www/cxx1z_status.html
Modified: libcxx/trunk/www/cxx1z_status.html
URL:
grandinj added a comment.
would it be better to internally treat __attribute__((non_null)) like
diagnose_if ? then you get all the warnings for free?
https://reviews.llvm.org/D28716
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
smeenai accepted this revision.
smeenai added a comment.
This revision is now accepted and ready to land.
There's a bunch of follow-up work here, but I'm fine with this for now.
https://reviews.llvm.org/D28441
___
cfe-commits mailing list
smeenai added a comment.
In https://reviews.llvm.org/D28441#646145, @EricWF wrote:
> In https://reviews.llvm.org/D28441#639023, @smeenai wrote:
>
> > I think the right thing to do would be to either always compile two
> > versions of libc++, one linked against the debug libraries and the other
Author: ericwf
Date: Fri Jan 13 23:43:02 2017
New Revision: 291998
URL: http://llvm.org/viewvc/llvm-project?rev=291998=rev
Log:
Tweak .clang-format configuration.
Remove the custom configuration options for brace wrapping. They
don't work well for inline functions or type-traits classes.
Author: gbiv
Date: Fri Jan 13 23:19:34 2017
New Revision: 291997
URL: http://llvm.org/viewvc/llvm-project?rev=291997=rev
Log:
Fix a typo. NFC.
Modified:
cfe/trunk/lib/Sema/SemaOverload.cpp
Modified: cfe/trunk/lib/Sema/SemaOverload.cpp
URL:
Author: ericwf
Date: Fri Jan 13 22:27:58 2017
New Revision: 291995
URL: http://llvm.org/viewvc/llvm-project?rev=291995=rev
Log:
Use __is_identifier to detect Clang extensions instead of __has_extension.
When -pedantic-errors is specified `__has_extension()` is always
false when it would
This patch causes `execute_process` to dump the standard error if the
command fails. This causes
the llvm-config help message to be printed as part of CMake configuration,
which is ugly and incorrect.
I've already fixed this for libc++, libc++abi, and libunwind trunk, but the
issue still exists
Author: ericwf
Date: Fri Jan 13 21:47:49 2017
New Revision: 291993
URL: http://llvm.org/viewvc/llvm-project?rev=291993=rev
Log:
Don't dump llvm-config --cmakedir output if command fails.
This patch adjusts the out-of-tree CMake configuration so that
the stderr output is ignored when an old
Author: ericwf
Date: Fri Jan 13 21:46:05 2017
New Revision: 291992
URL: http://llvm.org/viewvc/llvm-project?rev=291992=rev
Log:
Don't dump llvm-config --cmakedir output if command fails.
This patch adjusts the out-of-tree CMake configuration so that
the stderr output is ignored when an old
EricWF accepted this revision.
EricWF added a comment.
This revision is now accepted and ready to land.
LGTM.
Although `is_assignable` can often get accidentally instantiated with an
incomplete type by way of `std::tuple` or similar, which is the
rational for this test case.
ahatanak added a comment.
In https://reviews.llvm.org/D28705#646088, @rnk wrote:
> What happens with virtual bases?
>
> struct B { int x; };
> struct D : virtual B { int y; };
> void test() { D d = {1, .y = 2}; }
A class with virtual base is not considered an aggregate, so it doesn't go
EricWF added a comment.
@cpplearner Do you need somebody to commit this for you?
https://reviews.llvm.org/D27850
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
EricWF added a comment.
In https://reviews.llvm.org/D28520#646160, @aaron.ballman wrote:
> I feel like I must be missing something; why is this disabling rather than
> specifying the thread safety behavior? e.g., `__libcpp_mutex_lock()`
> specifying that it acquires the capability and
EricWF accepted this revision.
EricWF added a comment.
This revision is now accepted and ready to land.
LGTM. Do you need somebody to commit this for you?
Let me know once you've committed it and I'll merge it into the 4.0 branch.
https://reviews.llvm.org/D22452
ahatanak updated this revision to Diff 84418.
ahatanak marked 2 inline comments as done.
ahatanak added a comment.
Address review comments.
https://reviews.llvm.org/D28705
Files:
lib/Sema/SemaInit.cpp
test/SemaCXX/designated-initializers-base-class.cpp
Index:
aaron.ballman added a comment.
I feel like I must be missing something; why is this disabling rather than
specifying the thread safety behavior? e.g., `__libcpp_mutex_lock()` specifying
that it acquires the capability and `__libcpp_mutex_unlock()` specifying that
it releases it?
aaron.ballman added a comment.
I'm not seeing anything wrong, per se, but why has so much of this file changed
recently?
https://reviews.llvm.org/D28672
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
EricWF updated this revision to Diff 84414.
EricWF added a comment.
Attempt to address review comments
- Rename `LIBCXX_TARGETING_WINDOWS` to `LIBCXX_TARGETING_MSVC`. It is set to on
when CMake defines `MSVC` to `ON`. This macro is intented to represent cases
where we are targeting native
EricWF added a comment.
In https://reviews.llvm.org/D28441#639023, @smeenai wrote:
> One potential issue with always forcing the non-debug msvcrt is that any apps
> that link against libc++ would also then need to use the non-debug CRT
> libraries, otherwise you'd get all sorts of fun runtime
Author: rsmith
Date: Fri Jan 13 20:19:59 2017
New Revision: 291988
URL: http://llvm.org/viewvc/llvm-project?rev=291988=rev
Log:
Give more accurate descriptions of what kind of template we found in
diagnostics.
We were previouly assuming that every type template was a class template, which
is
Ah. lld-link actually only accepts link-style options, so it wouldn't solve
that particular problem. Happily, it seems like we aren't relying on ld-style
options to begin with.
From: Eric Fiselier
Date: Friday, January 13, 2017 at 5:52 PM
To: Shoaib Meenai
Cc:
Author: ericwf
Date: Fri Jan 13 19:33:53 2017
New Revision: 291986
URL: http://llvm.org/viewvc/llvm-project?rev=291986=rev
Log:
Remove unused parameters in C++03
Modified:
libcxx/trunk/include/memory
Modified: libcxx/trunk/include/memory
URL:
EricWF created this revision.
EricWF added a reviewer: mclow.lists.
EricWF added a subscriber: cfe-commits.
This patch uses `diagnose_if` to attempt to catch null inputs in `std::string`.
Note that unlike `__attribute__((non_null))` `diagnose_if` does not affect
codegen.
rnk added a comment.
What happens with virtual bases?
struct B { int x; };
struct D : virtual B { int y; };
void test() { D d = {1, .y = 2}; }
Comment at: lib/Sema/SemaInit.cpp:2250
+if (auto *CXXRD = dyn_cast(RT->getDecl()))
+ FieldIndex +=
STL_MSFT abandoned this revision.
STL_MSFT added a comment.
Actually, this pattern annoys "warning C6326: Potential comparison of a
constant with another constant." from /analyze. I'll figure out a better fix,
probably with integral_constant.
https://reviews.llvm.org/D28592
Hello everyone,
LLVM buildmaster is back to work.
Please let me know if there are any issues.
Thanks you for understanding.
Thanks
Galina
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
manmanren marked an inline comment as done.
manmanren added inline comments.
Comment at: include/clang/Serialization/Module.h:19
#include "clang/Basic/FileManager.h"
+#include "clang/Basic/Module.h"
#include "clang/Basic/SourceLocation.h"
rsmith wrote:
>
Merged in r291978.
(Please keep the list cc'd on merge requests.)
Thanks,
Hans
On Fri, Jan 13, 2017 at 2:28 PM, Richard Smith wrote:
> Seems sensible to put this in clang 4.
>
> -- Forwarded message --
> From: Richard Smith via cfe-commits
Author: ericwf
Date: Fri Jan 13 17:45:39 2017
New Revision: 291976
URL: http://llvm.org/viewvc/llvm-project?rev=291976=rev
Log:
Diagnose invalid memory orderings in
Added:
libcxx/trunk/test/libcxx/atomics/diagnose_invalid_memory_order.fail.cpp
Modified:
libcxx/trunk/include/__config
ahatanak accepted this revision.
ahatanak added a reviewer: ahatanak.
ahatanak added a comment.
This revision is now accepted and ready to land.
This looks OK to commit.
https://reviews.llvm.org/D28457
___
cfe-commits mailing list
jgravelle-google abandoned this revision.
jgravelle-google added a comment.
Abandoning this in favor of https://github.com/kripken/emscripten/pull/4846
https://reviews.llvm.org/D28381
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
I would love to see this merged. It would make it easier to write libc++
tests if the tests didn't have to worry about the old 4.0 behavior.
CC'ing Richard: Would merging this be OK?
On Fri, Jan 13, 2017 at 3:46 PM, George Burgess IV <
george.burgess...@gmail.com> wrote:
> Do we want to
ahatanak created this revision.
ahatanak added reviewers: rsmith, rnk, arphaman.
ahatanak added a subscriber: cfe-commits.
CheckDesignatedInitializer wasn't taking into account the base classes when
computing the index for the field in the derived class, which caused the test
case to crash
Author: rsmith
Date: Fri Jan 13 16:16:41 2017
New Revision: 291964
URL: http://llvm.org/viewvc/llvm-project?rev=291964=rev
Log:
PR31631: fix bad CFG (and bogus warnings) when an if-statement has an
init-statement and has binary operator as its condition.
Modified:
rtrieu marked an inline comment as done.
rtrieu added a comment.
From testing, there is no difference when compiling with pre-compiled headers.
However, when building the headers, there is a 3-4% impact on compile time.
https://reviews.llvm.org/D21675
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM!
https://reviews.llvm.org/D28703
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
Author: ericwf
Date: Fri Jan 13 16:02:08 2017
New Revision: 291961
URL: http://llvm.org/viewvc/llvm-project?rev=291961=rev
Log:
Add _LIBCPP_DIAGNOSE_WARNING and _LIBCPP_DIAGNOSE_ERROR macros.
Clang recently added a `diagnose_if(cond, msg, type)` attribute
which can be used to generate
EricWF created this revision.
EricWF added reviewers: george.burgess.iv, rsmith, aaron.ballman.
EricWF added a subscriber: cfe-commits.
In order for libc++ to meaningfully use `diagnose_if` warnings they need to be
emitted from system headers by default. This patch changes the `diagnose_if`
yaxunl retitled this revision from "Support synchronisation scope in atomic
builtin functions" to "Support synchronisation scope in Clang atomic builtin
functions".
yaxunl updated the summary for this revision.
yaxunl updated this revision to Diff 84373.
yaxunl added a comment.
Fix typos and
Should we slow down, or block commits for the time being?
It could be a total chaos when they get back...
On 13 January 2017 at 19:16, Galina Kistanova via cfe-commits
wrote:
> Just a remainder.
>
> LLVM buildmaster will be offline today hopefully for short time due
Author: rsmith
Date: Fri Jan 13 14:46:54 2017
New Revision: 291955
URL: http://llvm.org/viewvc/llvm-project?rev=291955=rev
Log:
PR31606: Generalize our tentative DR resolution for inheriting copy/move
constructors to better match the pre-P0136R1 behavior.
Modified:
thakis accepted this revision.
thakis added a comment.
This revision is now accepted and ready to land.
Looks great to me, thanks! Unless someone else shouts, I'll land this for you
soon.
https://reviews.llvm.org/D28543
___
cfe-commits mailing
yaxunl created this revision.
yaxunl added reviewers: Anastasia, bader, rjmccall.
yaxunl added a subscriber: cfe-commits.
OpenCL 2.0 atomic builtin functions have a scope argument which is ideally
represented as synchronization scope argument in LLVM atomic instructions.
Clang supports
rsmith accepted this revision.
rsmith added a comment.
This revision is now accepted and ready to land.
Thanks, looks good assuming your performance testing doesn't uncover anything.
Comment at: lib/AST/ODRHash.cpp:319-321
+if (!D) return;
+if (D->isImplicit())
+
Author: dblaikie
Date: Fri Jan 13 13:47:55 2017
New Revision: 291953
URL: http://llvm.org/viewvc/llvm-project?rev=291953=rev
Log:
Fix shared library build after r291938 by adding missing dependency on libOption
Thanks to Reid Kleckner for the help reproducing/fixing.
Modified:
rsmith added inline comments.
Comment at: include/clang/AST/ExprCXX.h:4237
+ /// compiler.
+ bool IsImplicitlyCreated : 1;
+
I would go with just `isImplicit`, to match other similar uses throughout the
AST. Also maybe sink this into the `Stmt` bitfields to
yaxunl added a comment.
In https://reviews.llvm.org/D28058#645399, @dmitry wrote:
> @yaxunl, we already have the similar issue for atomics. Probably we can
> extend typedef semantic checks but I don't think it's a good idea since C and
> C++ have the similar problem but they don't provide
rnk added inline comments.
Comment at: lib/Driver/MSVCToolChain.cpp:34
+ #if 0
+#define USE_VS_SETUP_CONFIG
+ #endif
What are the outstanding issues preventing you from enabling this by default?
Comment at:
Merged in r291952.
Thanks,
Hans
On Thu, Jan 12, 2017 at 5:52 PM, Eric Christopher via cfe-commits
wrote:
> Author: echristo
> Date: Thu Jan 12 19:52:04 2017
> New Revision: 291879
>
> URL: http://llvm.org/viewvc/llvm-project?rev=291879=rev
> Log:
> Add a necessary
Merged in r291951.
Thanks,
Hans
On Fri, Jan 13, 2017 at 11:46 AM, Chandler Carruth wrote:
> Also need to pull in r291881. Sorry about that.
>
>
> On Thu, Jan 12, 2017 at 3:42 PM Hans Wennborg wrote:
>>
>> On Thu, Jan 12, 2017 at 3:01 PM, Chandler Carruth
Also need to pull in r291881. Sorry about that.
On Thu, Jan 12, 2017 at 3:42 PM Hans Wennborg wrote:
> On Thu, Jan 12, 2017 at 3:01 PM, Chandler Carruth
> wrote:
> >> This isn't quite right, it should either be left as-is or dropped
> >> completely. This
On Fri, Jan 13, 2017 at 8:06 AM, Jonathan Coe via cfe-commits
wrote:
> Author: jbcoe
> Date: Fri Jan 13 10:06:59 2017
> New Revision: 291907
>
> URL: http://llvm.org/viewvc/llvm-project?rev=291907=rev
> Log:
> Revert "Support for Python 3 in libclang python bindings"
>
rtrieu marked 5 inline comments as done.
rtrieu added a comment.
Comments have been addressed. I will be testing it for performance impact next.
Comment at: include/clang/AST/ODRHash.h:54
+ // in Pointers.
+ size_type NextFreeIndex;
+
rsmith wrote:
> Is
Author: jyknight
Date: Fri Jan 13 13:22:26 2017
New Revision: 291946
URL: http://llvm.org/viewvc/llvm-project?rev=291946=rev
Log:
[libc++abi] Add a silent terminate handler to libcxxabi.
The current std::terminate_handler pulls in some string code, some I/O
code, and more. Since it is
Merged in r291943.
Thanks,
Hans
On Thu, Jan 12, 2017 at 5:58 PM, Shoaib Meenai wrote:
> Requesting a merge to the 4.0 branch. This is a pretty small change, and it
> fixes an assertion failure on Windows (see PR31608 for details).
>
> On 1/12/17, 5:28 PM, "cfe-commits on behalf
EricWF added a comment.
@rsmith Ping. Would you like me to split this up into smaller change sets?
https://reviews.llvm.org/D26057
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: malcolm.parsons
Date: Fri Jan 13 13:02:50 2017
New Revision: 291941
URL: http://llvm.org/viewvc/llvm-project?rev=291941=rev
Log:
Remove unused lambda captures. NFC
Modified:
clang-tools-extra/trunk/unittests/clang-move/ClangMoveTests.cpp
Modified:
Author: malcolm.parsons
Date: Fri Jan 13 12:56:04 2017
New Revision: 291940
URL: http://llvm.org/viewvc/llvm-project?rev=291940=rev
Log:
Remove unused lambda captures. NFC
Modified:
clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp
Modified: clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp
Author: dblaikie
Date: Fri Jan 13 12:53:43 2017
New Revision: 291938
URL: http://llvm.org/viewvc/llvm-project?rev=291938=rev
Log:
unique_ptrify Driver::ToolChains
Modified:
cfe/trunk/include/clang/Driver/Driver.h
cfe/trunk/lib/Driver/Driver.cpp
Modified:
Author: ericwf
Date: Fri Jan 13 12:42:41 2017
New Revision: 291935
URL: http://llvm.org/viewvc/llvm-project?rev=291935=rev
Log:
Fix merge error caused by r291922
Modified:
libcxx/branches/release_40/include/ios
Modified: libcxx/branches/release_40/include/ios
URL:
Author: ericwf
Date: Fri Jan 13 12:25:13 2017
New Revision: 291925
URL: http://llvm.org/viewvc/llvm-project?rev=291925=rev
Log:
Fix merge conflict caused by r291921
Modified:
libcxx/trunk/include/ios
Modified: libcxx/trunk/include/ios
URL:
Author: ericwf
Date: Fri Jan 13 12:08:23 2017
New Revision: 291922
URL: http://llvm.org/viewvc/llvm-project?rev=291922=rev
Log:
Revert "Rework fix for PR19460 - Use explicit bool as an extension instead."
Modified:
libcxx/branches/release_40/include/__config
Author: ericwf
Date: Fri Jan 13 12:03:46 2017
New Revision: 291921
URL: http://llvm.org/viewvc/llvm-project?rev=291921=rev
Log:
Revert "Rework fix for PR19460 - Use explicit bool as an extension instead."
This reverts commit 3a1b90a866b6d5d62a5f37fbfb3a1ee36cc70dd1.
Modified:
Author: dblaikie
Date: Fri Jan 13 11:34:15 2017
New Revision: 291919
URL: http://llvm.org/viewvc/llvm-project?rev=291919=rev
Log:
unique_ptrify createDriverOptTable
Modified:
cfe/trunk/include/clang/Driver/Driver.h
cfe/trunk/include/clang/Driver/Options.h
erichkeane added a comment.
I've actually figured out how to fix the diagnosis location. I switched the
diagnosis to use the location of the actual [[deprecated]] attribute instead of
the Declaration location. IMO, this is a BETTER note anyway (since the arrow
points to the actual
pmatos added a comment.
Ah no, my mistake. I had the patch applied when I ran the test.
https://reviews.llvm.org/D27800
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
MathieuDuponchelle added a comment.
In https://reviews.llvm.org/D26082#645361, @jbcoe wrote:
> I've reverted this change and submitted https://reviews.llvm.org/D28682 to
> explicitly check the Python version.
>
> I'll pick this up again, I do want Python 3 support.
I'm not entirely sure why
dmitry added a comment.
@yaxunl, we already have the similar issue for atomics. Probably we can extend
typedef semantic checks but I don't think it's a good idea since C and C++ have
the similar problem but they don't provide special treatment for types from
their standard libraries. I think
On Thu, Jan 12, 2017 at 4:57 PM, Richard Smith via cfe-commits
wrote:
> Author: rsmith
> Date: Thu Jan 12 18:57:54 2017
> New Revision: 291871
>
> URL: http://llvm.org/viewvc/llvm-project?rev=291871=rev
> Log:
> Update C++ status pages for Clang 4 branch:
>
> * Update
Merged in r291912.
Thanks,
Hans
On Thu, Jan 12, 2017 at 5:50 PM, Richard Smith wrote:
> This should go onto the 4.0 branch.
>
> -- Forwarded message --
> From: Richard Smith via cfe-commits
> Date: 12 January 2017 at 16:43
>
malcolm.parsons added a comment.
There are quite a few of them!
Repository:
rL LLVM
https://reviews.llvm.org/D28467
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
aaron.ballman added a comment.
In https://reviews.llvm.org/D28467#645348, @malcolm.parsons wrote:
> http://lab.llvm.org:8011/builders/sanitizer-ppc64be-linux/builds/1122/steps/bootstrap%20clang/logs/stdio
>
>
>
jbcoe added a comment.
I've reverted this change and submitted https://reviews.llvm.org/D28682 to
explicitly check the Python version.
I'll pick this up again, I do want Python 3 support.
Repository:
rL LLVM
https://reviews.llvm.org/D26082
___
arphaman added a comment.
IMO, you can go ahead and commit a fix that removes the captures, and the fix
can be reviewed post-commit. I don't think you should revert this patch as
you'll have to remove the captures anyway before reinstating this patch, so
might as well do it now.
Repository:
malcolm.parsons added a comment.
http://lab.llvm.org:8011/builders/sanitizer-ppc64be-linux/builds/1122/steps/bootstrap%20clang/logs/stdio
/home/buildbots/ppc64be-sanitizer/sanitizer-ppc64be/build/llvm/lib/Analysis/ValueTracking.cpp:1116:17:
error: lambda capture 'BitWidth' is not used
pmatos added a comment.
Has this been fixed upstream already?
https://reviews.llvm.org/D27800
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: jbcoe
Date: Fri Jan 13 10:06:59 2017
New Revision: 291907
URL: http://llvm.org/viewvc/llvm-project?rev=291907=rev
Log:
Revert "Support for Python 3 in libclang python bindings"
This reverts commit 4464581bb63e9789e9ee231a8c8800be5f614743.
Memory access issues on Linux were reported by
On 13 Jan 2017 4:40 am, "Dimitry Andric via cfe-commits" <
cfe-commits@lists.llvm.org> wrote:
On 22 Oct 2016, at 00:00, Richard Smith via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
>
> Author: rsmith
> Date: Fri Oct 21 17:00:42 2016
> New Revision: 284890
>
> URL:
This revision was automatically updated to reflect the committed changes.
Closed by commit rL291905: [Sema] Add warning for unused lambda captures
(authored by malcolm.parsons).
Changed prior to commit:
https://reviews.llvm.org/D28467?vs=84122=84305#toc
Repository:
rL LLVM
Author: malcolm.parsons
Date: Fri Jan 13 09:01:06 2017
New Revision: 291905
URL: http://llvm.org/viewvc/llvm-project?rev=291905=rev
Log:
[Sema] Add warning for unused lambda captures
Summary:
Warn when a lambda explicitly captures something that is not used in its body.
The warning is part of
aaron.ballman added inline comments.
Comment at: test/SemaCXX/warn-unused-lambda-capture.cpp:86
+ auto explicit_by_value_unused_sizeof = [i] { return sizeof(i); }; //
expected-warning{{lambda capture 'i' is not required to be captured for use in
an unevaluated context}}
+
1 - 100 of 115 matches
Mail list logo