This is an archive of the discontinued LLVM Phabricator instance.

[test] Port clang tests to canonicalized booleans
ClosedPublic

Authored by mgorny on Jan 10 2017, 12:46 PM.

Details

Summary

Use the new llvm_canonicalize_cmake_booleans() function to canonicalize
booleans for lit tests. Replace the duplicate ENABLE_CLANG* variables
used to hold canonicalized values with in-place canonicalization. Use
implicit logic in Python code to avoid overrelying on exact 0/1 values.

Diff Detail

Repository
rL LLVM

Event Timeline

mgorny updated this revision to Diff 83852.Jan 10 2017, 12:46 PM
mgorny retitled this revision from to [test] Port clang tests to canonicalized booleans .
mgorny updated this object.
mgorny added a reviewer: beanz.
mgorny added a subscriber: cfe-commits.
This revision is now accepted and ready to land.Jan 24 2017, 11:28 PM
This revision was automatically updated to reflect the committed changes.