diff options
author | Alexander Richardson <arichardson.kde@gmail.com> | 2018-03-27 10:08:12 +0000 |
---|---|---|
committer | Alexander Richardson <arichardson.kde@gmail.com> | 2018-03-27 10:08:12 +0000 |
commit | e8059b1de44ff96530d151515123a28048c59833 (patch) | |
tree | 2224b96066df372f38ee102f62748c8826d2d61c /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | b1ad66ff12991ac4ef464de2540199f784cbcffd (diff) | |
download | llvm-e8059b1de44ff96530d151515123a28048c59833.zip llvm-e8059b1de44ff96530d151515123a28048c59833.tar.gz llvm-e8059b1de44ff96530d151515123a28048c59833.tar.bz2 |
[MIPS] Add static_assert that all Fixups are handled in getFixupKind
Summary:
I recently added a new Fixup kind to our fork of LLVM but forgot to add
it to the table in MipsAsmBackend.cpp. With this static_assert the error
would have been caught instead of zero-initializing the array entries for
the new fixups.
Reviewers: sdardis, atanasyan
Reviewed By: atanasyan
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D44895
llvm-svn: 328616
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions