[llvm] r186548 - Update comment slightly.
Eric Christopher
echristo at gmail.com
Wed Jul 17 17:23:50 PDT 2013
Author: echristo
Date: Wed Jul 17 19:23:50 2013
New Revision: 186548
URL: http://llvm.org/viewvc/llvm-project?rev=186548&view=rev
Log:
Update comment slightly.
Modified:
llvm/trunk/include/llvm/DebugInfo.h
Modified: llvm/trunk/include/llvm/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo.h?rev=186548&r1=186547&r2=186548&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/DebugInfo.h Wed Jul 17 19:23:50 2013
@@ -106,7 +106,7 @@ namespace llvm {
// easily.
// FIXME: This operator bool isn't actually protecting anything at the
// moment due to the conversion operator above making DIDescriptor nodes
- // implicitly convertable to pointer.
+ // implicitly convertable to bool.
LLVM_EXPLICIT operator bool() const { return DbgNode != 0; }
bool operator==(DIDescriptor Other) const {
More information about the llvm-commits
mailing list