[all-commits] [llvm/llvm-project] 7d668a: [clangd] Mark macros from preamble for code comple...
kadir çetinkaya via All-commits
all-commits at lists.llvm.org
Fri Nov 12 05:07:11 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7d668ae38d2d54ebd5eca5f66a8cf353c3526dc3
https://github.com/llvm/llvm-project/commit/7d668ae38d2d54ebd5eca5f66a8cf353c3526dc3
Author: Kadir Cetinkaya <kadircet at google.com>
Date: 2021-11-12 (Fri, 12 Nov 2021)
Changed paths:
M clang-tools-extra/clangd/index/SymbolCollector.cpp
M clang-tools-extra/clangd/unittests/FileIndexTests.cpp
Log Message:
-----------
[clangd] Mark macros from preamble for code completion
If the main file is a header, mark the marcos defined in its preamble
section as code-completion ready.
Fixes https://github.com/clangd/clangd/issues/921.
Differential Revision: https://reviews.llvm.org/D113555
More information about the All-commits
mailing list