Skip to content

Commit 9b06f51

Browse files
committed
Formatting
1 parent d5d7517 commit 9b06f51

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

src/coreclr/debug/inc/dbgtransportsession.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ class DbgTransportSession
521521
// Struct defining the format of the data block sent with a SessionRequest.
522522
struct SessionRequestData
523523
{
524-
minipal_guid_t m_sSessionID; // Unique session ID. Treated as byte blob so no endian-ness
524+
GUID m_sSessionID; // Unique session ID. Treated as byte blob so no endian-ness
525525
};
526526

527527
// Struct used to track a message that is being (or will soon be) sent but has not yet been acknowledged.
@@ -676,7 +676,7 @@ class DbgTransportSession
676676
// Session ID randomly allocated by the right side and sent over in the SessionRequest message. This
677677
// serves to disambiguate a re-send of the SessionRequest due to a network error versus a SessionRequest
678678
// from a different debugger.
679-
minipal_guid_t m_sSessionID;
679+
GUID m_sSessionID;
680680

681681
// Lock used to synchronize sending messages and updating the session state. This ensures message bytes
682682
// don't become interleaved on the transport connection, the send queue is updated consistently across

src/coreclr/ilasm/portable_pdb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ HRESULT PortablePdbWriter::Init(IMetaDataDispenserEx2* mdDispenser)
9393
time_t now;
9494
time(&now);
9595
m_pdbStream.id.pdbTimeStamp = (ULONG)now;
96-
if (!minipal_guid_v4_create(reinterpret_cast<minipal_guid_t*>(&m_pdbStream.id.pdbGuid)))
96+
if (!minipal_guid_v4_create(&m_pdbStream.id.pdbGuid))
9797
{
9898
hr = E_FAIL;
9999
goto exit;

src/coreclr/inc/corjit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ class ICorJitCompiler
140140
// return the version identifier that the EE expects), then the EE fails to load the JIT.
141141
//
142142
virtual void getVersionIdentifier(
143-
minipal_guid_t* versionIdentifier /* OUT */
143+
GUID* versionIdentifier /* OUT */
144144
) = 0;
145145

146146
// Some JIT's may support multiple OSs. This api provides a means to specify to the JIT what OS it should

src/coreclr/scripts/genEventing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ def updateclreventsfile(write_xplatheader, target_cpp, runtimeFlavor, is_host_wi
913913
Clrallevents.write(dotnet_trace_context_typedef_windows + "\n")
914914
else:
915915
Clrallevents.write("\n")
916-
916+
917917
if not is_host_windows and runtimeFlavor.coreclr:
918918
Clrallevents.write(user_events_trace_context_typedef)
919919

src/coreclr/tools/superpmi/superpmi/jitinstance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ HRESULT JitInstance::StartUp(char* PathToJit, bool copyJit, bool breakOnDebugBre
231231
actual.Data1, actual.Data2, actual.Data3,
232232
actual.Data4[0], actual.Data4[1], actual.Data4[2], actual.Data4[3],
233233
actual.Data4[4], actual.Data4[5], actual.Data4[6], actual.Data4[7]);
234-
234+
235235
return -1;
236236
}
237237

src/coreclr/vm/eventpipeinternal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ extern "C" int QCALLTYPE EventPipeInternal_EventActivityIdControl(uint32_t contr
192192

193193
case ActivityControlCode::EVENT_ACTIVITY_CONTROL_CREATE_ID:
194194

195-
minipal_guid_v4_create(reinterpret_cast<minipal_guid_t*>(pActivityId));
195+
minipal_guid_v4_create(pActivityId);
196196
break;
197197

198198
case ActivityControlCode::EVENT_ACTIVITY_CONTROL_GET_SET_ID:

src/coreclr/vm/perfmap.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void PerfMap::Enable(PerfMapType type, bool sendExisting)
9999
{
100100
s_ShowOptimizationTiers = true;
101101
}
102-
102+
103103
s_enabled = true;
104104
}
105105
}
@@ -164,7 +164,7 @@ void PerfMap::Enable(PerfMapType type, bool sendExisting)
164164
codeInfo.GetMethodRegionInfo(&methodRegionInfo);
165165
_ASSERTE(methodRegionInfo.hotStartAddress == codeStart);
166166
_ASSERTE(methodRegionInfo.hotSize > 0);
167-
167+
168168
PrepareCodeConfig config(!nativeCodeVersion.IsNull() ? nativeCodeVersion : NativeCodeVersion(pMethod), FALSE, FALSE);
169169
PerfMap::LogJITCompiledMethod(pMethod, codeStart, methodRegionInfo.hotSize, &config);
170170
}

src/native/eventpipe/ep-thread.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ ep_thread_create_activity_id (
117117
EP_ASSERT (activity_id != NULL);
118118
EP_ASSERT (activity_id_len == EP_ACTIVITY_ID_SIZE);
119119

120-
minipal_guid_v4_create ((minipal_guid_t *)(activity_id));
120+
minipal_guid_v4_create (((minipal_guid_t *)()activity_id));
121121
}
122122

123123
static

src/native/minipal/guid.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ typedef struct minipal_guid__
3232

3333
/**
3434
* Define the buffer length required to store a GUID string, including the null terminator.
35-
*
36-
* This accounts for the standard GUID format: "{12345678-1234-1234-1234-123456789abc}"
35+
*
36+
* This accounts for the standard GUID format: "{12345678-1234-1234-1234-123456789abc}"
3737
* which consists of 38 characters plus 1 null-terminating character.
3838
*/
3939
#define MINIPAL_GUID_BUFFER_LEN (ARRAY_SIZE("{12345678-1234-1234-1234-123456789abc}"))

0 commit comments

Comments
 (0)