aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2014-09-21 04:13:45 +0000
committerYaron Keren <yaron.keren@gmail.com>2014-09-21 04:13:45 +0000
commit84f3816f853c373629e3a815278bcc81ca5de917 (patch)
tree7aacaf0440fe50733b66361073419987db2ea503 /clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
parentda7c5b253fbf28e847262b131d44947133e06149 (diff)
downloadllvm-84f3816f853c373629e3a815278bcc81ca5de917.zip
llvm-84f3816f853c373629e3a815278bcc81ca5de917.tar.gz
llvm-84f3816f853c373629e3a815278bcc81ca5de917.tar.bz2
Silence these C4715 warnings from Visual C++ (NFC)
llvm\tools\lld\lib\readerwriter\macho\macholinkingcontext.cpp(647): warning C4715: 'lld::MachOLinkingContext::exportSymbolNamed' : not all control paths return a value llvm\tools\lld\lib\readerwriter\macho\machonormalizedfilefromatoms.cpp(723): warning C4715: '`anonymous namespace'::Util::getSymbolTableRegion' : not all control paths return a value While all enum values do appear in the switch, an uninitialized or corrupted enum variable would not be caught without the default: case in the switch. llvm-svn: 218197
Diffstat (limited to 'clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp')
0 files changed, 0 insertions, 0 deletions