================ @@ -0,0 +1,406 @@ +//===- TUSummaryEncoding.cpp --------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#include "JSONFormatImpl.h" + +#include "clang/Analysis/Scalable/EntityLinker/EntitySummaryEncoding.h" +#include "clang/Analysis/Scalable/EntityLinker/TUSummaryEncoding.h" + +namespace clang::ssaf { + +//---------------------------------------------------------------------------- +// JSONEntitySummaryEncoding +//---------------------------------------------------------------------------- + +namespace { + +class JSONEntitySummaryEncoding : public EntitySummaryEncoding { +public: + explicit JSONEntitySummaryEncoding(Value Data) : Data(std::move(Data)) {} + + void + patch(const std::map<EntityId, EntityId> &EntityResolutionTable) override { + llvm_unreachable("not implemented"); + } ---------------- aviralg wrote:
I should have added an explanatory comment her about this. The plan is to implement patching support in a separate PR to keep this PR small. I expect a PR for patching to be ready on Tuesday. Anyways, I replaced this with a fatal error. https://github.com/llvm/llvm-project/pull/183401 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
