[PATCH] D125936: [Sema] Relax an assertion in BuildStmtExpr
    Argyrios Kyrtzidis via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Thu May 26 11:07:22 PDT 2022
    
    
  
akyrtzi added a comment.
The assertion was assuming "the expression doesn't need cleanups", have you considered adding a test that checks that the destructor of the temporary inside the asm statement is called, to ensure these temporaries are properly handled?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125936/new/
https://reviews.llvm.org/D125936
    
    
More information about the cfe-commits
mailing list