[PATCH] D51105: [Support] Fix some Wundef warnings

Sven van Haastregt via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 22 08:30:50 PDT 2018


svenvh created this revision.
Herald added a subscriber: llvm-commits.

For the _WIN32 macro, it is the definedness that matters rather than
the value.  Most uses already rely on the definedness; this commit
fixes the few remaining uses that relied on the value.


Repository:
  rL LLVM

https://reviews.llvm.org/D51105

Files:
  lib/Support/COM.cpp
  lib/Support/CodeGenCoverage.cpp
  lib/Support/Locale.cpp
  lib/Support/LockFileManager.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51105.161969.patch
Type: text/x-patch
Size: 2643 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180822/cf628545/attachment.bin>


More information about the llvm-commits mailing list