[all-commits] [llvm/llvm-project] 348364: [clangd] Don't produce snippets when completion lo...

Kirill Bobyrev via All-commits all-commits at lists.llvm.org
Tue Jun 9 05:11:19 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 348364bffd379e291501dc49b192cdd2adf83811
      https://github.com/llvm/llvm-project/commit/348364bffd379e291501dc49b192cdd2adf83811
  Author: Kirill Bobyrev <kbobyrev at google.com>
  Date:   2020-06-09 (Tue, 09 Jun 2020)

  Changed paths:
    M clang-tools-extra/clangd/CodeComplete.cpp
    M clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp

  Log Message:
  -----------
  [clangd] Don't produce snippets when completion location is followed by parenthesis

Summary:
Prevent a second pair of parenthesis from being added when there already is one
right after cursor.

Related issue and more context: https://github.com/clangd/clangd/issues/387

Reviewers: sammccall

Reviewed By: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81380




More information about the All-commits mailing list