Skip to content
Commit e18c2d2c authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

os_log: When there are multiple privacy annotations in the format

string, choose the strictest one instead of the last.

Also fix an undefined behavior. Move the pointer update to a later point to
avoid adding StringRef::npos to the pointer.

rdar://problem/40706280

llvm-svn: 336863
parent ef08aec9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment