Normally, Clang will not make dllimport functions available for inlining if they reference non-imported symbols, as this can lead to confusing link errors. But if the function is marked always_inline, the user presumably knows what they're doing and the attribute should be honored.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests