[all-commits] [llvm/llvm-project] cbcb3e: [Tooling/Inclusion] Handle std::get symbol.

Haojian Wu via All-commits all-commits at lists.llvm.org
Thu Feb 23 01:26:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cbcb3eef70def3509bdffd4fe1ebfb6422afeaa2
      https://github.com/llvm/llvm-project/commit/cbcb3eef70def3509bdffd4fe1ebfb6422afeaa2
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
    M clang-tools-extra/clangd/index/CanonicalIncludes.cpp
    M clang/include/clang/Tooling/Inclusions/StandardLibrary.h
    M clang/lib/Tooling/Inclusions/Stdlib/StandardLibrary.cpp
    M clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc
    M clang/unittests/Tooling/StandardLibraryTest.cpp

  Log Message:
  -----------
  [Tooling/Inclusion] Handle std::get symbol.

Currently, we handle it as a symbol without a header. In general, for
the include-cleaner case, the std::get comes with the type header, it is
safe to ignore it.

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




More information about the All-commits mailing list