summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2015-02-09 04:46:41 +0000
committerLang Hames <lhames@gmail.com>2015-02-09 04:46:41 +0000
commita54d7de655191a7ed8ec23761db2ab19954250bf (patch)
treeec48fb744de178ac5f54e1e7fb95cdba66f7cae7 /llvm
parent141e65e69c5e8560940cef661c285104950d109e (diff)
downloadbcm5719-llvm-a54d7de655191a7ed8ec23761db2ab19954250bf.tar.gz
bcm5719-llvm-a54d7de655191a7ed8ec23761db2ab19954250bf.zip
[Orc] Fix the MSVC bots by using LLVM_EXPLICIT rather than explicit.
llvm-svn: 228564
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/ExecutionEngine/Orc/JITSymbol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/ExecutionEngine/Orc/JITSymbol.h b/llvm/include/llvm/ExecutionEngine/Orc/JITSymbol.h
index c55e43c2a17..b0ad26346a8 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/JITSymbol.h
+++ b/llvm/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 <functional>
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.
OpenPOWER on IntegriCloud