clang有很多功能是gcc不具有的. clang的thread 注解 clang-tidy 这些工具对于提高代码的质量是非常有帮助的. 以上是我对clang的肤浅的认识, 但是很多公司的生产化境其实是在用gcc做编译系统, 那么是不是可以完全舍弃clang提供的功能呢.