Rename isNull methods to IsNull
authorIgor Kulaychuk <i.kulaychuk@samsung.com>
Fri, 12 Jan 2018 15:14:26 +0000 (18:14 +0300)
committerIgor Kulaychuk <i.kulaychuk@samsung.com>
Fri, 12 Jan 2018 15:15:15 +0000 (18:15 +0300)
src/debug/netcoredbg/commands.cpp
src/debug/netcoredbg/frames.cpp
src/debug/netcoredbg/protocol.h

index 4229b7f..258f8a9 100644 (file)
@@ -256,7 +256,7 @@ HRESULT PrintFrameLocation(const StackFrame &stackFrame, std::string &output)
 
     std::stringstream ss;
 
-    if (!stackFrame.source.isNull())
+    if (!stackFrame.source.IsNull())
     {
         ss << "file=\"" << Debugger::EscapeMIValue(stackFrame.source.name) << "\","
            << "fullname=\"" << Debugger::EscapeMIValue(stackFrame.source.path) << "\","
@@ -281,7 +281,7 @@ HRESULT PrintFrameLocation(const StackFrame &stackFrame, std::string &output)
 
     output = ss.str();
 
-    return stackFrame.source.isNull() ? S_FALSE : S_OK;
+    return stackFrame.source.IsNull() ? S_FALSE : S_OK;
 }
 
 static HRESULT PrintFrames(ICorDebugThread *pThread, std::string &output, int lowFrame, int highFrame)
index 74ef27e..708894f 100644 (file)
@@ -102,7 +102,7 @@ HRESULT GetFrameLocation(ICorDebugFrame *pFrame, int threadId, uint32_t level, S
 
     TypePrinter::GetMethodName(pFrame, stackFrame.name);
 
-    return stackFrame.source.isNull() ? S_FALSE : S_OK;
+    return stackFrame.source.IsNull() ? S_FALSE : S_OK;
 }
 
 struct NativeFrame
index 2c2a277..6ff8e47 100644 (file)
@@ -22,7 +22,7 @@ struct Source
     std::string path;
 
     Source(std::string path = std::string()) : name(GetFileName(path)), path(path) {}
-    bool isNull() const { return name.empty() && path.empty(); }
+    bool IsNull() const { return name.empty() && path.empty(); }
 };
 
 struct ClrAddr
@@ -32,7 +32,7 @@ struct ClrAddr
     uint32_t methodToken;
 
     ClrAddr() : ilOffset(0), nativeOffset(0), methodToken(0) {}
-    bool isNull() const { return methodToken == 0; }
+    bool IsNull() const { return methodToken == 0; }
 };
 
 struct StackFrame