HomePhabricator

[FileCheck] Use bool operator to test Expected

Authored by thopre on Jul 10 2019, 8:31 AM.

Description

[FileCheck] Use bool operator to test Expected

Use bool() consistently to get boolean value of Error, Optional and
Expected types in EXPECT calls. While static_cast is used in all cases
but one, bool provides more clarity and makes more sense as a new
default.

llvm-svn: 365644

Details

Committed
thopreJul 10 2019, 8:31 AM
Parents
rG18ba9d60771c: [AMDGPU] Increased the number of implicit argument bytes for both OpenCL and…
Branches
Unknown
Tags
Unknown