diff options
author | Qiu Chaofan <qiucofan@cn.ibm.com> | 2021-07-01 14:31:47 +0800 |
---|---|---|
committer | Qiu Chaofan <qiucofan@cn.ibm.com> | 2021-07-01 14:31:47 +0800 |
commit | 07f0faed1156e6ffe6b7df240ef422bd3adb9812 (patch) | |
tree | 6fc288ef517154242619138b0e6b8d8962fe1cfb /llvm/lib/Support/DynamicLibrary.cpp | |
parent | b9c24257c7b4da398798934ffefdd30015152180 (diff) | |
download | llvm-07f0faed1156e6ffe6b7df240ef422bd3adb9812.zip llvm-07f0faed1156e6ffe6b7df240ef422bd3adb9812.tar.gz llvm-07f0faed1156e6ffe6b7df240ef422bd3adb9812.tar.bz2 |
[NFC][Scheduler] Refactor tryCandidate to return boolean
This patch changes return type of tryCandidate from void to bool:
1. Methods in some targets already follow this convention.
2. This would help if some target wants to re-use generic code.
3. It looks more intuitive if these try-method returns the same type.
We may need to change return type of them from bool to some enum
further, to make it less confusing.
Reviewed By: foad
Differential Revision: https://reviews.llvm.org/D103951
Diffstat (limited to 'llvm/lib/Support/DynamicLibrary.cpp')
0 files changed, 0 insertions, 0 deletions