diff options
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2021-06-15 10:55:38 +0800 |
---|---|---|
committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2021-06-16 10:13:21 +0800 |
commit | 86906304d8cd7dcb4478283866b56ba52e1e224e (patch) | |
tree | df8e291a55c28ca6ce9ddd5fe6dc390c3a272d34 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | c4992bf593a4fd2fd250c5ebe31aa9f26cc9ed40 (diff) | |
download | llvm-86906304d8cd7dcb4478283866b56ba52e1e224e.zip llvm-86906304d8cd7dcb4478283866b56ba52e1e224e.tar.gz llvm-86906304d8cd7dcb4478283866b56ba52e1e224e.tar.bz2 |
[FuncSpec] Use std::pow instead of operator^
The original implementation calculating UserBonus uses operator ^, which means XOR in C++
language.
At the first glance of reviewing, I thought it should be power, my bad.
It doesn't make sense to use XOR here. So I believe it should be a
carelessness as I made.
Test Plan: check-all
Reviewed By: SjoerdMeijer
Differential Revision: https://reviews.llvm.org/D104282
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions