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)
commit069736222b93ff74a0fa0efdf454c31e07dd9696
tree3e21259dcbd16d0e5378dae2055db2af3f3676da
parent525fdfc11ee30424f4862c5ab1c4b041bd321f8e
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.

llvm-svn: 212385
clang/lib/ARCMigrate/PlistReporter.cpp