void TearDown()函数 为测试后销毁对象资源。 我们以gtest自带的sample3例子为例,直接查看其输出结果。
mkdir -p ~/Dev # or whatever directory name you like cd ~/Dev git clone https://git.llvm.org/git/llvm.git # ~300MB cd llvm/tools git clone https://git.llvm.org/git/clang.git git clone https://git.llvm.org/git/lld.git cd ~/Dev mkdir -p clrel # 'clrel' is my build dire...
/usr/include/c++/10/system_error:410:3: note: candidate: ‘bool std::operator!=(const std::error_condition&, const std::error_code&)’ 410 | operator!=(const error_condition& __lhs, const error_code& __rhs) noexcept | ^~~~ /usr/include/c++/10/system_error:410:37: note: no k...