[PATCH] D52181: [benchmark] Lowercase windows specific includes

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 18 01:46:23 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL342450: [benchmark] Lowercase windows specific includes (authored by mstorsjo, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D52181?vs=165795&id=165905#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D52181

Files:
  llvm/trunk/utils/benchmark/src/colorprint.cc
  llvm/trunk/utils/benchmark/src/sleep.cc
  llvm/trunk/utils/benchmark/src/sysinfo.cc
  llvm/trunk/utils/benchmark/src/timers.cc


Index: llvm/trunk/utils/benchmark/src/timers.cc
===================================================================
--- llvm/trunk/utils/benchmark/src/timers.cc
+++ llvm/trunk/utils/benchmark/src/timers.cc
@@ -16,10 +16,10 @@
 #include "internal_macros.h"
 
 #ifdef BENCHMARK_OS_WINDOWS
-#include <Shlwapi.h>
+#include <shlwapi.h>
 #undef StrCat  // Don't let StrCat in string_util.h be renamed to lstrcatA
-#include <VersionHelpers.h>
-#include <Windows.h>
+#include <versionhelpers.h>
+#include <windows.h>
 #else
 #include <fcntl.h>
 #ifndef BENCHMARK_OS_FUCHSIA
Index: llvm/trunk/utils/benchmark/src/colorprint.cc
===================================================================
--- llvm/trunk/utils/benchmark/src/colorprint.cc
+++ llvm/trunk/utils/benchmark/src/colorprint.cc
@@ -25,7 +25,7 @@
 #include "internal_macros.h"
 
 #ifdef BENCHMARK_OS_WINDOWS
-#include <Windows.h>
+#include <windows.h>
 #include <io.h>
 #else
 #include <unistd.h>
Index: llvm/trunk/utils/benchmark/src/sysinfo.cc
===================================================================
--- llvm/trunk/utils/benchmark/src/sysinfo.cc
+++ llvm/trunk/utils/benchmark/src/sysinfo.cc
@@ -15,10 +15,10 @@
 #include "internal_macros.h"
 
 #ifdef BENCHMARK_OS_WINDOWS
-#include <Shlwapi.h>
+#include <shlwapi.h>
 #undef StrCat  // Don't let StrCat in string_util.h be renamed to lstrcatA
-#include <VersionHelpers.h>
-#include <Windows.h>
+#include <versionhelpers.h>
+#include <windows.h>
 #else
 #include <fcntl.h>
 #ifndef BENCHMARK_OS_FUCHSIA
Index: llvm/trunk/utils/benchmark/src/sleep.cc
===================================================================
--- llvm/trunk/utils/benchmark/src/sleep.cc
+++ llvm/trunk/utils/benchmark/src/sleep.cc
@@ -21,7 +21,7 @@
 #include "internal_macros.h"
 
 #ifdef BENCHMARK_OS_WINDOWS
-#include <Windows.h>
+#include <windows.h>
 #endif
 
 namespace benchmark {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52181.165905.patch
Type: text/x-patch
Size: 1880 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180918/23620342/attachment.bin>


More information about the llvm-commits mailing list