[all-commits] [llvm/llvm-project] 18f9e2: [AST][clangd] Expose documentation of Attrs on hover.

Sam McCall via All-commits all-commits at lists.llvm.org
Thu Aug 12 12:16:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18f9e25ce1fa43f8663bd03f908ef9b27a0788f8
      https://github.com/llvm/llvm-project/commit/18f9e25ce1fa43f8663bd03f908ef9b27a0788f8
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2021-08-12 (Thu, 12 Aug 2021)

  Changed paths:
    M clang-tools-extra/clangd/Hover.cpp
    M clang-tools-extra/clangd/unittests/HoverTests.cpp
    M clang/include/clang/AST/Attr.h
    M clang/lib/AST/CMakeLists.txt
    A clang/unittests/AST/AttrTest.cpp
    M clang/unittests/AST/CMakeLists.txt
    M clang/utils/TableGen/ClangAttrEmitter.cpp
    M clang/utils/TableGen/TableGen.cpp
    M clang/utils/TableGen/TableGenBackends.h

  Log Message:
  -----------
  [AST][clangd] Expose documentation of Attrs on hover.

This adds a method to Attr to get at the documentation programmatically.

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




More information about the All-commits mailing list