[clang-tools-extra] r339224 - Added functionality to suggest FixIts for conversion of '->' to '.' and vice versa.

2018-08-09 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Wed Aug 8 01:59:29 2018 New Revision: 339224 URL: http://llvm.org/viewvc/llvm-project?rev=339224&view=rev Log: Added functionality to suggest FixIts for conversion of '->' to '.' and vice versa. Summary: Added functionality to suggest FixIts for conversion of '->' to '.'

r339540 - [clang] Store code completion token range in preprocessor.

2018-08-13 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Aug 13 01:13:35 2018 New Revision: 339540 URL: http://llvm.org/viewvc/llvm-project?rev=339540&view=rev Log: [clang] Store code completion token range in preprocessor. Summary: This change is to support a new fature in clangd, tests will be send toclang-tools-extra with

[clang-tools-extra] r339543 - [clangd] Support textEdit in addition to insertText.

2018-08-13 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Aug 13 01:23:01 2018 New Revision: 339543 URL: http://llvm.org/viewvc/llvm-project?rev=339543&view=rev Log: [clangd] Support textEdit in addition to insertText. Summary: Completion replies contains textEdits as well. Note that this change relies on https://reviews.llvm.

[clang-tools-extra] r339547 - [clangd] Introduce scoring mechanism for SignatureInformations.

2018-08-13 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Aug 13 01:40:05 2018 New Revision: 339547 URL: http://llvm.org/viewvc/llvm-project?rev=339547&view=rev Log: [clangd] Introduce scoring mechanism for SignatureInformations. Reviewers: ilya-biryukov Reviewed By: ilya-biryukov Subscribers: mgrang, ioeric, MaskRay, jkorou

[clang-tools-extra] r339572 - Fix lint tests for D50449

2018-08-13 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Aug 13 07:32:19 2018 New Revision: 339572 URL: http://llvm.org/viewvc/llvm-project?rev=339572&view=rev Log: Fix lint tests for D50449 Reviewers: ilya-biryukov, hokein Reviewed By: hokein Subscribers: hokein, ioeric, jkorous, arphaman, cfe-commits Differential Revisio

[clang-tools-extra] r340040 - [clangd] Add parantheses while auto-completing functions.

2018-08-17 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Aug 17 08:42:54 2018 New Revision: 340040 URL: http://llvm.org/viewvc/llvm-project?rev=340040&view=rev Log: [clangd] Add parantheses while auto-completing functions. Summary: Currently we only add parantheses to the functions if snippets are enabled, which also inserts

[clang-tools-extra] r340527 - [clangd] Move function argument snippet disable mechanism from LSP rendering to internal clangd reprensentation.

2018-08-23 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Aug 23 05:19:39 2018 New Revision: 340527 URL: http://llvm.org/viewvc/llvm-project?rev=340527&view=rev Log: [clangd] Move function argument snippet disable mechanism from LSP rendering to internal clangd reprensentation. Summary: We were handling the EnableFunctionArgS

[clang-tools-extra] r340530 - [clangd] Suggest code-completions for overriding base class virtual methods.

2018-08-23 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Aug 23 06:14:50 2018 New Revision: 340530 URL: http://llvm.org/viewvc/llvm-project?rev=340530&view=rev Log: [clangd] Suggest code-completions for overriding base class virtual methods. Summary: Whenever a code-completion is triggered within a class/struct/union looks at

[clang-tools-extra] r340539 - [clangd] Check for include overlapping looks for only the line now.

2018-08-23 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Aug 23 08:55:27 2018 New Revision: 340539 URL: http://llvm.org/viewvc/llvm-project?rev=340539&view=rev Log: [clangd] Check for include overlapping looks for only the line now. Summary: Currently we match an include only if we are inside filename, with this patch we will

[clang-tools-extra] r340607 - [clangd] Initial cancellation mechanism for LSP requests.

2018-08-24 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Aug 24 06:09:41 2018 New Revision: 340607 URL: http://llvm.org/viewvc/llvm-project?rev=340607&view=rev Log: [clangd] Initial cancellation mechanism for LSP requests. Reviewers: ilya-biryukov, ioeric, hokein Reviewed By: ilya-biryukov Subscribers: mgorny, ioeric, MaskR

r341824 - [clang] Make sure codecompletion is called for calls even when inside a token.

2018-09-10 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Sep 10 06:46:28 2018 New Revision: 341824 URL: http://llvm.org/viewvc/llvm-project?rev=341824&view=rev Log: [clang] Make sure codecompletion is called for calls even when inside a token. Summary: Currently CodeCompleteCall only gets called after a comma or parantheses.

[clang-tools-extra] r341830 - [clangd] Add unittests for D51038

2018-09-10 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Sep 10 07:22:42 2018 New Revision: 341830 URL: http://llvm.org/viewvc/llvm-project?rev=341830&view=rev Log: [clangd] Add unittests for D51038 Reviewers: ilya-biryukov, ioeric, hokein Reviewed By: ilya-biryukov Subscribers: MaskRay, jkorous, arphaman, cfe-commits Diff

r341949 - [CodeCompletion] Enable signature help when initializing class/struct/union members.

2018-09-11 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Sep 11 08:02:18 2018 New Revision: 341949 URL: http://llvm.org/viewvc/llvm-project?rev=341949&view=rev Log: [CodeCompletion] Enable signature help when initializing class/struct/union members. Summary: Factors out member decleration gathering and uses it in parsing to

[clang-tools-extra] r341950 - [clangd] Add unittests for D51917

2018-09-11 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Sep 11 08:12:10 2018 New Revision: 341950 URL: http://llvm.org/viewvc/llvm-project?rev=341950&view=rev Log: [clangd] Add unittests for D51917 Reviewers: ilya-biryukov Reviewed By: ilya-biryukov Subscribers: ioeric, MaskRay, jkorous, arphaman, cfe-commits Differential

[clang-tools-extra] r344033 - [clangd] Mark colon as a safe character when percent-encoding.

2018-10-09 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Oct 9 03:29:54 2018 New Revision: 344033 URL: http://llvm.org/viewvc/llvm-project?rev=344033&view=rev Log: [clangd] Mark colon as a safe character when percent-encoding. Summary: Also change output of percent-encoding to use upper-case letters. Reviewers: sammccall R

r345029 - [clang] Fix a null pointer dereference.

2018-10-23 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Oct 23 06:49:37 2018 New Revision: 345029 URL: http://llvm.org/viewvc/llvm-project?rev=345029&view=rev Log: [clang] Fix a null pointer dereference. Summary: Sometimes expression inside switch statement can be invalid, for example type might be incomplete. In those cases

r345152 - [clang] Introduce new completion context types

2018-10-24 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Wed Oct 24 08:23:49 2018 New Revision: 345152 URL: http://llvm.org/viewvc/llvm-project?rev=345152&view=rev Log: [clang] Introduce new completion context types Summary: New name suggestions were being used in places where existing names should have been used, this patch tri

[clang-tools-extra] r345153 - [clangd] Do not query index for new name completions.

2018-10-24 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Wed Oct 24 08:24:29 2018 New Revision: 345153 URL: http://llvm.org/viewvc/llvm-project?rev=345153&view=rev Log: [clangd] Do not query index for new name completions. Reviewers: sammccall Reviewed By: sammccall Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman

[clang-tools-extra] r345590 - [clangd] Use thread pool for background indexing.

2018-10-30 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Oct 30 05:13:27 2018 New Revision: 345590 URL: http://llvm.org/viewvc/llvm-project?rev=345590&view=rev Log: [clangd] Use thread pool for background indexing. Reviewers: sammccall, ioeric Reviewed By: sammccall Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, jf

[clang-tools-extra] r351052 - [clangd] Fix a reference invalidation

2019-01-14 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Jan 14 03:24:07 2019 New Revision: 351052 URL: http://llvm.org/viewvc/llvm-project?rev=351052&view=rev Log: [clangd] Fix a reference invalidation Summary: Fix for the breakage in http://green.lab.llvm.org/green/job/clang-stage1-configure-RA/52811/consoleFull#-42777206a

[clang-tools-extra] r351170 - [clangd] Fix updated file detection logic in indexing

2019-01-15 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Jan 15 01:03:33 2019 New Revision: 351170 URL: http://llvm.org/viewvc/llvm-project?rev=351170&view=rev Log: [clangd] Fix updated file detection logic in indexing Summary: Files without any symbols were never marked as updated during indexing, which resulted in failure

r351531 - [tooling] Add a new argument adjuster for deleting plugin related command line args

2019-01-18 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Jan 18 01:00:31 2019 New Revision: 351531 URL: http://llvm.org/viewvc/llvm-project?rev=351531&view=rev Log: [tooling] Add a new argument adjuster for deleting plugin related command line args Summary: Currently both clangd and clang-tidy makes use of this mechanism so

[clang-tools-extra] r351738 - [clang-tidy] Use getStripPluginsAdjuster

2019-01-21 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Jan 21 02:10:18 2019 New Revision: 351738 URL: http://llvm.org/viewvc/llvm-project?rev=351738&view=rev Log: [clang-tidy] Use getStripPluginsAdjuster Summary: See rC351531 for the introduction of getStripPluginsAdjuster. Reviewers: alexfh Subscribers: xazax.hun, cfe-co

[clang-tools-extra] r351788 - [clangd] Filter out plugin related flags and move all commandline manipulations into OverlayCDB.

2019-01-22 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Jan 22 01:10:20 2019 New Revision: 351788 URL: http://llvm.org/viewvc/llvm-project?rev=351788&view=rev Log: [clangd] Filter out plugin related flags and move all commandline manipulations into OverlayCDB. Summary: Some projects make use of clang plugins when building,

[clang-tools-extra] r351793 - [clangd] NFC: Use buildCompilerInvocation in CodeComplete

2019-01-22 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Jan 22 01:58:53 2019 New Revision: 351793 URL: http://llvm.org/viewvc/llvm-project?rev=351793&view=rev Log: [clangd] NFC: Use buildCompilerInvocation in CodeComplete Reviewers: ilya-biryukov, sammccall Reviewed By: sammccall Subscribers: ioeric, MaskRay, jkorous, arph

[clang-tools-extra] r352481 - [clangd] Make USRs for macros to be position independent

2019-01-29 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Jan 29 03:19:15 2019 New Revision: 352481 URL: http://llvm.org/viewvc/llvm-project?rev=352481&view=rev Log: [clangd] Make USRs for macros to be position independent Summary: USRs for macros were not cannonical due to usage of cursor location instead of definition locati

[clang-tools-extra] r345729 - Delete dependency on config.h

2018-10-31 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Wed Oct 31 08:37:09 2018 New Revision: 345729 URL: http://llvm.org/viewvc/llvm-project?rev=345729&view=rev Log: Delete dependency on config.h Summary: Since llvm/Config/config.h is not available on standalone builds, use __USE_POSIX instead of HAVE_PTHREAD_H and get rid of

r345844 - [clang] Improve ctor initializer completions.

2018-11-01 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Nov 1 08:54:18 2018 New Revision: 345844 URL: http://llvm.org/viewvc/llvm-project?rev=345844&view=rev Log: [clang] Improve ctor initializer completions. Summary: Instead of providing generic "args" for member and base class initializers, tries to fetch relevant constru

r346123 - Fix breakage on FrontendTest by initializing new field on constructor

2018-11-05 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Nov 5 02:01:34 2018 New Revision: 346123 URL: http://llvm.org/viewvc/llvm-project?rev=346123&view=rev Log: Fix breakage on FrontendTest by initializing new field on constructor Modified: cfe/trunk/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h Modified: cfe/t

r346216 - T was unused on assertion disabled builds.

2018-11-06 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Nov 6 00:59:25 2018 New Revision: 346216 URL: http://llvm.org/viewvc/llvm-project?rev=346216&view=rev Log: T was unused on assertion disabled builds. Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp URL: http://llvm.org/

[clang-tools-extra] r346308 - [clangd] [NFC] Fix clang-tidy warnings.

2018-11-07 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Wed Nov 7 04:25:27 2018 New Revision: 346308 URL: http://llvm.org/viewvc/llvm-project?rev=346308&view=rev Log: [clangd] [NFC] Fix clang-tidy warnings. Reviewers: ioeric, sammccall, ilya-biryukov, hokein Subscribers: MaskRay, jkorous, arphaman, cfe-commits Differential Re

[clang-tools-extra] r346524 - [clangd] Fix clang-tidy warnings.

2018-11-09 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Nov 9 09:33:48 2018 New Revision: 346524 URL: http://llvm.org/viewvc/llvm-project?rev=346524&view=rev Log: [clangd] Fix clang-tidy warnings. Modified: clang-tools-extra/trunk/unittests/clangd/TestTU.cpp Modified: clang-tools-extra/trunk/unittests/clangd/TestTU.cpp

[clang-tools-extra] r346872 - [clangd] Delete unused includes.

2018-11-14 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Wed Nov 14 09:07:39 2018 New Revision: 346872 URL: http://llvm.org/viewvc/llvm-project?rev=346872&view=rev Log: [clangd] Delete unused includes. Modified: clang-tools-extra/trunk/unittests/clangd/TestFS.cpp Modified: clang-tools-extra/trunk/unittests/clangd/TestFS.cpp

[clang-tools-extra] r346938 - Introduce shard storage to auto-index.

2018-11-15 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Nov 15 02:31:10 2018 New Revision: 346938 URL: http://llvm.org/viewvc/llvm-project?rev=346938&view=rev Log: Introduce shard storage to auto-index. Reviewers: sammccall, ioeric Subscribers: ilya-biryukov, jkorous, arphaman, cfe-commits Differential Revision: https://re

[clang-tools-extra] r346940 - Address comments

2018-11-15 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Nov 15 02:31:19 2018 New Revision: 346940 URL: http://llvm.org/viewvc/llvm-project?rev=346940&view=rev Log: Address comments Modified: clang-tools-extra/trunk/clangd/index/Background.cpp clang-tools-extra/trunk/clangd/index/Background.h clang-tools-extra/tru

[clang-tools-extra] r346939 - clang-format

2018-11-15 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Nov 15 02:31:15 2018 New Revision: 346939 URL: http://llvm.org/viewvc/llvm-project?rev=346939&view=rev Log: clang-format Modified: clang-tools-extra/trunk/clangd/index/Background.cpp clang-tools-extra/trunk/unittests/clangd/BackgroundIndexTests.cpp Modified: cl

[clang-tools-extra] r346941 - Address comments.

2018-11-15 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Nov 15 02:31:23 2018 New Revision: 346941 URL: http://llvm.org/viewvc/llvm-project?rev=346941&view=rev Log: Address comments. Modified: clang-tools-extra/trunk/clangd/index/Background.cpp clang-tools-extra/trunk/clangd/index/Background.h clang-tools-extra/tr

[clang-tools-extra] r346945 - Revert "Introduce shard storage to auto-index."

2018-11-15 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Nov 15 02:34:47 2018 New Revision: 346945 URL: http://llvm.org/viewvc/llvm-project?rev=346945&view=rev Log: Revert "Introduce shard storage to auto-index." This reverts commit 6dd1f24aead10a8d375d0311001987198d26e900. Modified: clang-tools-extra/trunk/clangd/index/

[clang-tools-extra] r346944 - Revert "clang-format"

2018-11-15 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Nov 15 02:34:43 2018 New Revision: 346944 URL: http://llvm.org/viewvc/llvm-project?rev=346944&view=rev Log: Revert "clang-format" This reverts commit 0a37e9c3d88a2e21863657df2f7735fb7e5f746e. Modified: clang-tools-extra/trunk/clangd/index/Background.cpp clang-t

[clang-tools-extra] r346942 - Revert "Address comments."

2018-11-15 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Nov 15 02:34:35 2018 New Revision: 346942 URL: http://llvm.org/viewvc/llvm-project?rev=346942&view=rev Log: Revert "Address comments." This reverts commit b43c4d1c731e07172a382567f3146b3c461c5b69. Modified: clang-tools-extra/trunk/clangd/index/Background.cpp cl

[clang-tools-extra] r346943 - Revert "Address comments"

2018-11-15 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Nov 15 02:34:39 2018 New Revision: 346943 URL: http://llvm.org/viewvc/llvm-project?rev=346943&view=rev Log: Revert "Address comments" This reverts commit 19a39b14eab2b5339325e276262b177357d6b412. Modified: clang-tools-extra/trunk/clangd/index/Background.cpp cla

[clang-tools-extra] r347038 - Introduce shard storage to auto-index.

2018-11-16 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Nov 16 01:03:56 2018 New Revision: 347038 URL: http://llvm.org/viewvc/llvm-project?rev=347038&view=rev Log: Introduce shard storage to auto-index. Reviewers: sammccall, ioeric Reviewed By: sammccall Subscribers: llvm-commits, mgorny, Eugene.Zelenko, ilya-biryukov, jko

[clang-tools-extra] r347235 - [clangd] Store source file hash in IndexFile{In, Out}

2018-11-19 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Nov 19 10:06:29 2018 New Revision: 347235 URL: http://llvm.org/viewvc/llvm-project?rev=347235&view=rev Log: [clangd] Store source file hash in IndexFile{In,Out} Summary: Puts the digest of the source file that generated the index into serialized index and stores them ba

[clang-tools-extra] r347237 - Address comments.

2018-11-19 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Nov 19 10:06:36 2018 New Revision: 347237 URL: http://llvm.org/viewvc/llvm-project?rev=347237&view=rev Log: Address comments. Modified: clang-tools-extra/trunk/clangd/index/Serialization.cpp clang-tools-extra/trunk/clangd/index/Serialization.h Modified: clang-t

[clang-tools-extra] r347236 - Use digest size instead of hardcoding it.

2018-11-19 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Nov 19 10:06:33 2018 New Revision: 347236 URL: http://llvm.org/viewvc/llvm-project?rev=347236&view=rev Log: Use digest size instead of hardcoding it. Modified: clang-tools-extra/trunk/clangd/index/Serialization.cpp Modified: clang-tools-extra/trunk/clangd/index/Ser

[clang-tools-extra] r347669 - [clangd] Put direct headers into srcs section.

2018-11-27 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Nov 27 08:08:53 2018 New Revision: 347669 URL: http://llvm.org/viewvc/llvm-project?rev=347669&view=rev Log: [clangd] Put direct headers into srcs section. Summary: Currently, there's no way of knowing about header files using compilation database, since it doesn't conta

[clang-tools-extra] r348005 - [clangd] Populate include graph during static indexing action.

2018-11-30 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Nov 30 08:59:00 2018 New Revision: 348005 URL: http://llvm.org/viewvc/llvm-project?rev=348005&view=rev Log: [clangd] Populate include graph during static indexing action. Summary: This is the second part for introducing include hierarchy into index files produced by cla

r348006 - [clang] Fill RealPathName for virtual files.

2018-11-30 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Nov 30 09:10:11 2018 New Revision: 348006 URL: http://llvm.org/viewvc/llvm-project?rev=348006&view=rev Log: [clang] Fill RealPathName for virtual files. Summary: Absolute path information for virtual files were missing even if we have already stat'd the files. This patc

r348015 - [clang] Fix rL348006 for windows

2018-11-30 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Nov 30 10:36:31 2018 New Revision: 348015 URL: http://llvm.org/viewvc/llvm-project?rev=348015&view=rev Log: [clang] Fix rL348006 for windows Modified: cfe/trunk/unittests/Basic/FileManagerTest.cpp Modified: cfe/trunk/unittests/Basic/FileManagerTest.cpp URL: http:/

[clang-tools-extra] r348252 - [clangd] Partition include graph on auto-index.

2018-12-04 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Dec 4 03:31:57 2018 New Revision: 348252 URL: http://llvm.org/viewvc/llvm-project?rev=348252&view=rev Log: [clangd] Partition include graph on auto-index. Summary: Partitions include graphs in auto-index so that each shards contains only part of the include graph relat

[clang-tools-extra] r348359 - [clangd] Dont provide locations for non-existent files.

2018-12-05 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Wed Dec 5 03:57:15 2018 New Revision: 348359 URL: http://llvm.org/viewvc/llvm-project?rev=348359&view=rev Log: [clangd] Dont provide locations for non-existent files. Summary: We were getting assertion errors when we had bad file names, instead we should skip those. Revie

[clang-tools-extra] r354865 - [clangd] Update docs to mention YCM integration and new LSP features

2019-02-26 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Feb 26 03:08:04 2019 New Revision: 354865 URL: http://llvm.org/viewvc/llvm-project?rev=354865&view=rev Log: [clangd] Update docs to mention YCM integration and new LSP features Reviewers: gribozavr Reviewed By: gribozavr Subscribers: ilya-biryukov, ioeric, MaskRay, jk

r354878 - [clang][Index] Visit UsingDecls and generate USRs for them

2019-02-26 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Feb 26 06:23:12 2019 New Revision: 354878 URL: http://llvm.org/viewvc/llvm-project?rev=354878&view=rev Log: [clang][Index] Visit UsingDecls and generate USRs for them Summary: Add indexing of UsingDecl itself. Also enable generation of USRs for UsingDecls, using the qua

[clang-tools-extra] r354879 - [clangd] Index UsingDecls

2019-02-26 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Feb 26 06:23:47 2019 New Revision: 354879 URL: http://llvm.org/viewvc/llvm-project?rev=354879&view=rev Log: [clangd] Index UsingDecls Summary: D58340 enables indexing of USRs, this makes sure test in clangd are aligned with the change Reviewers: hokein Subscribers: il

r355668 - [clang][Index] Mark references from Constructors and Destructors to class as NameReference

2019-03-08 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Mar 8 00:30:20 2019 New Revision: 355668 URL: http://llvm.org/viewvc/llvm-project?rev=355668&view=rev Log: [clang][Index] Mark references from Constructors and Destructors to class as NameReference Summary: In current indexing logic we get references to class itself w

[clang-tools-extra] r355669 - [clangd] Adjust compile commands to be applicable for tooling

2019-03-08 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Mar 8 00:38:25 2019 New Revision: 355669 URL: http://llvm.org/viewvc/llvm-project?rev=355669&view=rev Log: [clangd] Adjust compile commands to be applicable for tooling Summary: As can be seen in https://github.com/llvm-mirror/clang/blob/master/lib/Tooling/Tooling.cpp

r355678 - [clang][Tooling] Delete dots and dotdots when generating absolute paths

2019-03-08 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Mar 8 01:42:04 2019 New Revision: 355678 URL: http://llvm.org/viewvc/llvm-project?rev=355678&view=rev Log: [clang][Tooling] Delete dots and dotdots when generating absolute paths Summary: GetAllFiles interface returns absolute paths, but keeps dots and dot dots. This p

[clang-tools-extra] r355679 - [clangd] Make sure constructors do not reference class

2019-03-08 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Mar 8 01:54:37 2019 New Revision: 355679 URL: http://llvm.org/viewvc/llvm-project?rev=355679&view=rev Log: [clangd] Make sure constructors do not reference class Reviewers: gribozavr Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, cfe-commits Tags: #c

[clang-tools-extra] r355681 - [clangd] Remove ./ and ../ in the file paths

2019-03-08 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Mar 8 01:57:33 2019 New Revision: 355681 URL: http://llvm.org/viewvc/llvm-project?rev=355681&view=rev Log: [clangd] Remove ./ and ../ in the file paths Reviewers: hokein Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, cfe-commits Tags: #clang Differe

r355683 - [clang][Index] Fix msan failure

2019-03-08 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Mar 8 02:18:40 2019 New Revision: 355683 URL: http://llvm.org/viewvc/llvm-project?rev=355683&view=rev Log: [clang][Index] Fix msan failure Modified: cfe/trunk/unittests/Index/IndexTests.cpp Modified: cfe/trunk/unittests/Index/IndexTests.cpp URL: http://llvm.org/v

[clang-tools-extra] r355820 - [clangd] Respect Origin option in createStaticIndexingAction

2019-03-11 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Mar 11 04:01:14 2019 New Revision: 355820 URL: http://llvm.org/viewvc/llvm-project?rev=355820&view=rev Log: [clangd] Respect Origin option in createStaticIndexingAction Summary: Currently createStaticIndexingAction always set Origin to Static, which makes it hard to cha

[clang-tools-extra] r356032 - [clangd] Default initialize SymInfo

2019-03-13 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Wed Mar 13 01:42:15 2019 New Revision: 356032 URL: http://llvm.org/viewvc/llvm-project?rev=356032&view=rev Log: [clangd] Default initialize SymInfo Modified: clang-tools-extra/trunk/clangd/index/Symbol.h Modified: clang-tools-extra/trunk/clangd/index/Symbol.h URL: htt

[clang-tools-extra] r356125 - [clangd] Store explicit template specializations in index for code navigation purposes

2019-03-14 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Mar 14 01:35:17 2019 New Revision: 356125 URL: http://llvm.org/viewvc/llvm-project?rev=356125&view=rev Log: [clangd] Store explicit template specializations in index for code navigation purposes Summary: This introduces ~4k new symbols, and ~10k refs for LLVM. We need

[clang-tools-extra] r356445 - [clangd] Add support for type hierarchy (super types only for now)

2019-03-19 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Mar 19 02:27:04 2019 New Revision: 356445 URL: http://llvm.org/viewvc/llvm-project?rev=356445&view=rev Log: [clangd] Add support for type hierarchy (super types only for now) Summary: Patch by Nathan Ridge(@nridge)! This is an LSP extension proposed here: https://githu

r356541 - [clangd] Print arguments in template specializations

2019-03-20 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Wed Mar 20 02:43:38 2019 New Revision: 356541 URL: http://llvm.org/viewvc/llvm-project?rev=356541&view=rev Log: [clangd] Print arguments in template specializations Reviewers: ilya-biryukov Subscribers: ioeric, MaskRay, jkorous, arphaman, cfe-commits Tags: #clang Differe

[clang-tools-extra] r356541 - [clangd] Print arguments in template specializations

2019-03-20 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Wed Mar 20 02:43:38 2019 New Revision: 356541 URL: http://llvm.org/viewvc/llvm-project?rev=356541&view=rev Log: [clangd] Print arguments in template specializations Reviewers: ilya-biryukov Subscribers: ioeric, MaskRay, jkorous, arphaman, cfe-commits Tags: #clang Differe

[clang-tools-extra] r358273 - [clangd] Add TemplateArgumentList into Symbol

2019-04-12 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Apr 12 03:09:24 2019 New Revision: 358273 URL: http://llvm.org/viewvc/llvm-project?rev=358273&view=rev Log: [clangd] Add TemplateArgumentList into Symbol Summary: Part of re-landing rC356541 with D59599. Changes the way we store template arguments, previous patch was st

r358272 - [clangd] Print template arguments helper

2019-04-12 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Apr 12 03:09:14 2019 New Revision: 358272 URL: http://llvm.org/viewvc/llvm-project?rev=358272&view=rev Log: [clangd] Print template arguments helper Summary: Prepares ground for printing template arguments as written in the source code, part of re-landing rC356541 with

[clang-tools-extra] r358272 - [clangd] Print template arguments helper

2019-04-12 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Apr 12 03:09:14 2019 New Revision: 358272 URL: http://llvm.org/viewvc/llvm-project?rev=358272&view=rev Log: [clangd] Print template arguments helper Summary: Prepares ground for printing template arguments as written in the source code, part of re-landing rC356541 with

[clang-tools-extra] r358274 - [clangd] Show template argument list in workspacesymbols and documentsymbols responses

2019-04-12 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Apr 12 03:09:37 2019 New Revision: 358274 URL: http://llvm.org/viewvc/llvm-project?rev=358274&view=rev Log: [clangd] Show template argument list in workspacesymbols and documentsymbols responses Summary: Last part of re-landing rC356541. Puts TemplateArgumentsList into

[clang-tools-extra] r358293 - [clangd] Fix an overflow inside a test

2019-04-12 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri Apr 12 09:40:54 2019 New Revision: 358293 URL: http://llvm.org/viewvc/llvm-project?rev=358293&view=rev Log: [clangd] Fix an overflow inside a test Modified: clang-tools-extra/trunk/unittests/clangd/PrintASTTests.cpp Modified: clang-tools-extra/trunk/unittests/clang

[clang-tools-extra] r358373 - [clangd] Reorder source files in CMakeLists

2019-04-15 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Apr 15 00:21:17 2019 New Revision: 358373 URL: http://llvm.org/viewvc/llvm-project?rev=358373&view=rev Log: [clangd] Reorder source files in CMakeLists Modified: clang-tools-extra/trunk/unittests/clangd/CMakeLists.txt Modified: clang-tools-extra/trunk/unittests/cla

[clang-tools-extra] r358383 - [clangd] Bump clangd-index version for TemplateArgument changes

2019-04-15 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Apr 15 02:18:57 2019 New Revision: 358383 URL: http://llvm.org/viewvc/llvm-project?rev=358383&view=rev Log: [clangd] Bump clangd-index version for TemplateArgument changes Modified: clang-tools-extra/trunk/clangd/index/Serialization.cpp Modified: clang-tools-extra/

[clang-tools-extra] r358413 - [clangd] Fallback to OrigD when SLoc is invalid

2019-04-15 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Apr 15 07:38:46 2019 New Revision: 358413 URL: http://llvm.org/viewvc/llvm-project?rev=358413&view=rev Log: [clangd] Fallback to OrigD when SLoc is invalid Summary: Some implicit/built-in decls lack the source location information. Fallback to OrigD that we've seen in t

[clang-tools-extra] r358664 - [clangd] Use llvm::set_thread_priority in background-index

2019-04-18 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Apr 18 06:46:40 2019 New Revision: 358664 URL: http://llvm.org/viewvc/llvm-project?rev=358664&view=rev Log: [clangd] Use llvm::set_thread_priority in background-index Reviewers: gribozavr Subscribers: krytarowski, ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, jfb

r358665 - [clang][CIndex] Use llvm::set_thread_priority

2019-04-18 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Apr 18 06:49:20 2019 New Revision: 358665 URL: http://llvm.org/viewvc/llvm-project?rev=358665&view=rev Log: [clang][CIndex] Use llvm::set_thread_priority Reviewers: jkorous, gribozavr Subscribers: dexonsmith, arphaman, cfe-commits Tags: #clang Differential Revision:

r359075 - [clang][HeaderSearch] Make sure there are no backslashes in suggestedPath

2019-04-24 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Wed Apr 24 01:45:03 2019 New Revision: 359075 URL: http://llvm.org/viewvc/llvm-project?rev=359075&view=rev Log: [clang][HeaderSearch] Make sure there are no backslashes in suggestedPath Reviewers: sammccall Differential Revision: https://reviews.llvm.org/D60995 Modified:

r359078 - [clang][HeaderSuggestion] Handle the case of dotdot with an absolute path

2019-04-24 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Wed Apr 24 02:23:31 2019 New Revision: 359078 URL: http://llvm.org/viewvc/llvm-project?rev=359078&view=rev Log: [clang][HeaderSuggestion] Handle the case of dotdot with an absolute path Summary: Include insertion in clangd was inserting absolute paths when the include direc

[clang-tools-extra] r359078 - [clang][HeaderSuggestion] Handle the case of dotdot with an absolute path

2019-04-24 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Wed Apr 24 02:23:31 2019 New Revision: 359078 URL: http://llvm.org/viewvc/llvm-project?rev=359078&view=rev Log: [clang][HeaderSuggestion] Handle the case of dotdot with an absolute path Summary: Include insertion in clangd was inserting absolute paths when the include direc

[clang-tools-extra] r359079 - [clangd] Fix handling of include paths in windows tests

2019-04-24 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Wed Apr 24 02:42:53 2019 New Revision: 359079 URL: http://llvm.org/viewvc/llvm-project?rev=359079&view=rev Log: [clangd] Fix handling of include paths in windows tests Modified: clang-tools-extra/trunk/unittests/clangd/CodeCompleteTests.cpp clang-tools-extra/trunk/u

[clang-tools-extra] r359432 - [clangd] Surface diagnostics from headers inside main file

2019-04-29 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Apr 29 03:25:44 2019 New Revision: 359432 URL: http://llvm.org/viewvc/llvm-project?rev=359432&view=rev Log: [clangd] Surface diagnostics from headers inside main file Reviewers: ioeric, ilya-biryukov Subscribers: MaskRay, jkorous, arphaman, jdoerfert, cfe-commits Tags

[clang-tools-extra] r359470 - [clangd] Fix serialization logic for Origin and Flags.

2019-04-29 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Apr 29 10:25:58 2019 New Revision: 359470 URL: http://llvm.org/viewvc/llvm-project?rev=359470&view=rev Log: [clangd] Fix serialization logic for Origin and Flags. Modified: clang-tools-extra/trunk/clangd/index/Serialization.cpp clang-tools-extra/trunk/clangd/uni

[clang-tools-extra] r359874 - [clangd] Also perform merging for symbol definitions

2019-05-03 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Fri May 3 05:11:14 2019 New Revision: 359874 URL: http://llvm.org/viewvc/llvm-project?rev=359874&view=rev Log: [clangd] Also perform merging for symbol definitions Summary: clangd currently prefers declarations from codegen files. This patch implements that behavior for de

[clang-tools-extra] r360344 - [clangd] Count number of references while merging RefSlabs inside FileIndex

2019-05-09 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu May 9 07:22:07 2019 New Revision: 360344 URL: http://llvm.org/viewvc/llvm-project?rev=360344&view=rev Log: [clangd] Count number of references while merging RefSlabs inside FileIndex Summary: For counting number of references clangd was relying on merging every duplica

[clang-tools-extra] r360349 - [clangd] Bump index version and get rid of wrong assertion

2019-05-09 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu May 9 08:07:53 2019 New Revision: 360349 URL: http://llvm.org/viewvc/llvm-project?rev=360349&view=rev Log: [clangd] Bump index version and get rid of wrong assertion Summary: After rL360344, BackgroundIndex expects symbols with zero refcounts. Therefore existing index

[clang-tools-extra] r342533 - [clangd] Add option to enable/disable function argument snippets.

2018-09-19 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Wed Sep 19 03:16:44 2018 New Revision: 342533 URL: http://llvm.org/viewvc/llvm-project?rev=342533&view=rev Log: [clangd] Add option to enable/disable function argument snippets. Summary: Currently LSP clients cannot directly change EnableFunctionArgSnippets parameter. This

[clang-tools-extra] r343197 - Improve diagnostics range reporting.

2018-09-27 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Sep 27 05:12:42 2018 New Revision: 343197 URL: http://llvm.org/viewvc/llvm-project?rev=343197&view=rev Log: Improve diagnostics range reporting. Summary: If we have some range information coming from clang diagnostic, promote that one even if it doesn't contain diagnost

[clang-tools-extra] r343221 - Tell whether file/folder for include completions.

2018-09-27 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Sep 27 07:21:07 2018 New Revision: 343221 URL: http://llvm.org/viewvc/llvm-project?rev=343221&view=rev Log: Tell whether file/folder for include completions. Reviewers: sammccall Reviewed By: sammccall Subscribers: ilya-biryukov, ioeric, jkorous, arphaman, cfe-commits

[clang-tools-extra] r343237 - Introduce completionItemKind capability support.

2018-09-27 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Sep 27 10:13:07 2018 New Revision: 343237 URL: http://llvm.org/viewvc/llvm-project?rev=343237&view=rev Log: Introduce completionItemKind capability support. Reviewers: sammccall Reviewed By: sammccall Subscribers: ilya-biryukov, ioeric, jkorous, arphaman, cfe-commits

r343568 - [clang] Implement Override Suggestions in Sema.

2018-10-02 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Oct 2 02:42:31 2018 New Revision: 343568 URL: http://llvm.org/viewvc/llvm-project?rev=343568&view=rev Log: [clang] Implement Override Suggestions in Sema. Summary: In clangd we had a new type of completion suggestions for cpp class/struct/unions that will show override

[clang-tools-extra] r343567 - [clangd] Remove override result handling logic from clangd

2018-10-02 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Oct 2 02:42:17 2018 New Revision: 343567 URL: http://llvm.org/viewvc/llvm-project?rev=343567&view=rev Log: [clangd] Remove override result handling logic from clangd Summary: Since we plan to move handling of override suggestions to Sema with D52225 this patch just mak

[clang-tools-extra] r344025 - [clangd] Revert back to previous heuristic for diagnostic range extraction.

2018-10-09 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Tue Oct 9 01:41:12 2018 New Revision: 344025 URL: http://llvm.org/viewvc/llvm-project?rev=344025&view=rev Log: [clangd] Revert back to previous heuristic for diagnostic range extraction. Summary: Also add a few new test cases and a special case into handling of empty fixi

r353030 - [clang] Add getCommentHandler to PreambleCallbacks

2019-02-04 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Feb 4 01:42:33 2019 New Revision: 353030 URL: http://llvm.org/viewvc/llvm-project?rev=353030&view=rev Log: [clang] Add getCommentHandler to PreambleCallbacks Summary: Enables users to add comment handlers to preprocessor when building preambles. Reviewers: ilya-biryuk

[clang-tools-extra] r353054 - [clangd] Enable include insertion for static index

2019-02-04 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Feb 4 08:19:57 2019 New Revision: 353054 URL: http://llvm.org/viewvc/llvm-project?rev=353054&view=rev Log: [clangd] Enable include insertion for static index Summary: This enables include insertion by adding canonical includes into preambledata. Reviewers: ioeric, ily

[clang-tools-extra] r353422 - [clangd] Reduce number of threads used by BackgroundIndex to number of physical cores.

2019-02-07 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Feb 7 08:04:30 2019 New Revision: 353422 URL: http://llvm.org/viewvc/llvm-project?rev=353422&view=rev Log: [clangd] Reduce number of threads used by BackgroundIndex to number of physical cores. Summary: clangd is using as many threads as logical cores for BackgroundIn

[clang-tools-extra] r353423 - [clangd] Mention indexing in docs.

2019-02-07 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Feb 7 08:10:39 2019 New Revision: 353423 URL: http://llvm.org/viewvc/llvm-project?rev=353423&view=rev Log: [clangd] Mention indexing in docs. Reviewers: sammccall Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, cfe-commits Differential Revision: https

[clang-tools-extra] r353687 - [clangd] Make system header mappings available for PreambleParsedCallback

2019-02-11 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Feb 11 02:31:13 2019 New Revision: 353687 URL: http://llvm.org/viewvc/llvm-project?rev=353687&view=rev Log: [clangd] Make system header mappings available for PreambleParsedCallback Summary: SystemHeaderMappings were added only after takeIncludes call, which resulted in

[clang-tools-extra] r353694 - [clangd] Fix broken windows build bots.

2019-02-11 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Feb 11 05:01:47 2019 New Revision: 353694 URL: http://llvm.org/viewvc/llvm-project?rev=353694&view=rev Log: [clangd] Fix broken windows build bots. Modified: clang-tools-extra/trunk/unittests/clangd/FileIndexTests.cpp Modified: clang-tools-extra/trunk/unittests/cla

r353695 - [clang][Index] Add a knob to index function parameters in declarations

2019-02-11 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Feb 11 05:02:21 2019 New Revision: 353695 URL: http://llvm.org/viewvc/llvm-project?rev=353695&view=rev Log: [clang][Index] Add a knob to index function parameters in declarations Summary: Parameters in declarations are useful for clangd, so that we can provide symbol in

[clang-tools-extra] r353696 - [clangd] Index parameters in function decls

2019-02-11 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Mon Feb 11 05:03:08 2019 New Revision: 353696 URL: http://llvm.org/viewvc/llvm-project?rev=353696&view=rev Log: [clangd] Index parameters in function decls Reviewers: hokein Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, cfe-commits Tags: #clang Differen

  1   2   3   4   5   6   7   8   >