summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTestJS.cpp
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2015-05-08 07:05:04 +0000
committerSimon Atanasyan <simon@atanasyan.com>2015-05-08 07:05:04 +0000
commit8eb9d1bf124c8344663aca5e45323913be7ff292 (patch)
treea37df03af0db23b9e3dc58da6f4b12089f4005df /clang/unittests/Format/FormatTestJS.cpp
parent40e7eb166aed5dfff668ab89fd2dfe07bc1c0cb8 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud