Since we have visitAPValue now, we might as well use it here.
Not really possible to test this, so no test included.
Differential D158502
[clang][Interp] Actually consider ConstantExpr result tbaeder on Aug 22 2023, 3:28 AM. Authored by
Details Since we have visitAPValue now, we might as well use it here. Not really possible to test this, so no test included.
Diff Detail
Event Timeline
Comment Actions FYI there are build failures. you probably need to rebase (visitAPValue does not seem to actually exist)
|
so if visitAPValue fails, we continue. Couldn't that lead to duplicated diagnostics? Shouldn't we simply return whatever visitAPValue returns unconditionally?