summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/index/Index.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clangd/index/Index.h')
-rw-r--r--clang-tools-extra/clangd/index/Index.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/clangd/index/Index.h b/clang-tools-extra/clangd/index/Index.h
index 1816d79fce1..b5044634d3c 100644
--- a/clang-tools-extra/clangd/index/Index.h
+++ b/clang-tools-extra/clangd/index/Index.h
@@ -82,13 +82,13 @@ void operator>>(llvm::StringRef HexStr, SymbolID &ID);
struct Symbol {
// The ID of the symbol.
SymbolID ID;
+ // The symbol information, like symbol kind.
+ index::SymbolInfo SymInfo;
// The unqualified name of the symbol, e.g. "bar" (for "n1::n2::bar").
llvm::StringRef Name;
// The scope (e.g. namespace) of the symbol, e.g. "n1::n2" (for
// "n1::n2::bar").
llvm::StringRef Scope;
- // The symbol information, like symbol kind.
- index::SymbolInfo SymInfo;
// The location of the canonical declaration of the symbol.
//
// A C++ symbol could have multiple declarations and one definition (e.g.
OpenPOWER on IntegriCloud