[PATCH] D149999: [clang-tidy] [test] Narrow down a special case to MSVC mode

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 9 15:08:38 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rGb80febdf43d3: [clang-tidy] [test] Narrow down a special case to MSVC mode (authored by mstorsjo).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149999/new/

https://reviews.llvm.org/D149999

Files:
  clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-standard-types.h


Index: clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-standard-types.h
===================================================================
--- clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-standard-types.h
+++ clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-standard-types.h
@@ -9,7 +9,7 @@
 typedef unsigned short      uint16_t;   // NOLINT
 typedef unsigned long       uint32_t;   // NOLINT
 typedef unsigned long long  uint64_t;   // NOLINT
-#ifndef _WIN32
+#ifndef _MSC_VER
 typedef unsigned long long  size_t;     // NOLINT
 #endif
 typedef long                intptr_t;   // NOLINT


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149999.520835.patch
Type: text/x-patch
Size: 666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230509/804e4ed8/attachment.bin>


More information about the cfe-commits mailing list