HomePhabricator

[SyntaxTree] Improve safety of `replaceChildRangeLowLevel`

Authored by eduucaldas on Oct 13 2020, 2:46 AM.

Description

[SyntaxTree] Improve safety of replaceChildRangeLowLevel

  • Add assertions for other preconditions.
  • If nothing is modified, don't mark it.

Differential Revision: https://reviews.llvm.org/D89303

Details

Committed
eduucaldasOct 14 2020, 2:18 AM
Differential Revision
D89303: [SyntaxTree] Improve safety of `replaceChildRangeLowLevel`
Parents
rG20c7ab87a78c: [LoopFlatten] Precommit new test cases. NFC.
Branches
Unknown
Tags
Unknown