r288570 - Sema: delay the DLL exported member referencing

2016-12-02 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Fri Dec 2 19:57:47 2016 New Revision: 288570 URL: http://llvm.org/viewvc/llvm-project?rev=288570&view=rev Log: Sema: delay the DLL exported member referencing An explicit template specialization can cause the implicit template specialization of a type which inherits the at

Re: [libcxx] r288544 - Work around a bug in Clang's implementation of noexcept function types

2016-12-02 Thread Eric Fiselier via cfe-commits
Ack. Will do in future. Thanks Hal On Fri, Dec 2, 2016 at 3:54 PM, Hal Finkel wrote: > - Original Message - > > From: "Eric Fiselier via cfe-commits" > > To: cfe-commits@lists.llvm.org > > Sent: Friday, December 2, 2016 4:30:53 PM > > Subject: [libcxx] r288544 - Work around a bug in Cl

[PATCH] D26691: [analyzer] Run clang-format and fix style

2016-12-02 Thread Anna Zaks via Phabricator via cfe-commits
zaks.anna added inline comments. Comment at: lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:459 // Notice that the lower bound is greater than the upper bound. - RangeSet New = GetRange(St, Sym).Intersect(getBasicVals(), F, Upper, Lower); + RangeSet New = getRange(St, Sy

[libcxx] r288573 - Work around more -Wshadow warnings

2016-12-02 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Dec 2 20:26:28 2016 New Revision: 288573 URL: http://llvm.org/viewvc/llvm-project?rev=288573&view=rev Log: Work around more -Wshadow warnings Modified: libcxx/trunk/test/libcxx/containers/sequences/vector/asan_throw.pass.cpp libcxx/trunk/test/std/algorithms/alg.

[libcxx] r288574 - Mark various items as complete

2016-12-02 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Dec 2 20:47:40 2016 New Revision: 288574 URL: http://llvm.org/viewvc/llvm-project?rev=288574&view=rev Log: Mark various items as complete Modified: libcxx/trunk/www/cxx1z_status.html Modified: libcxx/trunk/www/cxx1z_status.html URL: http://llvm.org/viewvc/llvm-pro

[libcxx] r288575 - Make make_exception_ptr abort with -fno-exceptions

2016-12-02 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Dec 2 21:22:11 2016 New Revision: 288575 URL: http://llvm.org/viewvc/llvm-project?rev=288575&view=rev Log: Make make_exception_ptr abort with -fno-exceptions Modified: libcxx/trunk/include/exception Modified: libcxx/trunk/include/exception URL: http://llvm.org/view

[libcxx] r288576 - Turn off testsuite warnings by default with GCC

2016-12-02 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Dec 2 21:29:45 2016 New Revision: 288576 URL: http://llvm.org/viewvc/llvm-project?rev=288576&view=rev Log: Turn off testsuite warnings by default with GCC Modified: libcxx/trunk/test/libcxx/test/config.py Modified: libcxx/trunk/test/libcxx/test/config.py URL: http:

[PATCH] D26691: [analyzer] Run clang-format and fix style

2016-12-02 Thread Dominic Chen via Phabricator via cfe-commits
ddcc added inline comments. Comment at: lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:459 // Notice that the lower bound is greater than the upper bound. - RangeSet New = GetRange(St, Sym).Intersect(getBasicVals(), F, Upper, Lower); + RangeSet New = getRange(St, Sym).In

[PATCH] D27005: [lit] Support custom parsers in parseIntegratedTestScript

2016-12-02 Thread Eric Fiselier via Phabricator via cfe-commits
EricWF updated this revision to Diff 80168. EricWF added a comment. - Add unit tests as requested. This patch is ready to go. If there are no objections in the next day or two I'll commit it. https://reviews.llvm.org/D27005 Files: utils/lit/lit/TestRunner.py utils/lit/tests/Inputs/testrun

clang-format-vsix: versioning patch and show stderrors patch

2016-12-02 Thread Antonio Maiorano via cfe-commits
Hello, I have two patches for clang-format-vsix to offer up for review: 0001-clang-format-vsix-versioning.patch clang-format-vsix: add a date stamp to the VSIX version number to ensure upgradability Presently, the version number of the VSIX matches the LLVM version number. However, as this numbe

[PATCH] D26896: [libcxx] Make constexpr char_traits and char_traits

2016-12-02 Thread Eric Fiselier via Phabricator via cfe-commits
EricWF added a comment. FYI there is a relevent GCC bug here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71537 https://reviews.llvm.org/D26896 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/

[PATCH] D25660: [Analyzer] Checker for iterators dereferenced beyond their range.

2016-12-02 Thread Anna Zaks via Phabricator via cfe-commits
zaks.anna added a comment. It's awesome to see that all the major issues have been addressed. Thank you for working on this and diligently working through the code review!!! I have a few minor comments below. Could you add this example yours as a "no-warning" test case: const auto start = v.beg

[PATCH] D27310: Handle tests for noexcept that expect a false value

2016-12-02 Thread Eric Fiselier via Phabricator via cfe-commits
EricWF accepted this revision. EricWF added a comment. This revision is now accepted and ready to land. Have you tested this against GCC which has different noexcept semantics? If so this LGTM minus possibly addressing the inline comments. Comment at: test/libcxx/strings/itera

[PATCH] D27268: [libcxx] [test] Fix MSVC x64 warning C4267 "conversion from 'size_t' to 'int' [or 'unsigned int'], possible loss of data", part 2/4.

2016-12-02 Thread Eric Fiselier via Phabricator via cfe-commits
EricWF accepted this revision. EricWF added a comment. This revision is now accepted and ready to land. LGTM nix inline comments. Please fix `MemCounter` to use `size_t` instead. Comment at: test/support/count_new.hpp:62 int delete_called; int last_new_size; ---

[PATCH] D27365: [analyzer] Print type for SymbolRegionValues when dumping to stream

2016-12-02 Thread Artem Dergachev via Phabricator via cfe-commits
NoQ accepted this revision. NoQ added a comment. Thanks, i love dumps! Btw, did you encounter cases when types are unobvious from the parent region? Comment at: lib/StaticAnalyzer/Core/SymbolManager.cpp:89 + os << "reg_$" << getSymbolID() + << "<" << getType().getAsString

[PATCH] D27021: [libcxx] [test] Fix MSVC warning C4389 "signed/unsigned mismatch", part 8/12.

2016-12-02 Thread Eric Fiselier via Phabricator via cfe-commits
EricWF accepted this revision. EricWF added a comment. This revision is now accepted and ready to land. LGTM. https://reviews.llvm.org/D27021 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-

[PATCH] D27022: [libcxx] [test] Fix MSVC warning C4389 "signed/unsigned mismatch", part 9/12.

2016-12-02 Thread Eric Fiselier via Phabricator via cfe-commits
EricWF accepted this revision. EricWF added a comment. This revision is now accepted and ready to land. LGTM. I may have considered doing the cast to `ptrdiff_t` for the other operand instead of the `size_t` cast, but IDK which is better. https://reviews.llvm.org/D27022

[PATCH] D27023: [libcxx] [test] Fix MSVC warning C4389 "signed/unsigned mismatch", part 10/12.

2016-12-02 Thread Eric Fiselier via Phabricator via cfe-commits
EricWF added a comment. LGTM. Feel free to address the inline comments or not. Comment at: test/std/containers/sequences/deque/deque.capacity/access.pass.cpp:55 std::deque c = make >(10); for (unsigned i = 0; i < 10; ++i) +assert(c[i] == static_c

[PATCH] D27267: [libcxx] [test] Fix MSVC x64 warning C4267 "conversion from 'size_t' to 'int' [or 'unsigned int'], possible loss of data", part 1/4.

2016-12-02 Thread Eric Fiselier via Phabricator via cfe-commits
EricWF accepted this revision. EricWF added a comment. This revision is now accepted and ready to land. LGTM. Random thought: It would be nice for C++ to have a `non_truncating_cast(value)` which generated an error when the conversion performs a truncation. This seems like the behavior we want

[PATCH] D27269: [libcxx] [test] Fix MSVC x64 warning C4267 "conversion from 'size_t' to 'int' [or 'unsigned int'], possible loss of data", part 3/4.

2016-12-02 Thread Eric Fiselier via Phabricator via cfe-commits
EricWF accepted this revision. EricWF added a comment. This revision is now accepted and ready to land. LGTM https://reviews.llvm.org/D27269 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c

<    1   2