Commit 1395cde2 authored by Aaron Ballman's avatar Aaron Ballman
Browse files

Fix codegen for initialization of global atomics

This amends 2e275e24. That commit added
a null to pointer cast kind when determining whether the expression can
be a valid constant initializer, but failed to update the constant
expression evaluator to perform the evaluation. This commit updates the
constant expression evaluator to handle that cast kind.
parent 65d71ee3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment