llvm.org GIT mirror llvm / 0ab8c7b
Revert "Un-break the bots" Looks like the problem was due to the cmake cache, Chris fixed in r368897. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368902 91177308-0d34-0410-b5e6-96231b3b80d8 JF Bastien a month ago
1 changed file(s) with 1 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
191191 // If the compiler supports detecting whether a class is final, define
192192 // an LLVM_IS_FINAL macro. If it cannot be defined properly, this
193193 // macro will be left undefined.
194 //
195 // FIXME we should just use std::is_final directly, but some bots are currently
196 // broken.
197 #if __cplusplus >= 201402L || defined(_MSC_VER)
194 #if defined(__cplusplus) || defined(_MSC_VER)
198195 #define LLVM_IS_FINAL(Ty) std::is_final()
199196 #elif __has_feature(is_final) || LLVM_GNUC_PREREQ(4, 7, 0)
200197 #define LLVM_IS_FINAL(Ty) __is_final(Ty)