[cfe-users] Checking if a class can be copy constructed

2019-12-16 Thread Luke Zhou via cfe-users
Hello, I’ve been trying to do some code generation using clang (not libclang), and want to find out if a class can be copy constructed. I’ve tried testing if the copy constructor is deleted, but this does not work well with templates. For example, I have a class that contains a std::vector, who

[cfe-users] Clang and CDO, CDQ x64 instructions

2019-12-16 Thread Victor via cfe-users
Hello Clang users and developers! I have problem compiling some generated assembly code with clang: mc.s:35739:2: error: invalid instruction mnemonic 'cdo' Does Clang support x64 CDO and CDQ instructions? The code is generated by MLRISC library. A bit older versions used CQTO/CLTD and that worked