[PATCH] D89935: [clangd] NFC: Update FIXME comment regarding lack of c/dtor support
Kirill Bobyrev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 26 07:32:44 PDT 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1704704e762f: [clangd] NFC: Update FIXME comment regarding lack of c/dtor support (authored by kbobyrev).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89935/new/
https://reviews.llvm.org/D89935
Files:
clang-tools-extra/clangd/FindSymbols.cpp
clang-tools-extra/clangd/XRefs.cpp
Index: clang-tools-extra/clangd/XRefs.cpp
===================================================================
--- clang-tools-extra/clangd/XRefs.cpp
+++ clang-tools-extra/clangd/XRefs.cpp
@@ -1284,8 +1284,8 @@
SM, Lexer::getLocForEndOfToken(NameLoc, 0, SM, Ctx.getLangOpts()));
index::SymbolInfo SymInfo = index::getSymbolInfo(&ND);
- // FIXME: this is not classifying constructors, destructors and operators
- // correctly (they're all "methods").
+ // FIXME: This is not classifying constructors, destructors and operators
+ // correctly.
SymbolKind SK = indexSymbolKindToSymbolKind(SymInfo.Kind);
TypeHierarchyItem THI;
Index: clang-tools-extra/clangd/FindSymbols.cpp
===================================================================
--- clang-tools-extra/clangd/FindSymbols.cpp
+++ clang-tools-extra/clangd/FindSymbols.cpp
@@ -179,8 +179,8 @@
return llvm::None;
index::SymbolInfo SymInfo = index::getSymbolInfo(&ND);
- // FIXME: this is not classifying constructors, destructors and operators
- // correctly (they're all "methods").
+ // FIXME: This is not classifying constructors, destructors and operators
+ // correctly.
SymbolKind SK = indexSymbolKindToSymbolKind(SymInfo.Kind);
DocumentSymbol SI;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89935.300665.patch
Type: text/x-patch
Size: 1269 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201026/ccaf9a10/attachment.bin>
More information about the cfe-commits
mailing list