From e37ad5a79e7660b0021c54d944e06152649198c9 Mon Sep 17 00:00:00 2001 From: Galina Kistanova Date: Sat, 3 Jun 2017 06:27:16 +0000 Subject: Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. llvm-svn: 304645 --- clang/lib/Frontend/CompilerInstance.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/Frontend/CompilerInstance.cpp') diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp index a7b5fa7dfd2..e92672a785d 100644 --- a/clang/lib/Frontend/CompilerInstance.cpp +++ b/clang/lib/Frontend/CompilerInstance.cpp @@ -1727,6 +1727,7 @@ CompilerInstance::loadModule(SourceLocation ImportLoc, diag::warn_module_config_mismatch) << ModuleFileName; // Fall through to error out. + LLVM_FALLTHROUGH; case ASTReader::VersionMismatch: case ASTReader::HadErrors: ModuleLoader::HadFatalFailure = true; -- cgit v1.2.3