Files
clice/include/AST/SymbolID.h
2025-03-23 16:27:29 +08:00

19 lines
389 B
C++

#pragma once
#include <string>
#include <cstdint>
namespace clice::index {
/// An ID used to determine whether symbols from
/// different translation units are identical.
struct SymbolID {
/// The hash value of the symbol's Unified Symbol Resolution (USR).
std::uint64_t hash;
/// The symbol name(not full qualified).
std::string name;
};
} // namespace clice::index