diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2015-05-08 07:05:04 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2015-05-08 07:05:04 +0000 |
commit | 8eb9d1bf124c8344663aca5e45323913be7ff292 (patch) | |
tree | a37df03af0db23b9e3dc58da6f4b12089f4005df /clang/unittests/Format/FormatTestJS.cpp | |
parent | 40e7eb166aed5dfff668ab89fd2dfe07bc1c0cb8 (diff) | |
download | bcm5719-llvm-8eb9d1bf124c8344663aca5e45323913be7ff292.tar.gz bcm5719-llvm-8eb9d1bf124c8344663aca5e45323913be7ff292.zip |
[yaml2elf] Replace error message by assert call in writeSectionContent methods
Now caller of ELFState::writeSectionContent() methods is responsible to check
a section type and selects an appropriate writeSectionContent method.
So unexpected section type inside writeSectionContent method indicates
a wrong usage of the method and should be guarded by assert.
llvm-svn: 236808
Diffstat (limited to 'clang/unittests/Format/FormatTestJS.cpp')
0 files changed, 0 insertions, 0 deletions