================ @@ -0,0 +1,56 @@ +//===- EntityName.h ---------------------------------------------*- C++ -*-===// +// +// 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 +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_CLANG_ANALYSIS_SCALABLE_MODEL_ENTITYNAME_H +#define LLVM_CLANG_ANALYSIS_SCALABLE_MODEL_ENTITYNAME_H + +#include "clang/Analysis/Scalable/Model/BuildNamespace.h" +#include "llvm/ADT/SmallString.h" +#include "llvm/ADT/StringRef.h" +#include <string> + +namespace clang::ssaf { +/// Uniquely identifies an entity in a program. ---------------- jkorous-apple wrote:
There is a fair amount of complexity in relating entities indeed. At this point we are just creating foundations that we will use in the future (hopefully soon) to implement entity linking and resolution. We know that we will need more data than just `EntityName` for that. We are also aware that until we actually implement it, this is only our best guess of what will be necessary. If we later find out the `EntityName` is missing something, we will enhance it. The right place to document, implement and test all that logic will be in the patches that introduce entity linker and the APIs for lookup in analysis result data. https://github.com/llvm/llvm-project/pull/169131 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
