HomePhabricator

Change Diagnostic Category size error from runtime to compiletime

Authored by erichkeane on Aug 28 2017, 11:53 AM.

Description

Change Diagnostic Category size error from runtime to compiletime

Diagnostic Categories are fairly annoying, and are only enforced
by a runtime-debug-only assert. This puts in a touch more work
to get this all done at compile-time with static asserts

Differential Revision: https://reviews.llvm.org/D37122

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311905 91177308-0d34-0410-b5e6-96231b3b80d8
apple-llvm-split-commit: 00d1b6d2cadee0de2790f58bd00dc0d487fc3d3b
apple-llvm-split-dir: clang/

Details

This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.