[C++] rename guard
[C++] refactor condition
[C++] remove useless return
[C++] refactor parentheses