Don't emit ref/call edges from ascii proto fields to C++ accessors
Summary:
We only use the accessors as a hack and aren't actually calling them
so limit the hack to ref adges.
Reviewers: fromberger
Subscribers: #core_team
@@ -412,7 +412,6 @@ void GoogleProtoLibrarySupport::InspectCallExpr(
const clang::SourceRange& Range) {
if (const auto RCC = V.ExplicitRangeInCurrentContext(Range)) {
const auto NodeId = V.BuildNodeIdForDecl(&AccessorDecl);
- V.RecordCallEdges(*RCC, NodeId);
V.getGraphObserver().recordDeclUseLocation(
*RCC, NodeId, GraphObserver::Claimability::Unclaimable);
}
