Created by: wangkuiyi
I just realized that memory/detail might needs more work than cpplint error-fix. I am going to do it in a separate PR.