[clang] [clang-tools-extra] [clangd] Collect comments from function definitions into the index (PR #67802)
Nathan Ridge via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 10 22:14:25 PDT 2024
================
@@ -1477,6 +1477,26 @@ TEST_F(SymbolCollectorTest, Documentation) {
forCodeCompletion(false))));
}
+TEST_F(SymbolCollectorTest, DocumentationInMain) {
----------------
HighCommander4 wrote:
Another test case that would be useful to have is one where the declaration and definition both have comments, and checks which one is chosen.
https://github.com/llvm/llvm-project/pull/67802
More information about the cfe-commits
mailing list