[SR-7439] os_log treats string constant arguments as private #49982
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
SDKOverlay
standard library
Area: Standard library umbrella
Environment
Apple Swift version 4.1 (swiftlang-902.0.48 clang-902.0.37.1)
Target: x86_64-apple-darwin17.5.0
Additional Detail from JIRA
md5: d7ad5afa08215a2a48c564f7f67a0711
Issue Description:
The C os_log() functions treat string constant arguments (both C strings and NSStrings) as public by default. However, the Swift overlay function does not. This is rather annoying.
Implementing this also means having some way to determine that a
String
(held in aCVarArg
) is actually backed by aStaticString
.The text was updated successfully, but these errors were encountered: