[all-commits] [llvm/llvm-project] 445195: [clangd] Have visibleNamespaces() and getEligibleP...

Nathan Ridge via All-commits all-commits at lists.llvm.org
Tue Mar 10 13:47:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 445195ba6cee029852193e3f2a12cf9356fac308
      https://github.com/llvm/llvm-project/commit/445195ba6cee029852193e3f2a12cf9356fac308
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2020-03-10 (Tue, 10 Mar 2020)

  Changed paths:
    M clang-tools-extra/clangd/CodeComplete.cpp
    M clang-tools-extra/clangd/SourceCode.cpp
    M clang-tools-extra/clangd/SourceCode.h
    M clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
    M clang-tools-extra/clangd/unittests/SourceCodeTests.cpp

  Log Message:
  -----------
  [clangd] Have visibleNamespaces() and getEligiblePoints() take a LangOptions rather than a FormatStyle

Summary:
These functions only use the FormatStyle to obtain a LangOptions via
format::getFormattingLangOpts(), and some callers can more easily obtain
a LangOptions more directly.

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

Tags: #clang

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




More information about the All-commits mailing list