[all-commits] [llvm/llvm-project] 1f946e: [clang][CodeComplete] Propogate printing policy to...

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Mon Jan 20 03:23:19 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f946ee2faba5395a04a081fbe561e3d91aa2b3d
      https://github.com/llvm/llvm-project/commit/1f946ee2faba5395a04a081fbe561e3d91aa2b3d
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2020-01-20 (Mon, 20 Jan 2020)

  Changed paths:
    M clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
    M clang/lib/Sema/SemaCodeComplete.cpp
    A clang/test/CodeCompletion/ctor-signature.cpp

  Log Message:
  -----------
  [clang][CodeComplete] Propogate printing policy to FunctionDecl

Summary:
Printing policy was not propogated to functiondecls when creating a
completion string which resulted in canonical template parameters like
`foo<type-parameter-0-0>`. This patch propogates printing policy to those as
well.

Fixes https://github.com/clangd/clangd/issues/76

Reviewers: ilya-biryukov

Subscribers: jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list