ADT: Use LLVM_NODISCARD instead of LLVM_ATTRIBUTE_UNUSED_RESULT for StringRef
Instead of annotating (most of) the StringRef API, we can just annotate the type directly. This is less code and it will warn in more cases. llvm-svn: 284364
Loading
Please sign in to comment