HomePhabricator

Update assumption in template diffing about integer template arguments.

Description

Update assumption in template diffing about integer template arguments.

Fix for PR22017. Integer template arguments are automatically bit extended to
the size of the integer type. In template diffing, evaluated expressions were
not having their results extending, leading to comparing two APSInt's with
different widths. Apply the proper bit extending when evaluating template
arguments. This mainly affected bool template arguments.

Details

Committed
rtrieuFeb 25 2015, 6:40 PM
Parents
rL230602: If we are trying to load the scripting resource for a module whose name happens…
Branches
Unknown
Tags
Unknown