commit | e787b32debe4e13b363112cbad6325531165e934 | [log] [tgz] |
---|---|---|
author | Chris Lattner <clattner@google.com> | Wed Aug 08 11:14:57 2018 -0700 |
committer | jpienaar <jpienaar@google.com> | Fri Mar 29 12:57:38 2019 -0700 |
tree | a3af976cd838f208a7d73400beceeb0cdbee2fe3 | |
parent | 8bdbebf142ecd50ea412f0ae0314a3e9d4f2aec7 [diff] |
Rework the cloning infrastructure for statements to be able to take and update an operand mapping, which simplifies it a bit. Implement cloning for IfStmt, rename getThenClause() to getThen() which is unambiguous and less repetitive in use cases. PiperOrigin-RevId: 207915990