[PATCH] D32329: [libc++abi] Disable libc++ extern templates project-wide

2017-05-07 Thread Shoaib Meenai via Phabricator via cfe-commits
smeenai added a comment. Ping. https://reviews.llvm.org/D32329 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D32543: [X86] Clang option -fuse-init-array has no effect when generating for MCU target

2017-05-07 Thread Craig Topper via Phabricator via cfe-commits
craig.topper accepted this revision. craig.topper added a comment. This revision is now accepted and ready to land. LGTM https://reviews.llvm.org/D32543 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[libcxx] r302396 - Fix Windows locale detection

2017-05-07 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sun May 7 21:09:48 2017 New Revision: 302396 URL: http://llvm.org/viewvc/llvm-project?rev=302396=rev Log: Fix Windows locale detection Modified: libcxx/trunk/utils/libcxx/test/target_info.py Modified: libcxx/trunk/utils/libcxx/test/target_info.py URL:

[libcxx] r302394 - Fix shared_mutex dll import errors on Windows

2017-05-07 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sun May 7 20:31:50 2017 New Revision: 302394 URL: http://llvm.org/viewvc/llvm-project?rev=302394=rev Log: Fix shared_mutex dll import errors on Windows Modified: libcxx/trunk/include/shared_mutex Modified: libcxx/trunk/include/shared_mutex URL:

[PATCH] D32927: [libc++] Implement exception_ptr on Windows

2017-05-07 Thread Eric Fiselier via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL302393: [libc++] Implement exception_ptr on Windows (authored by EricWF). Changed prior to commit: https://reviews.llvm.org/D32927?vs=98119=98120#toc Repository: rL LLVM

[libcxx] r302393 - [libc++] Implement exception_ptr on Windows

2017-05-07 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sun May 7 20:17:50 2017 New Revision: 302393 URL: http://llvm.org/viewvc/llvm-project?rev=302393=rev Log: [libc++] Implement exception_ptr on Windows Summary: This patch implements exception_ptr on Windows using the `__ExceptionPtrFoo` functions provided by MSVC. The

[PATCH] D32927: [libc++] Implement exception_ptr on Windows

2017-05-07 Thread Eric Fiselier via Phabricator via cfe-commits
EricWF updated this revision to Diff 98119. EricWF added a comment. - Remove some missed XFAILS https://reviews.llvm.org/D32927 Files: include/exception lib/CMakeLists.txt src/exception.cpp src/support/runtime/exception_pointer_msvc.ipp

[PATCH] D32927: [libc++] Implement exception_ptr on Windows

2017-05-07 Thread Ben Craig via Phabricator via cfe-commits
bcraig added a comment. Getting the test suite green sooner rather than later seems like a good reason to temporarily pick a 1-3 year solution rather than a 5+ year solution. Also, as you mention, this isn't all throw away work, so it's still progress. So yeah, this is fine to go in as is.

[libcxx] r302391 - Fix DLL import/export on Win32 locale helpers

2017-05-07 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sun May 7 19:37:31 2017 New Revision: 302391 URL: http://llvm.org/viewvc/llvm-project?rev=302391=rev Log: Fix DLL import/export on Win32 locale helpers Modified: libcxx/trunk/include/support/win32/locale_win32.h Modified:

[libcxx] r302390 - Fix DLL import for __time_get_c_storage member functions.

2017-05-07 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sun May 7 19:29:32 2017 New Revision: 302390 URL: http://llvm.org/viewvc/llvm-project?rev=302390=rev Log: Fix DLL import for __time_get_c_storage member functions. Modified: libcxx/trunk/include/locale Modified: libcxx/trunk/include/locale URL:

[libcxx] r302389 - Revert "Actually remove the MSVC STL when linking and testing libc++ on Windows"

2017-05-07 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sun May 7 18:37:38 2017 New Revision: 302389 URL: http://llvm.org/viewvc/llvm-project?rev=302389=rev Log: Revert "Actually remove the MSVC STL when linking and testing libc++ on Windows" This reverts commit r302387. Modified: libcxx/trunk/utils/libcxx/test/config.py

[libcxx] r302387 - Actually remove the MSVC STL when linking and testing libc++ on Windows

2017-05-07 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sun May 7 18:19:14 2017 New Revision: 302387 URL: http://llvm.org/viewvc/llvm-project?rev=302387=rev Log: Actually remove the MSVC STL when linking and testing libc++ on Windows Modified: libcxx/trunk/utils/libcxx/test/config.py Modified:

[libcxx] r302384 - Temporarly XFAIL aligned new/delete tests on Windows.

2017-05-07 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sun May 7 17:10:56 2017 New Revision: 302384 URL: http://llvm.org/viewvc/llvm-project?rev=302384=rev Log: Temporarly XFAIL aligned new/delete tests on Windows. Libc++ doesn't provide its own definitions of new/delete on Windows, instead using the versions provided by

[libcxx] r302382 - Fix Windows test failures caused by identical temp file names.

2017-05-07 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sun May 7 16:41:58 2017 New Revision: 302382 URL: http://llvm.org/viewvc/llvm-project?rev=302382=rev Log: Fix Windows test failures caused by identical temp file names. This patch fixes test failures that occur on Windows because the tests attempt to generate two distinct

[libcxx] r302381 - Accept Windows specific output in system error tests

2017-05-07 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sun May 7 16:21:07 2017 New Revision: 302381 URL: http://llvm.org/viewvc/llvm-project?rev=302381=rev Log: Accept Windows specific output in system error tests Modified:

[libcxx] r302380 - Fix two test failures caused by Windows mangling of function types.

2017-05-07 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sun May 7 16:15:28 2017 New Revision: 302380 URL: http://llvm.org/viewvc/llvm-project?rev=302380=rev Log: Fix two test failures caused by Windows mangling of function types. On Windows the function template `template void test()` has the same mangled name when instantiated

[PATCH] D32927: [libc++] Implement exception_ptr on Windows

2017-05-07 Thread Eric Fiselier via Phabricator via cfe-commits
EricWF added a comment. In https://reviews.llvm.org/D32927#748119, @bcraig wrote: > libstdc++ and the Visual Studio C++ runtime have very different compatibility > expectations. I only meant to imply that linking to another standard library implementation hasn't caused major issues in the

[PATCH] D32945: clang-tidy: add IgnoreMacros option to modernize-use-default-member-init

2017-05-07 Thread Miklos Vajna via Phabricator via cfe-commits
vmiklos added a comment. In https://reviews.llvm.org/D32945#748225, @malcolm.parsons wrote: > See uses of `OptionsView::getLocalOrGlobal()`. Ah, I see. Then yes, I think it makes sense; e.g. for the above cppunit case ideally I want to avoid any kind of warning from macros, since none of them

[PATCH] D32945: clang-tidy: add IgnoreMacros option to modernize-use-default-member-init

2017-05-07 Thread Miklos Vajna via Phabricator via cfe-commits
vmiklos updated this revision to Diff 98108. https://reviews.llvm.org/D32945 Files: clang-tidy/modernize/UseDefaultMemberInitCheck.cpp clang-tidy/modernize/UseDefaultMemberInitCheck.h docs/clang-tidy/checks/modernize-use-default-member-init.rst

[PATCH] D32914: Introduce Wzero-as-null-pointer-constant.

2017-05-07 Thread Roman Lebedev via Phabricator via cfe-commits
lebedev.ri added a comment. And a lot of warnings from code using googletest, highlight: ../src/librawspeed/metadata/ColorFilterArrayTest.cpp:56:1: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] TEST(ColorFilterArrayTestBasic, Constructor) { ^

[PATCH] D32914: Introduce Wzero-as-null-pointer-constant.

2017-05-07 Thread Roman Lebedev via Phabricator via cfe-commits
lebedev.ri added a comment. This warning complains about macros from system headers, e.g. `PTHREAD_MUTEX_INITIALIZER`: $ ninja -j1 -v [1/110] /usr/bin/cmake -E __run_iwyu --tidy=/usr/local/bin/clang-tidy --source=../src/librawspeed/common/DngOpcodes.cpp -- /usr/local/bin/clang++ -DDEBUG

[PATCH] D32945: clang-tidy: add IgnoreMacros option to modernize-use-default-member-init

2017-05-07 Thread Malcolm Parsons via Phabricator via cfe-commits
malcolm.parsons added a comment. In https://reviews.llvm.org/D32945#748166, @vmiklos wrote: > In https://reviews.llvm.org/D32945#748135, @malcolm.parsons wrote: > > > Should this option be shared? > > > If the alternative is to make this a general clang-tidy option where all but > these two

[PATCH] D32743: [clang-tidy] Add new cert-dcl21-cpp check.

2017-05-07 Thread Gábor Horváth via Phabricator via cfe-commits
xazax.hun added inline comments. Comment at: clang-tidy/cert/PostfixOperatorCheck.cpp:72 + + diag(Location, "return type of overloaded %0 is not a constant type") + << FuncDecl << FixItHint::CreateInsertion(Location, "const "); aaron.ballman wrote: >

[PATCH] D32743: [clang-tidy] Add new cert-dcl21-cpp check.

2017-05-07 Thread Gábor Horváth via Phabricator via cfe-commits
xazax.hun updated this revision to Diff 98097. xazax.hun marked 3 inline comments as done. xazax.hun added a comment. - Fix alphabetical ordering of files in cmake. - Let clang-format do its job. https://reviews.llvm.org/D32743 Files: clang-tidy/cert/CERTTidyModule.cpp

[PATCH] D32700: [clang-tidy] Add misc-suspicious-memset-usage check.

2017-05-07 Thread Gábor Horváth via Phabricator via cfe-commits
xazax.hun added inline comments. Comment at: clang-tidy/misc/SuspiciousMemsetUsageCheck.cpp:21 +void SuspiciousMemsetUsageCheck::registerMatchers(MatchFinder *Finder) { + const auto HasCtorOrDtor = + eachOf(hasMethod(cxxConstructorDecl(unless(anyOf( I

[PATCH] D32945: clang-tidy: add IgnoreMacros option to modernize-use-default-member-init

2017-05-07 Thread Miklos Vajna via Phabricator via cfe-commits
vmiklos added a comment. In https://reviews.llvm.org/D32945#748135, @malcolm.parsons wrote: > Should this option be shared? If the alternative is to make this a general clang-tidy option where all but these two checks ignore it, I think that's more confusing to the users. Or do you have an

[PATCH] D32945: clang-tidy: add IgnoreMacros option to modernize-use-default-member-init

2017-05-07 Thread Malcolm Parsons via Phabricator via cfe-commits
malcolm.parsons added a subscriber: cfe-commits. malcolm.parsons added a comment. Should this option be shared? https://reviews.llvm.org/D32945 ___ cfe-commits mailing list cfe-commits@lists.llvm.org