os_log: Add a new privacy annotation "sensitive".
authorAkira Hatanaka <ahatanaka@apple.com>
Tue, 6 Nov 2018 06:26:17 +0000 (06:26 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Tue, 6 Nov 2018 06:26:17 +0000 (06:26 +0000)
commitfb1e4465f14a4fcf8376a6c249bcdf86af915e69
treef11106aece9ef810763f4f09fc9e5d5cc4eda363
parentb17ebff627415bdbe37e5c8c1c3926edb1c349ed
os_log: Add a new privacy annotation "sensitive".

This is a stricter privacy annotation than "private", which will be used
for data that shouldn’t be logged to disk. For backward compatibility,
the "private" bit is set too.

rdar://problem/36755912

llvm-svn: 346210
clang/include/clang/AST/FormatString.h
clang/include/clang/AST/OSLog.h
clang/lib/AST/OSLog.cpp
clang/lib/AST/PrintfFormatString.cpp
clang/test/CodeGen/builtins.c