================ @@ -697,27 +698,61 @@ static bool isTokenAtLoc(const SourceManager &SM, const LangOptions &LangOpts, return !Invalid && Text == TokenText; } -std::optional<SourceLocation> -getExpansionLocOfMacro(StringRef MacroName, SourceLocation Loc, - const ASTContext &Context) { +namespace { +struct SourceLocationHash { + std::size_t operator()(const SourceLocation &Loc) const { ---------------- mandymimi wrote:
Got it, thank you https://github.com/llvm/llvm-project/pull/117143 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits