HomePhabricator

Improve diagnostic for an expression that's not constant because it uses

Authored by rsmith on Aug 10 2020, 5:02 PM.

Description

Improve diagnostic for an expression that's not constant because it uses
the address of a constexpr local variable.

Suggest adding 'static' to give the constexpr local variable a constant
address.

Details

Committed
rsmithAug 10 2020, 5:03 PM
Parents
rGfb04d7b4a698: [CUDA][HIP] Do not externalize implicit constant static variable
Branches
Unknown
Tags
Unknown