aganea wrote: > > Maybe this is a simpler test case to work with?
Simplified test. The difference between the "inline" and "__forceinline" functions is that with `/Ox`, `cl.exe` would inline the access to the dllimport'ed static when using `__forceinline` whereas `clang-cl.exe` does it in both cases. I can leave only one of the two variants if you wish. https://github.com/llvm/llvm-project/pull/171628 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
