Made all other "operator bool"s explicit and ensured

that all clients use them explicitly.  This will hopefully
prevent any future confusion where things get cast to types
we don't expect.

<rdar://problem/15146458>

llvm-svn: 191984
This commit is contained in:
Sean Callanan committed 2013-10-04 21:35:29 +00:00
1 parent 210791a021
commit 9076c0fffb
16 files changed
+25 -25

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ SBModuleSpec::~SBModuleSpec ()
bool
SBModuleSpec::IsValid () const
{
return *m_opaque_ap;
return m_opaque_ap->operator bool();
}
void