Skip to content

Commit 1ff5316

Browse files
committed
clang-format
1 parent 7ce26a8 commit 1ff5316

3 files changed

Lines changed: 10 additions & 9 deletions

File tree

src/common/filesystem_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ bool FileSysUtilsParsePathList(std::string& path_list, std::vector<std::string>&
224224

225225
bool FileSysUtilsFindFilesInPath(const std::string& path, std::vector<std::string>& files) {
226226
// Append "\\*" to file name to list folder contents. This appears to contradict the
227-
// MS documentation and example code, but verified empirically
227+
// MS documentation and example code, but verified empirically
228228
std::string starred_path = path + DIRECTORY_SYMBOL + "*";
229229

230230
WIN32_FIND_DATAW file_data;

src/loader/runtime_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ void RuntimeInterface::GetInstanceExtensionProperties(std::vector<XrExtensionPro
236236
std::vector<XrExtensionProperties> runtime_extension_properties;
237237
PFN_xrEnumerateInstanceExtensionProperties rt_xrEnumerateInstanceExtensionProperties;
238238
_get_instance_proc_addr(XR_NULL_HANDLE, "xrEnumerateInstanceExtensionProperties",
239-
reinterpret_cast<PFN_xrVoidFunction*>(&rt_xrEnumerateInstanceExtensionProperties));
239+
reinterpret_cast<PFN_xrVoidFunction*>(&rt_xrEnumerateInstanceExtensionProperties));
240240
uint32_t count = 0;
241241
uint32_t count_output = 0;
242242
// Get the count from the runtime

src/tests/loader_test/loader_test.cpp

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1637,7 +1637,7 @@ DEFINE_TEST(TestDebugUtils) {
16371637

16381638
// Destroy what we created
16391639
TEST_EQUAL(pfn_destroy_debug_utils_messager_ext(debug_utils_messenger), XR_SUCCESS,
1640-
"Destroying the debug utils messenger for number of objects testing")
1640+
"Destroying the debug utils messenger for number of objects testing")
16411641
xrDestroyInstance(instance);
16421642

16431643
// Path 5 - Test object names
@@ -1660,10 +1660,10 @@ DEFINE_TEST(TestDebugUtils) {
16601660
TEST_REPORT(TestDebugUtils)
16611661
return;
16621662
}
1663-
1663+
16641664
ext_name_array[0] = gfx_name.c_str();
16651665
ext_name_array[1] = dbg_ext_name;
1666-
1666+
16671667
instance_ci.enabledExtensionNames = ext_name_array;
16681668
instance_ci.enabledExtensionCount = 2;
16691669

@@ -1828,8 +1828,9 @@ DEFINE_TEST(TestDebugUtils) {
18281828
TEST_EQUAL(pfn_get_d3d11_graphics_requirements_khr(instance, systemId, &d3d11_graphics_requirements), XR_SUCCESS,
18291829
"TestDebugUtils calling xrGetD3D11GraphicsRequirementsKHR");
18301830

1831-
ID3D11Device *d3d_device;
1832-
HRESULT res = D3D11CreateDevice(NULL, D3D_DRIVER_TYPE_HARDWARE, NULL, 0, NULL, 0, D3D11_SDK_VERSION, &d3d_device, NULL, NULL);
1831+
ID3D11Device* d3d_device;
1832+
HRESULT res =
1833+
D3D11CreateDevice(NULL, D3D_DRIVER_TYPE_HARDWARE, NULL, 0, NULL, 0, D3D11_SDK_VERSION, &d3d_device, NULL, NULL);
18331834
TEST_EQUAL(res, S_OK, "TestDebugUtils creating D3D11 reference device")
18341835

18351836
d3d11_graphics_binding.type = XR_TYPE_GRAPHICS_BINDING_D3D11_KHR;
@@ -2042,8 +2043,8 @@ DEFINE_TEST(TestDebugUtils) {
20422043

20432044
#ifdef XR_USE_GRAPHICS_API_D3D11
20442045
if (d3d11_graphics_binding.device) d3d11_graphics_binding.device->Release();
2045-
#endif
2046-
}
2046+
#endif
2047+
}
20472048

20482049
// Destroy what we created
20492050
TEST_EQUAL(pfn_destroy_debug_utils_messager_ext(debug_utils_messenger), XR_SUCCESS,

0 commit comments

Comments
 (0)