From 301a5bbd59df75bc4ae40328f717c5ad4efabfff Mon Sep 17 00:00:00 2001 From: Amy Huang Date: Thu, 2 May 2019 20:07:35 +0000 Subject: Change the metadata for heapallocsite calls when the type is cast. llvm-svn: 359823 --- clang/lib/CodeGen/CGCall.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'clang/lib/CodeGen/CGCall.cpp') diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index ed582552314..b837fa486ad 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -4370,7 +4370,6 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo &CallInfo, } // Add metadata for calls to MSAllocator functions - // FIXME: Get the type that the return value is cast to. if (getDebugInfo() && TargetDecl && TargetDecl->hasAttr()) getDebugInfo()->addHeapAllocSiteMetadata(CI, RetTy, Loc); -- cgit v1.2.3