diff options
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/Support/TypeInfo.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/include/Support/TypeInfo.h b/llvm/include/Support/TypeInfo.h index 5d9035076f3..e23f906afa7 100644 --- a/llvm/include/Support/TypeInfo.h +++ b/llvm/include/Support/TypeInfo.h @@ -36,7 +36,7 @@ struct TypeInfo {    // Compatibility functions    bool before(const TypeInfo &rhs) const { -    return Info->before(*rhs.Info); +    return Info->before(*rhs.Info) != 0;    }    const char *getClassName() const {      return Info->name(); | 

