Index: clang/lib/Analysis/ProgramPoint.cpp =================================================================== --- clang/lib/Analysis/ProgramPoint.cpp +++ clang/lib/Analysis/ProgramPoint.cpp @@ -116,18 +116,16 @@ case ProgramPoint::PreImplicitCallKind: { ImplicitCallPoint PC = castAs(); - Out << "PreCall\", \"stmt\": \""; - PC.getDecl()->print(Out, Context.getLangOpts()); - Out << "\", "; + Out << "PreCall\", \"decl\": \"" + << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() << "\", "; printLocJson(Out, PC.getLocation(), SM); break; } case ProgramPoint::PostImplicitCallKind: { ImplicitCallPoint PC = castAs(); - Out << "PostCall\", \"stmt\": \""; - PC.getDecl()->print(Out, Context.getLangOpts()); - Out << "\", "; + Out << "PostCall\", \"decl\": \"" + << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() << "\", "; printLocJson(Out, PC.getLocation(), SM); break; }