commit | cfaa5525b8eea6c5f7767010e04e323f76bed1ab | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Sat Jul 20 07:15:15 2013 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Sat Jul 20 07:15:15 2013 +0000 |
tree | 8077c07be7e5570fdbcd8f3061d956cc5cd002e9 | |
parent | 03bf10dc4f245a17ee4f702461cba5120cc4d09b [diff] |
DiagnosticIDs: Forbid Diag ID from being valid Diag ID is used throughout clang as a sentinel id meaning "this is an invalid diagnostic id." Confusingly, Diag ID maps to a valid, usable, diagnostic id. Instead, start diagnostic ids at ID one. Incidently, remove an unused element from StaticDiagInfo. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186760 91177308-0d34-0410-b5e6-96231b3b80d8