Skip to content
Snippets Groups Projects
  • Jordan Rose's avatar
    5e5440ba
    [analyzer] Make sure a materialized temporary matches its bindings. · 5e5440ba
    Jordan Rose authored
    This is a follow-up to r175830, which made sure a temporary object region
    created for, say, a struct rvalue matched up with the initial bindings
    being stored into it. This does the same for the case in which the AST
    actually tells us that we need to create a temporary via a
    MaterializeObjectExpr. I've unified the two code paths and moved a static
    helper function onto ExprEngine.
    
    This also caused a bit of test churn, causing us to go back to describing
    temporary regions without a 'const' qualifier. This seems acceptable; it's
    our behavior from a few months ago.
    
    <rdar://problem/13265460> (part 2)
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175854 91177308-0d34-0410-b5e6-96231b3b80d8
    5e5440ba
    History
    [analyzer] Make sure a materialized temporary matches its bindings.
    Jordan Rose authored
    This is a follow-up to r175830, which made sure a temporary object region
    created for, say, a struct rvalue matched up with the initial bindings
    being stored into it. This does the same for the case in which the AST
    actually tells us that we need to create a temporary via a
    MaterializeObjectExpr. I've unified the two code paths and moved a static
    helper function onto ExprEngine.
    
    This also caused a bit of test churn, causing us to go back to describing
    temporary regions without a 'const' qualifier. This seems acceptable; it's
    our behavior from a few months ago.
    
    <rdar://problem/13265460> (part 2)
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175854 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.