[PATCH] D34098: Allow to set incremental processing from CIndex

2017-06-11 Thread Ivan Donchevskii via Phabricator via cfe-commits
yvvan created this revision. Make possible to parse translation Unit in CIndex with incremental processing turned on. 1. Why to do that? - Reparse with that option takes less time. 2. What's the affected area? - I don't know. Can someone explain me what incremental processing is and what I loos

[PATCH] D33644: Add default values for function parameter chunks

2017-06-11 Thread Ivan Donchevskii via Phabricator via cfe-commits
yvvan added a comment. Can someone check my review please? https://reviews.llvm.org/D33644 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D17143: [Sema] PR25156 Crash when parsing dtor call on incomplete type

2017-06-11 Thread don hinton via Phabricator via cfe-commits
hintonda closed this revision. hintonda added a comment. Committed in r305169. https://reviews.llvm.org/D17143 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D33478: [libclang] When getting platform availabilities, merge multiple declarations if possible

2017-06-11 Thread Ronald Wampler via Phabricator via cfe-commits
rdwampler updated this revision to Diff 102150. rdwampler added a comment. I was able to build and test this on a linux box. The issue was the whitespace surrounding the regex. On Linux, `(unavailable)` is not present. I.e, `FunctionDecl=foo:3:6 (ios, introduced=3.2, deprecated=4.1) (macos, i

[PATCH] D34082: [Frontend 'Show hotness' can be used with a sampling profile

2017-06-11 Thread Brian Gesiak via Phabricator via cfe-commits
modocache updated this revision to Diff 102153. modocache added a comment. Thanks for the suggestions! I moved the sampling test close to the instrumented one, and adjusted bar and foo entry count in the hopes og getting the remarks to include hotness. No luck, however -- the test currently fail

[PATCH] D34096: [Sema][C++1z] Ensure structured binding's bindings in dependent foreach have non-null type

2017-06-11 Thread Richard Smith - zygoloid via Phabricator via cfe-commits
rsmith accepted this revision. rsmith added a comment. This revision is now accepted and ready to land. LGTM https://reviews.llvm.org/D34096 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c

[PATCH] D34096: [Sema][C++1z] Ensure structured binding's bindings in dependent foreach have non-null type

2017-06-11 Thread Erik Pilkington via Phabricator via cfe-commits
erik.pilkington created this revision. A DecompositionDecls' bindings have a null type until the initializer is attached, if the initializer is dependent, then the bindings should be set to have dependent type. For non-foreach bindings, this is done in Sema::CheckCompleteDecompositionDeclaratio

[PATCH] D34018: Support __float128 on NetBSD libstdc++ x86/x86_64

2017-06-11 Thread Kamil Rytarowski via Phabricator via cfe-commits
krytarowski added a comment. Is this sufficient as a test: $NetBSD$ --- test/Sema/128bitfloat.cpp.orig2017-05-29 10:06:54.0 + +++ test/Sema/128bitfloat.cpp @@ -4,6 +4,8 @@ // RUN: %clang_cc1 -triple i686-windows-gnu -verify -std=c++11 %s // RUN: %clang_cc1 -triple

[libcxxabi] r305175 - build: use cmake to pass -std=c++11

2017-06-11 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sun Jun 11 18:59:26 2017 New Revision: 305175 URL: http://llvm.org/viewvc/llvm-project?rev=305175&view=rev Log: build: use cmake to pass -std=c++11 Rather than manually checking for support for the spelling of the C++ standard, indicate to CMake that we require that the com

[libcxxabi] r305174 - build: use POSITION_INDEPENDENT_CODE CMake property

2017-06-11 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sun Jun 11 18:59:24 2017 New Revision: 305174 URL: http://llvm.org/viewvc/llvm-project?rev=305174&view=rev Log: build: use POSITION_INDEPENDENT_CODE CMake property Use the POSITION_INDEPENDENT_CODE target property to indicate that we should be building with -fPIC or the equ

[libcxxabi] r305173 - cxa_demangle: fix -Wimplicit-fallthrough for GCC:7

2017-06-11 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sun Jun 11 17:57:31 2017 New Revision: 305173 URL: http://llvm.org/viewvc/llvm-project?rev=305173&view=rev Log: cxa_demangle: fix -Wimplicit-fallthrough for GCC:7 Use the C++11 (formalised in C++17) tag to indicate a fallthrough in the switch case. Silences a -Wimplicit-fa

[libcxxabi] r305172 - private_typeinfo: add missing field initializers

2017-06-11 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sun Jun 11 17:57:26 2017 New Revision: 305172 URL: http://llvm.org/viewvc/llvm-project?rev=305172&view=rev Log: private_typeinfo: add missing field initializers Cleanup the -Wmissing-field-initializers warnings from gcc:7 builds. NFC. Modified: libcxxabi/trunk/src/priv

[PATCH] D31697: Check for null before using TUScope

2017-06-11 Thread Kim Gräsman via Phabricator via cfe-commits
kimgr added a comment. We'd love to see this addressed, either in our code or in Clang. But we're not sure what to do on our end, so... a gentle ping for help! https://reviews.llvm.org/D31697 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D34091: Support for querying the exception specification type through libclang

2017-06-11 Thread Andrew J. Bennieston via Phabricator via cfe-commits
ajbennieston created this revision. This patch exposes the exception specification type (noexcept, etc.) of a C++ function through libclang and Python clang.cindex. Repository: rL LLVM https://reviews.llvm.org/D34091 Files: bindings/python/clang/cindex.py bindings/python/tests/cindex/te

r305169 - Don't crash when forming a destructor name on an incomplete type.

2017-06-11 Thread John McCall via cfe-commits
Author: rjmccall Date: Sun Jun 11 15:33:00 2017 New Revision: 305169 URL: http://llvm.org/viewvc/llvm-project?rev=305169&view=rev Log: Don't crash when forming a destructor name on an incomplete type. Fixes PR25156. Patch by Don Hinton! Modified: cfe/trunk/lib/Sema/SemaExprCXX.cpp cfe/t

Re: [PATCH] D17143: [Sema] PR25156 Crash when parsing dtor call on incomplete type

2017-06-11 Thread John McCall via cfe-commits
On Sun, Jun 11, 2017 at 9:26 AM, don hinton wrote: > On Sat, Jun 10, 2017 at 8:55 PM John McCall via Phabricator < > revi...@reviews.llvm.org> wrote: > >> rjmccall accepted this revision. >> rjmccall added a comment. >> This revision is now accepted and ready to land. >> >> Thanks, looks great. >

r305167 - test: attempt to repair build bots

2017-06-11 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sun Jun 11 13:55:17 2017 New Revision: 305167 URL: http://llvm.org/viewvc/llvm-project?rev=305167&view=rev Log: test: attempt to repair build bots Split the no-ias tests and give them a target to ensure that they go down the GNU toolchain path. Adjust the no compression su

r305164 - Driver: pass along [-]-[no]compress-debug-sections unfiltered

2017-06-11 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sun Jun 11 12:49:17 2017 New Revision: 305164 URL: http://llvm.org/viewvc/llvm-project?rev=305164&view=rev Log: Driver: pass along [-]-[no]compress-debug-sections unfiltered Rather than validating the flags, pass them through without any validation. Arguments passed via -W

r305165 - Driver: add support for `-gz` and `-gz=`

2017-06-11 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sun Jun 11 12:49:23 2017 New Revision: 305165 URL: http://llvm.org/viewvc/llvm-project?rev=305165&view=rev Log: Driver: add support for `-gz` and `-gz=` These options control the behaviour of the compression of debug info sections on ELF targets. Our behaviour slightly div

Re: [PATCH] D17143: [Sema] PR25156 Crash when parsing dtor call on incomplete type

2017-06-11 Thread don hinton via cfe-commits
On Sat, Jun 10, 2017 at 8:55 PM John McCall via Phabricator < revi...@reviews.llvm.org> wrote: > rjmccall accepted this revision. > rjmccall added a comment. > This revision is now accepted and ready to land. > > Thanks, looks great. Great, thanks. > > > If you're going to be submitting multipl