Skip to content
Commit fe971655 authored by Zhongxing Xu's avatar Zhongxing Xu
Browse files

If the UnaryOperator has non-location type, use its type to create the

constant value. If the UnaryOperator has location type, create the
constant with int type and pointer width.

This fixes the bug that all pointer increments 'p++' evaluated to Unknown.

llvm-svn: 78147
parent 85f60cc5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment