Use llvm::Optional instead of UINT_MAX to represent a null value.

llvm-svn: 315168
3 files changed