From: Lang Hames Date: Mon, 9 Feb 2015 04:46:41 +0000 (+0000) Subject: [Orc] Fix the MSVC bots by using LLVM_EXPLICIT rather than explicit. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=cda59be9314833305fad936ca78f625d9e4e7de1;hp=cc5e6d56fced3867f838e609bce875d96ef8f53e [Orc] Fix the MSVC bots by using LLVM_EXPLICIT rather than explicit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228564 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ExecutionEngine/Orc/JITSymbol.h b/include/llvm/ExecutionEngine/Orc/JITSymbol.h index c55e43c2a17..b0ad26346a8 100644 --- a/include/llvm/ExecutionEngine/Orc/JITSymbol.h +++ b/include/llvm/ExecutionEngine/Orc/JITSymbol.h @@ -14,6 +14,7 @@ #ifndef LLVM_EXECUTIONENGINE_ORC_JITSYMBOL_H #define LLVM_EXECUTIONENGINE_ORC_JITSYMBOL_H +#include "llvm/Support/Compiler.h" #include namespace llvm { @@ -32,7 +33,7 @@ public: : CachedAddr(0), GetAddress(std::move(GetAddress)) {} /// @brief Returns true if the symbol exists, false otherwise. - explicit operator bool() const { return CachedAddr || GetAddress; } + LLVM_EXPLICIT operator bool() const { return CachedAddr || GetAddress; } /// @brief Get the address of the symbol in the target address space. Returns /// '0' if the symbol does not exist.