Some template functions were missing '&&' in function arguments,
therefore these were always taken by value after template instantiation.
This patch adds the double ampersand to introduce proper perfect
forwarding.
Differential D106148
[NewPM] Fix wrong perfect forwardings vhscampos on Jul 16 2021, 6:35 AM. Authored by
Details
Some template functions were missing '&&' in function arguments, This patch adds the double ampersand to introduce proper perfect
Diff Detail
Unit Tests Event TimelineComment Actions there are a couple more adaptors in CGSCCPassManager.h and LoopPassManager.h, should those be udpated too?
|