Skip to content
Commit 73738fa5 authored by Andy Kaylor's avatar Andy Kaylor
Browse files

Guard against self-assignment in InputArgList

The InputArgList move assignment operator releases memory before copying
fields, but it doesn't check against self-assignment. I haven't seen the
self-assignment happen, but it doesn't look safe.

Differential Revision: https://reviews.llvm.org/D158134
parent 870f1583
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment