What dose the 'LLVM_NODISCARD' mean in llvm?

LLVM_NODISCARD is defined in llvm/include/llvm/Support/Compiler.h in a portable way. It allows use of compiler-specific feature of which warning if a type or return value is discarded.

发布了15 篇原创文章 · 获赞 2 · 访问量 1671

猜你喜欢

转载自blog.csdn.net/Rubison/article/details/103983411