r341549 - Revert "[DebugInfo] Generate debug information for labels. (Fix PR37395)"

2018-09-06 Thread Sam McCall via cfe-commits
Author: sammccall Date: Thu Sep 6 07:27:40 2018 New Revision: 341549 URL: http://llvm.org/viewvc/llvm-project?rev=341549&view=rev Log: Revert "[DebugInfo] Generate debug information for labels. (Fix PR37395)" This reverts commit r341519, which generates debug info that causes backend crashes. (w

[PATCH] D51402: [OpenCL] Adding cl_intel_planar_yuv extension

2018-09-06 Thread Anastasia Stulova via Phabricator via cfe-commits
Anastasia added inline comments. Comment at: lib/Headers/opencl-c.h:26 +#if __OPENCL_C_VERSION__ >= CL_VERSION_1_2 +#ifndef cl_intel_planar_yuv +#define cl_intel_planar_yuv @yaxunl, do you think we need to add some kind of architecture guard for such things? Lik

r341548 - Fix march triple used test from rL341475

2018-09-06 Thread Diogo N. Sampaio via cfe-commits
Author: dnsampaio Date: Thu Sep 6 07:13:10 2018 New Revision: 341548 URL: http://llvm.org/viewvc/llvm-project?rev=341548&view=rev Log: Fix march triple used test from rL341475 Change the march triple of test files, possible fixing test failures due rL341475 Modified: cfe/trunk/test/Headers

[PATCH] D51722: [OpenCL] Allow blocks to capture arrays in OpenCL

2018-09-06 Thread Anastasia Stulova via Phabricator via cfe-commits
Anastasia accepted this revision. Anastasia added a comment. This revision is now accepted and ready to land. LGTM! There is a small comment that can be addressed before the final commit. Thanks! Comment at: lib/Sema/SemaExpr.cpp:14627 - // Blocks are not allowed to capture

[PATCH] D45179: [libc++] Add _LIBCPP_ENABLE_NODISCARD and _LIBCPP_NODISCARD_EXT to allow pre-C++2a [[nodiscard]]

2018-09-06 Thread Eric Fiselier via Phabricator via cfe-commits
EricWF added a comment. I don't think it ever landed. I'll try to get it in this week. https://reviews.llvm.org/D45179 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: r341539 - [OpenCL] Disallow negative attribute arguments

2018-09-06 Thread Aaron Ballman via cfe-commits
On Thu, Sep 6, 2018 at 10:00 AM, Andrew Savonichev wrote: > Hi Aaron, > >> On Thu, Sep 6, 2018 at 7:54 AM, Andrew Savonichev via cfe-commits >> wrote: >>> Author: asavonic >>> Date: Thu Sep 6 04:54:09 2018 >>> New Revision: 341539 >>> >>> URL: http://llvm.org/viewvc/llvm-project?rev=341539&view=

[PATCH] D51354: Fix the -print-multi-directory flag to print the selected multilib.

2018-09-06 Thread Christian Bruel via Phabricator via cfe-commits
chrib added a comment. Re-commit patch at r341547 with modified test case to use an explicit root tree for libraries Repository: rC Clang https://reviews.llvm.org/D51354 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.o

[PATCH] D45179: [libc++] Add _LIBCPP_ENABLE_NODISCARD and _LIBCPP_NODISCARD_EXT to allow pre-C++2a [[nodiscard]]

2018-09-06 Thread Nico Weber via Phabricator via cfe-commits
thakis added a comment. What's the status here? Did this land? https://reviews.llvm.org/D45179 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

r341547 - Fix the -print-multi-directory flag to print the selected multilib.

2018-09-06 Thread Christian Bruel via cfe-commits
Author: chrib Date: Thu Sep 6 07:03:44 2018 New Revision: 341547 URL: http://llvm.org/viewvc/llvm-project?rev=341547&view=rev Log: Fix the -print-multi-directory flag to print the selected multilib. Summary: Fix -print-multi-directory to print the selected multilib Reviewers: jroelofs Reviewed

Re: r341539 - [OpenCL] Disallow negative attribute arguments

2018-09-06 Thread Andrew Savonichev via cfe-commits
Hi Aaron, > On Thu, Sep 6, 2018 at 7:54 AM, Andrew Savonichev via cfe-commits > wrote: >> Author: asavonic >> Date: Thu Sep 6 04:54:09 2018 >> New Revision: 341539 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=341539&view=rev >> Log: >> [OpenCL] Disallow negative attribute arguments >> >> [

[PATCH] D51724: [clangd] Add "Deprecated" field to Symbol and CodeCompletion.

2018-09-06 Thread Eric Liu via Phabricator via cfe-commits
ioeric updated this revision to Diff 164205. ioeric marked an inline comment as done. ioeric added a comment. - Pack flags in Symbol. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D51724 Files: clangd/CodeComplete.cpp clangd/CodeComplete.h clangd/Protocol.cpp clangd/Pro

[PATCH] D51724: [clangd] Add "Deprecated" field to Symbol and CodeCompletion.

2018-09-06 Thread Eric Liu via Phabricator via cfe-commits
ioeric added inline comments. Comment at: clangd/Protocol.cpp:520 Result["additionalTextEdits"] = json::Array(CI.additionalTextEdits); + if (CI.deprecated) +Result["deprecated"] = CI.deprecated; sammccall wrote: > do we actually want this in JSON? > (ge

[PATCH] D45045: [DebugInfo] Generate debug information for labels.

2018-09-06 Thread Sam McCall via Phabricator via cfe-commits
sammccall added a comment. The latest reland of this patch triggers a segfault in clang (seemingly only on k8 and ppc). I've bisected it to r341519 but don't understand the cause. The stacktrace is: 1. parser at end of file 2.Code generation #0 0x5649754494d4 SignalHandler(int)

[PATCH] D51683: Fix arm_neon.h and arm_fp16.h generation for compiling with std=c89

2018-09-06 Thread Dave Green via Phabricator via cfe-commits
dmgreen added a comment. These new changes look good to me. If you are updating things like this, it's often better to create a new Phab review so it's easier to see it's a new thing (or, in cases like this where the changes are simple and just test updates, they often don't need review). Eithe

[PATCH] D51676: [clangd] NFC: Use TopN instead of std::priority_queue

2018-09-06 Thread Kirill Bobyrev via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL341544: [clangd] NFC: Use TopN instead of std::priority_queue (authored by omtcyfz, committed by ). Herald added a subscriber: llvm-commits. Changed prior to commit: https://reviews.llvm.org/D51676?vs=1

[clang-tools-extra] r341544 - [clangd] NFC: Use TopN instead of std::priority_queue

2018-09-06 Thread Kirill Bobyrev via cfe-commits
Author: omtcyfz Date: Thu Sep 6 06:15:03 2018 New Revision: 341544 URL: http://llvm.org/viewvc/llvm-project?rev=341544&view=rev Log: [clangd] NFC: Use TopN instead of std::priority_queue Quality.cpp defines a structure for convenient storage of Top N items, it should be used instead of the `std:

[PATCH] D51676: [clangd] Use TopN instead of std::priority_queue

2018-09-06 Thread Kirill Bobyrev via Phabricator via cfe-commits
kbobyrev added a comment. In https://reviews.llvm.org/D51676#1225215, @sammccall wrote: > Thanks for cleaning this up! > > I believe this will result in the results from MemIndex being returned in > best -> worst order, rather than worst -> best. > The contract says callers shouldn't rely on th

[PATCH] D51676: [clangd] Use TopN instead of std::priority_queue

2018-09-06 Thread Kirill Bobyrev via Phabricator via cfe-commits
kbobyrev updated this revision to Diff 164200. kbobyrev marked an inline comment as done. https://reviews.llvm.org/D51676 Files: clang-tools-extra/clangd/index/MemIndex.cpp Index: clang-tools-extra/clangd/index/MemIndex.cpp === -

[PATCH] D51038: [clang] Make sure codecompletion is called for calls even when inside a token.

2018-09-06 Thread Ilya Biryukov via Phabricator via cfe-commits
ilya-biryukov added inline comments. Comment at: test/Index/complete-block-property-assignment.m:71 +// RUN: c-index-test -code-completion-at=%s:54:15 %s | FileCheck -check-prefix=CHECK-NO1 %s +// CHECK-NO1: ObjCPropertyDecl:{ResultType int}{TypedText foo} (35) ---

[PATCH] D51683: Fix arm_neon.h and arm_fp16.h generation for compiling with std=c89

2018-09-06 Thread Diogo N. Sampaio via Phabricator via cfe-commits
dnsampaio updated this revision to Diff 164199. https://reviews.llvm.org/D51683 Files: test/Headers/arm-fp16-header.c test/Headers/arm-neon-header.c Index: test/Headers/arm-neon-header.c === --- test/Headers/arm-neon-header.c +

[PATCH] D51690: [clangd] NFC: mark single-parameter constructors explicit

2018-09-06 Thread Kirill Bobyrev via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL341543: [clangd] NFC: mark single-parameter constructors explicit (authored by omtcyfz, committed by ). Herald added a subscriber: llvm-commits. Changed prior to commit: https://reviews.llvm.org/D51690?

[clang-tools-extra] r341543 - [clangd] NFC: mark single-parameter constructors explicit

2018-09-06 Thread Kirill Bobyrev via cfe-commits
Author: omtcyfz Date: Thu Sep 6 06:06:04 2018 New Revision: 341543 URL: http://llvm.org/viewvc/llvm-project?rev=341543&view=rev Log: [clangd] NFC: mark single-parameter constructors explicit Code health: prevent implicit conversions to user-defined types. Reviewed By: sammccall Differential Re

[PATCH] D51691: [clangd] NFC: Document URIDistance

2018-09-06 Thread Kirill Bobyrev via Phabricator via cfe-commits
kbobyrev updated this revision to Diff 164197. https://reviews.llvm.org/D51691 Files: clang-tools-extra/clangd/FileDistance.h Index: clang-tools-extra/clangd/FileDistance.h === --- clang-tools-extra/clangd/FileDistance.h +++ clan

[PATCH] D51691: [clangd] NFC: Document URIDistance

2018-09-06 Thread Kirill Bobyrev via Phabricator via cfe-commits
kbobyrev marked an inline comment as done. kbobyrev added inline comments. Comment at: clang-tools-extra/clangd/FileDistance.h:89 public: + // Memorizes paths from \p Sources and builds efficient structure for URI + // distance computations. \p Sources must contain absolute pa

[PATCH] D51683: Fix arm_neon.h and arm_fp16.h generation for compiling with std=c89

2018-09-06 Thread Diogo N. Sampaio via Phabricator via cfe-commits
dnsampaio updated this revision to Diff 164196. dnsampaio added a comment. Fix test march triple. https://reviews.llvm.org/D51683 Files: test/Headers/arm-fp16-header.c test/Headers/arm-neon-header.c Index: test/Headers/arm-neon-header.c

[PATCH] D51481: [clangd] Implement proximity path boosting for Dex

2018-09-06 Thread Kirill Bobyrev via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rCTE341542: [clangd] Implement proximity path boosting for Dex (authored by omtcyfz, committed by ). Changed prior to commit: https://reviews.llvm.org/D51481?vs=164176&id=164195#toc Repository: rCTE Cl

[clang-tools-extra] r341542 - [clangd] Implement proximity path boosting for Dex

2018-09-06 Thread Kirill Bobyrev via cfe-commits
Author: omtcyfz Date: Thu Sep 6 05:54:43 2018 New Revision: 341542 URL: http://llvm.org/viewvc/llvm-project?rev=341542&view=rev Log: [clangd] Implement proximity path boosting for Dex This patch introduces `PathURI` Search Token kind and utilizes it to uprank symbols which are defined in files w

Re: [clang-tools-extra] r341459 - [clangd] Avoid enum class+enumValN to avoid GCC bug(?), and use consistent style.

2018-09-06 Thread Sam McCall via cfe-commits
On Thu, Sep 6, 2018 at 2:26 PM Ilya Biryukov wrote: > I would generally vouch for strongly typed enums, because there're nicer > in many aspects (no implicit integer conversions, no enumerators thrown > into the namespaces). > I mostly (generally!) agree. In particular they have strong advantages

[PATCH] D51340: Add /Zc:DllexportInlines option to clang-cl

2018-09-06 Thread Takuto Ikuta via Phabricator via cfe-commits
takuto.ikuta added a comment. In https://reviews.llvm.org/D51340#1225805, @takuto.ikuta wrote: > I found that current ToT with original Nico's patch does not allow to link > ui_base.dll > > https://github.com/atetubou/llvm-project-20170507/tree/totwin_dbg_1236_nico > gives the following link er

[PATCH] D51729: [Tooling] JSONCompilationDatabasePlugin infers compile commands for missing files

2018-09-06 Thread Sam McCall via Phabricator via cfe-commits
sammccall created this revision. sammccall added a reviewer: bkramer. Herald added subscribers: cfe-commits, kadircet, ioeric, ilya-biryukov. See the existing InterpolatingCompilationDatabase for details on how this works. We've been using this in clangd for a while, the heuristics seem to work we

[PATCH] D51689: [clangd] Dense posting lists proof-of-concept

2018-09-06 Thread Sam McCall via Phabricator via cfe-commits
sammccall added a comment. Uh, please ignore the last comment, arc/I got confused. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D51689 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/li

[PATCH] D51689: [clangd] Dense posting lists proof-of-concept

2018-09-06 Thread Sam McCall via Phabricator via cfe-commits
sammccall updated this revision to Diff 164191. sammccall added a comment. [Tooling] JSONCompilationDatabasePlugin infers compile commands for missing files See the existing InterpolatingCompilationDatabase for details on how this works. We've been using this in clangd for a while, the heuristic

Re: [clang-tools-extra] r341459 - [clangd] Avoid enum class+enumValN to avoid GCC bug(?), and use consistent style.

2018-09-06 Thread Ilya Biryukov via cfe-commits
I would generally vouch for strongly typed enums, because there're nicer in many aspects (no implicit integer conversions, no enumerators thrown into the namespaces). With regards to naming conventions, PCHStorage::Memory or CompletionStyle::Bundled look pretty neat to me, the usual alternative for

[PATCH] D51340: Add /Zc:DllexportInlines option to clang-cl

2018-09-06 Thread Takuto Ikuta via Phabricator via cfe-commits
takuto.ikuta added a comment. I found that current ToT with original Nico's patch does not allow to link ui_base.dll https://github.com/atetubou/llvm-project-20170507/tree/totwin_dbg_1236_nico gives the following link error https://pastebin.com/9LVRbRVn I will do bisection to find when some inl

Re: r341539 - [OpenCL] Disallow negative attribute arguments

2018-09-06 Thread Aaron Ballman via cfe-commits
On Thu, Sep 6, 2018 at 7:54 AM, Andrew Savonichev via cfe-commits wrote: > Author: asavonic > Date: Thu Sep 6 04:54:09 2018 > New Revision: 341539 > > URL: http://llvm.org/viewvc/llvm-project?rev=341539&view=rev > Log: > [OpenCL] Disallow negative attribute arguments > > Summary: > Negative argum

r341539 - [OpenCL] Disallow negative attribute arguments

2018-09-06 Thread Andrew Savonichev via cfe-commits
Author: asavonic Date: Thu Sep 6 04:54:09 2018 New Revision: 341539 URL: http://llvm.org/viewvc/llvm-project?rev=341539&view=rev Log: [OpenCL] Disallow negative attribute arguments Summary: Negative arguments in kernel attributes are silently bitcast'ed to unsigned, for example: __attribute

Re: [clang-tools-extra] r341459 - [clangd] Avoid enum class+enumValN to avoid GCC bug(?), and use consistent style.

2018-09-06 Thread Sam McCall via cfe-commits
It turned out to be a different bug: the problem was referring to `Format::YAML` in the initializer for a variable also named `Format`. This is legal but old versions of GCC get this wrong. As usual with buildbot failures, I was throwing things at the wall to see what sticks. Regarding style - eit

[PATCH] D50259: [OpenCL] Disallow negative attribute arguments

2018-09-06 Thread Andrew Savonichev via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rC341539: [OpenCL] Disallow negative attribute arguments (authored by asavonic, committed by ). Changed prior to commit: https://reviews.llvm.org/D50259?vs=159022&id=164190#toc Repository: rC Clang ht

[PATCH] D42370: Issue local statics in correct DWARF lexical scope

2018-09-06 Thread Jonas Devlieghere via Phabricator via cfe-commits
JDevlieghere accepted this revision as: JDevlieghere. JDevlieghere added a comment. This revision is now accepted and ready to land. This makes sense to me, LGTM. https://reviews.llvm.org/D42370 ___ cfe-commits mailing list cfe-commits@lists.llvm.or

[PATCH] D51727: [OpenCL] Allow zero assignment and comparisons between queue_t type variables

2018-09-06 Thread Alistair Davies via Phabricator via cfe-commits
AlistairD created this revision. AlistairD added reviewers: yaxunl, bader. This change allows for zero assignment and comparison of queue_t type variables, and extends null_queue.cl to test this. https://reviews.llvm.org/D51727 Files: lib/Sema/SemaExpr.cpp test/SemaOpenCL/null_queue.cl I

[clang-tools-extra] r341538 - [clangd] Fix data race in async fuzzyFind tests.

2018-09-06 Thread Ilya Biryukov via cfe-commits
Author: ibiryukov Date: Thu Sep 6 04:04:56 2018 New Revision: 341538 URL: http://llvm.org/viewvc/llvm-project?rev=341538&view=rev Log: [clangd] Fix data race in async fuzzyFind tests. Modified: clang-tools-extra/trunk/unittests/clangd/CodeCompleteTests.cpp Modified: clang-tools-extra/trunk/

Re: r341475 - Fix arm_neon.h and arm_fp16.h generation for compiling with std=c89

2018-09-06 Thread Diogo Sampaio via cfe-commits
Sorry, but my patch is not reverted, and as for now it only reads: Failing Tests (2): LLVM :: CodeGen/AMDGPU/mubuf-legalize-operands.ll LLVM :: CodeGen/AMDGPU/mubuf-legalize-operands.mir So I'm considering it was a side-effect of some other test. On 09/05/2018 10:00 PM, Galina Kistanova

[PATCH] D51038: [clang] Make sure codecompletion is called for calls even when inside a token.

2018-09-06 Thread Ilya Biryukov via Phabricator via cfe-commits
ilya-biryukov added inline comments. Comment at: test/Index/complete-block-property-assignment.m:71 +// RUN: c-index-test -code-completion-at=%s:54:15 %s | FileCheck -check-prefix=CHECK-NO1 %s +// CHECK-NO1: ObjCPropertyDecl:{ResultType int}{TypedText foo} (35) ---

[PATCH] D51725: Allow un-setting the compilation database path

2018-09-06 Thread Simon Marchi via Phabricator via cfe-commits
simark updated this revision to Diff 164183. simark added a comment. Fix formatting. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D51725 Files: clangd/ClangdLSPServer.cpp clangd/ClangdLSPServer.h clangd/GlobalCompilationDatabase.cpp clangd/GlobalCompilationDatabase.h

[PATCH] D51725: Allow un-setting the compilation database path

2018-09-06 Thread Simon Marchi via Phabricator via cfe-commits
simark created this revision. Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, ioeric, ilya-biryukov. It is currently possible to tell clangd where to find the compile_commands.json file through the initializationOptions or the didChangeConfiguration message. However, it is no

[PATCH] D51683: Fix arm_neon.h and arm_fp16.h generation for compiling with std=c89

2018-09-06 Thread Diogo N. Sampaio via Phabricator via cfe-commits
dnsampaio added inline comments. Comment at: cfe/trunk/utils/TableGen/NeonEmitter.cpp:2412 - OS << "#define __ai static inline __attribute__((__always_inline__, " + OS << "#define __ai static __inline __attribute__((__always_inline__, " "__nodebug__))\n\n"; -

[PATCH] D51688: [clangd] Set SymbolID for sema macros so that they can be merged with index macros.

2018-09-06 Thread Eric Liu via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL341534: [clangd] Set SymbolID for sema macros so that they can be merged with index… (authored by ioeric, committed by ). Herald added a subscriber: llvm-commits. Repository: rL LLVM https://reviews.ll

[clang-tools-extra] r341534 - [clangd] Set SymbolID for sema macros so that they can be merged with index macros.

2018-09-06 Thread Eric Liu via cfe-commits
Author: ioeric Date: Thu Sep 6 02:59:37 2018 New Revision: 341534 URL: http://llvm.org/viewvc/llvm-project?rev=341534&view=rev Log: [clangd] Set SymbolID for sema macros so that they can be merged with index macros. Reviewers: sammccall Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, k

[PATCH] D51688: [clangd] Set SymbolID for sema macros so that they can be merged with index macros.

2018-09-06 Thread Eric Liu via Phabricator via cfe-commits
ioeric updated this revision to Diff 164177. ioeric marked 2 inline comments as done. ioeric added a comment. - improve comment; remove dead code. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D51688 Files: clangd/AST.cpp clangd/AST.h clangd/CodeComplete.cpp clangd/inde

[PATCH] D51481: [clangd] Implement proximity path boosting for Dex

2018-09-06 Thread Kirill Bobyrev via Phabricator via cfe-commits
kbobyrev updated this revision to Diff 164176. kbobyrev marked 3 inline comments as done. kbobyrev added a comment. Resolve the issue with `SymbolSlab::Builder` and make sure passed vector has correct lifetime. https://reviews.llvm.org/D51481 Files: clang-tools-extra/clangd/FileDistance.h

[PATCH] D51674: [clangd] Fix async index loading (from r341376).

2018-09-06 Thread Ilya Biryukov via Phabricator via cfe-commits
ilya-biryukov accepted this revision. ilya-biryukov added a comment. This revision is now accepted and ready to land. LGTM Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D51674 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [clang-tools-extra] r341459 - [clangd] Avoid enum class+enumValN to avoid GCC bug(?), and use consistent style.

2018-09-06 Thread Ilya Biryukov via cfe-commits
Any pointers to the GCC bug/breakage mentioned? On Thu, Sep 6, 2018 at 11:44 AM Ilya Biryukov wrote: > +1 for consistent style, but why not use enum class everywhere instead? > > On Wed, Sep 5, 2018 at 12:41 PM Sam McCall via cfe-commits < > cfe-commits@lists.llvm.org> wrote: > >> Author: sammcc

Re: [clang-tools-extra] r341459 - [clangd] Avoid enum class+enumValN to avoid GCC bug(?), and use consistent style.

2018-09-06 Thread Ilya Biryukov via cfe-commits
+1 for consistent style, but why not use enum class everywhere instead? On Wed, Sep 5, 2018 at 12:41 PM Sam McCall via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: sammccall > Date: Wed Sep 5 03:39:58 2018 > New Revision: 341459 > > URL: http://llvm.org/viewvc/llvm-project?rev=3414

[PATCH] D51481: [clangd] Implement proximity path boosting for Dex

2018-09-06 Thread Kirill Bobyrev via Phabricator via cfe-commits
kbobyrev updated this revision to Diff 164172. kbobyrev marked 10 inline comments as done. kbobyrev added a comment. This should address the last round of comments. There was still some hassle with the `SymbolSlab::Builder` in the unit tests and I decided to leave it as it is due to some weird o

[PATCH] D51724: [clangd] Add "Deprecated" field to Symbol and CodeCompletion.

2018-09-06 Thread Sam McCall via Phabricator via cfe-commits
sammccall added a comment. I think you also need to update SymbolsYAML and Serialization. Comment at: clangd/Protocol.cpp:520 Result["additionalTextEdits"] = json::Array(CI.additionalTextEdits); + if (CI.deprecated) +Result["deprecated"] = CI.deprecated; -

[PATCH] D50534: [libc++] Fix handling of negated character classes in regex

2018-09-06 Thread Hans Wennborg via Phabricator via cfe-commits
hans added a comment. In https://reviews.llvm.org/D50534#1225591, @xbolva00 wrote: > is this fixed in 7.0 release branch too? > > @hans I've merged it in r341529 now. Thanks for letting me know. Repository: rCXX libc++ https://reviews.llvm.org/D50534

Re: [libcxx] r340609 - [libc++] Fix handling of negated character classes in regex

2018-09-06 Thread Hans Wennborg via cfe-commits
Merged to 7.0 in r341529. On Fri, Aug 24, 2018 at 4:10 PM, Louis Dionne via cfe-commits wrote: > Author: ldionne > Date: Fri Aug 24 07:10:28 2018 > New Revision: 340609 > > URL: http://llvm.org/viewvc/llvm-project?rev=340609&view=rev > Log: > [libc++] Fix handling of negated character classes in

[libcxx] r341529 - Merging r340609:

2018-09-06 Thread Hans Wennborg via cfe-commits
Author: hans Date: Thu Sep 6 01:54:44 2018 New Revision: 341529 URL: http://llvm.org/viewvc/llvm-project?rev=341529&view=rev Log: Merging r340609: r340609 | ldionne | 2018-08-24 16:10:28 +0200 (Fri, 24 Aug 2018) | 13 lines

[PATCH] D51341: [HEADER] Overloadable function candidates for half/double types

2018-09-06 Thread Dmitry Sidorov via Phabricator via cfe-commits
sidorovd updated this revision to Diff 164169. sidorovd edited the summary of this revision. https://reviews.llvm.org/D51341 Files: include/clang/AST/Type.h lib/AST/Type.cpp lib/Sema/SemaOverload.cpp test/SemaOpenCL/half-double-overload.cl Index: test/SemaOpenCL/half-double-overload.cl

[PATCH] D51341: [HEADER] Overloadable function candidates for half/double types

2018-09-06 Thread Dmitry Sidorov via Phabricator via cfe-commits
sidorovd marked an inline comment as done. sidorovd added inline comments. Comment at: lib/Sema/SemaOverload.cpp:6063 + // OpenCL: A candidate function that uses extentions that are not enabled or + // supported is not viable. + if (getLangOpts().OpenCL) { Ana

[PATCH] D51724: [clangd] Add "Deprecated" field to Symbol and CodeCompletion.

2018-09-06 Thread Eric Liu via Phabricator via cfe-commits
ioeric created this revision. ioeric added reviewers: sammccall, kadircet. Herald added subscribers: cfe-commits, arphaman, jkorous, MaskRay, ilya-biryukov. Also set "deprecated" field in LSP CompletionItem. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D51724 Files: clangd/

[PATCH] D51484: [OpenCL] Add support of cl_intel_device_side_avc_motion_estimation extension

2018-09-06 Thread Alexey Sachkov via Phabricator via cfe-commits
AlexeySachkov added inline comments. Comment at: include/clang/Basic/OpenCLExtensionTypes.def:1 +//===-- OpenCLExtensionTypes.def - Metadata about BuiltinTypes --*- C++ -*-===// +// Anastasia wrote: > I am confused about the purpose of this file. Is it suppo

[PATCH] D51411: [OpenCL] Improve diagnostic of argument in address space conversion builtins

2018-09-06 Thread Alistair Davies via Phabricator via cfe-commits
AlistairD updated this revision to Diff 164162. AlistairD added a comment. Reworded warning message, switched warning off by default, and added it to a group: generic-address-conversion. https://reviews.llvm.org/D51411 Files: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaChecking

[PATCH] D51722: [OpenCL] Allow blocks to capture arrays in OpenCL

2018-09-06 Thread Dmitry Sidorov via Phabricator via cfe-commits
sidorovd created this revision. sidorovd added reviewers: Anastasia, yaxunl. Herald added a subscriber: cfe-commits. sidorovd added a comment. Previously this patch was reviewed here: https://reviews.llvm.org/D26794 . I wasn't able to update it, so I created a new one with the comments applied.

[PATCH] D51722: [OpenCL] Allow blocks to capture arrays in OpenCL

2018-09-06 Thread Dmitry Sidorov via Phabricator via cfe-commits
sidorovd added a comment. Previously this patch was reviewed here: https://reviews.llvm.org/D26794 . I wasn't able to update it, so I created a new one with the comments applied. Repository: rC Clang https://reviews.llvm.org/D51722 ___ cfe-commi

[PATCH] D49722: [CStringSyntaxChecker] Check strlcat sizeof check

2018-09-06 Thread David CARLIER via Phabricator via cfe-commits
devnexen added a comment. ping @george.karpenkov after that I won t bother you for a long time :) https://reviews.llvm.org/D49722 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D51402: [OpenCL] Adding cl_intel_planar_yuv extension

2018-09-06 Thread Dmitry Sidorov via Phabricator via cfe-commits
sidorovd updated this revision to Diff 164157. sidorovd added a comment. I'm not sure if I put pragmas in an appropriate place (I mean in the very beginning of the header). https://reviews.llvm.org/D51402 Files: lib/Headers/opencl-c.h test/SemaOpenCL/extension-version.cl Index: test/Sema

[PATCH] D51719: Wrapped block after case label should not be merged into a single line (Bug 38854)

2018-09-06 Thread Owen Pan via Phabricator via cfe-commits
owenpan created this revision. owenpan added a project: clang. Herald added a subscriber: cfe-commits. See https://bugs.llvm.org/show_bug.cgi?id=38854 Repository: rC Clang https://reviews.llvm.org/D51719 Files: lib/Format/UnwrappedLineFormatter.cpp unittests/Format/FormatTest.cpp Index

[PATCH] D32906: [Analyzer] Iterator Checker - Part 10: Support for iterators passed as parameter

2018-09-06 Thread Balogh , Ádám via Phabricator via cfe-commits
baloghadamsoftware added a comment. Your are right, it is not necessary anymore. Should I keep this patch to add the tests only or should I abandon it completely? https://reviews.llvm.org/D32906 ___ cfe-commits mailing list cfe-commits@lists.llvm.o

[PATCH] D32906: [Analyzer] Iterator Checker - Part 10: Support for iterators passed as parameter

2018-09-06 Thread Balogh , Ádám via Phabricator via cfe-commits
baloghadamsoftware updated this revision to Diff 164152. baloghadamsoftware added a comment. Modification of the checker not needed anymore. Only tests added. https://reviews.llvm.org/D32906 Files: test/Analysis/iterator-range.cpp test/Analysis/mismatched-iterator.cpp Index: test/Analysis

[PATCH] D50534: [libc++] Fix handling of negated character classes in regex

2018-09-06 Thread Dávid Bolvanský via Phabricator via cfe-commits
xbolva00 added subscribers: hans, xbolva00. xbolva00 added a comment. is this fixed in 7.0 release branch too? @hans Repository: rCXX libc++ https://reviews.llvm.org/D50534 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llv

<    1   2