Removing LLVM_EXPLICIT, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229335 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Aaron Ballman
2015-02-15 22:00:20 +00:00
parent 734d358274
commit d898d31ebc
18 changed files with 55 additions and 65 deletions

View File

@@ -145,7 +145,7 @@ public:
bool operator<(const SDValue &O) const {
return std::tie(Node, ResNo) < std::tie(O.Node, O.ResNo);
}
LLVM_EXPLICIT operator bool() const {
explicit operator bool() const {
return Node != nullptr;
}

View File

@@ -162,7 +162,7 @@ namespace llvm {
}
/// Return true for a valid index.
LLVM_EXPLICIT operator bool() const { return isValid(); }
explicit operator bool() const { return isValid(); }
/// Print this index to the given raw_ostream.
void print(raw_ostream &os) const;