[PATCH] D92514: Use std::is_trivially_copyable

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 2 16:47:57 PST 2020


MaskRay added a subscriber: aheejin.
MaskRay added a comment.

MSVC is unhappy (https://buildkite.com/llvm-project/premerge-checks/builds/18597#12d9421a-c989-4774-b9fb-e0823600baa4)

  FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/WasmEHPrepare.cpp.obj
  sccache C:\BuildTools\VC\Tools\MSVC\14.27.29110\bin\Hostx64\x64\cl.exe  /nologo /TP -DBUILD_EXAMPLES -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib\CodeGen -IC:\ws\w32-1\llvm-project\premerge-checks\llvm\lib\CodeGen -Iinclude -IC:\ws\w32-1\llvm-project\premerge-checks\llvm\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:__cplusplus /Zc:strictStrings /Oi /Zc:rvalueCast /bigobj /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd4324 -w14062 -we4238 /Gw /MD /O2 /Ob2    /EHs-c- /GR- -UNDEBUG -std:c++14 /showIncludes /Folib\CodeGen\CMakeFiles\LLVMCodeGen.dir\WasmEHPrepare.cpp.obj /Fdlib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LLVMCodeGen.pdb /FS -c C:\ws\w32-1\llvm-project\premerge-checks\llvm\lib\CodeGen\WasmEHPrepare.cpp
  C:\ws\w32-1\llvm-project\premerge-checks\llvm\include\llvm/ADT/BreadthFirstIterator.h(96): error C2280: 'llvm::Optional<std::pair<llvm::DomTreeNodeBase<llvm::BasicBlock> *,llvm::Optional<llvm::DomTreeNodeBase<llvm::BasicBlock> *const *>>> &llvm::Optional<std::pair<llvm::DomTreeNodeBase<llvm::BasicBlock> *,llvm::Optional<llvm::DomTreeNodeBase<llvm::BasicBlock> *const *>>>::operator =(const llvm::Optional<std::pair<llvm::DomTreeNodeBase<llvm::BasicBlock> *,llvm::Optional<llvm::DomTreeNodeBase<llvm::BasicBlock> *const *>>> &)': attempting to reference a deleted function
  C:\ws\w32-1\llvm-project\premerge-checks\llvm\include\llvm/ADT/Optional.h(250): note: see declaration of 'llvm::Optional<std::pair<llvm::DomTreeNodeBase<llvm::BasicBlock> *,llvm::Optional<llvm::DomTreeNodeBase<llvm::BasicBlock> *const *>>>::operator ='

@aheejin


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92514



More information about the llvm-commits mailing list