diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-05-01 07:44:20 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-05-01 07:44:20 +0000 |
commit | 4aa0af346b7bb37548078dfab728d28d7776aff3 (patch) | |
tree | 8beb06767dadfaeffe2af21c0e7dd60abb0c8193 /lib/Frontend/CompilerInvocation.cpp | |
parent | 83f563cc10d6265be395b608323ec52e3370915c (diff) |
Convert the expression trait evaluation to a static function and
a switch with any default case. This both warns when an enumerator is
missing and asserts if a value sneaks through despite the warning.
While in there fix a bunch of coding style issues with this code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130648 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions