]> granicus.if.org Git - clang/commit
writeARCDiagsToPlist(): make sure all diag levels get handled
authorAlp Toker <alp@nuanti.com>
Sun, 6 Jul 2014 04:27:03 +0000 (04:27 +0000)
committerAlp Toker <alp@nuanti.com>
Sun, 6 Jul 2014 04:27:03 +0000 (04:27 +0000)
commit94c392ca3778bb9b0f07ae3d0a398b627437bcee
tree66a74b48c7c2dad8b23b3d1ffe73c5c0ab4a05e1
parente62c5d94500d514bd3683e367cf4839d39ac7f22
writeARCDiagsToPlist(): make sure all diag levels get handled

Handle 'remark' level diagnostics as warnings instead of supplemental notes,
and use a covered switch to ensure the mapping is kept up to date.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212385 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ARCMigrate/PlistReporter.cpp