[PATCH] D74094: [IRGen] Emit lifetime intrinsics around temporary aggregate argument allocas
    John McCall via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Thu Feb  6 11:17:17 PST 2020
    
    
  
rjmccall added inline comments.
================
Comment at: clang/lib/CodeGen/CGCall.cpp:3697
+
+  args.add(EmitAnyExpr(E, ArgSlot), type);
 }
----------------
If the argument type has a C++ destructor, will we end its lifetime before we call destructors at the end of the full-expression?
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74094/new/
https://reviews.llvm.org/D74094
    
    
More information about the cfe-commits
mailing list