[all-commits] [llvm/llvm-project] e1271d: [clangd] Index reserved symbols from `*intrin.h` s...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Sun Dec 15 06:05:08 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e1271dd5a7ecf5cee59c8e2684b93501a1aab82d
https://github.com/llvm/llvm-project/commit/e1271dd5a7ecf5cee59c8e2684b93501a1aab82d
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-12-15 (Sun, 15 Dec 2024)
Changed paths:
M clang-tools-extra/clangd/index/SymbolCollector.cpp
M clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
Log Message:
-----------
[clangd] Index reserved symbols from `*intrin.h` system headers (#119735)
Summary:
`clangd` intentionally suppresses indexing symbols from system headers
as these are likely implementation details the user does not want.
Howver, there are plenty of system headers that provide extensions that
we want to index, such as vector intrinsic headers. This patch adds an
extra check for these commonly-named '*intrin.h' headers. This is not
fully inclusive for all symbols the user might want, but it's a good
start.
Fixes: https://github.com/llvm/llvm-project/issues/118684
---------
Co-authored-by: Nathan Ridge <zeratul976 at hotmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list