[PATCH] D75584: Fix for MSVC

Frank Laub via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 16:40:19 PST 2020


flaub created this revision.
flaub added reviewers: stella.stamenova, nicolasvasilache.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a project: LLVM.

Fix for VS2017 bug.

Apparently there is a bug in VS2017 concerning compile-time constant
expressions.
https://developercommunityapi.westus.cloudapp.azure.com/content/problem/110435/not-compile-time-constant-expression.html

This change works with any C++11 compiler (including VS2017) and is a little bit
easier to read.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75584

Files:
  mlir/include/mlir/ExecutionEngine/CRunnerUtils.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75584.248068.patch
Type: text/x-patch
Size: 4000 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200304/fa1b3713/attachment.bin>


More information about the llvm-commits mailing list