From 73d02f3a808903f02dd0b547e7db9ff00efdf6c5 Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Thu, 8 Aug 2019 23:09:58 +0200 Subject: fix some compiler warnings --- llvm_mode/split-compares-pass.so.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'llvm_mode/split-compares-pass.so.cc') diff --git a/llvm_mode/split-compares-pass.so.cc b/llvm_mode/split-compares-pass.so.cc index c025628f..a74b60fa 100644 --- a/llvm_mode/split-compares-pass.so.cc +++ b/llvm_mode/split-compares-pass.so.cc @@ -495,14 +495,12 @@ bool SplitComparesTransform::runOnModule(Module &M) { errs() << "Running split-compare-pass " << 64 << "\n"; splitCompares(M, 64); - [[clang::fallthrough]]; - /* fallthrough */ + [[clang::fallthrough]]; /*FALLTHRU*/ /* FALLTHROUGH */ case 32: errs() << "Running split-compare-pass " << 32 << "\n"; splitCompares(M, 32); - [[clang::fallthrough]]; - /* fallthrough */ + [[clang::fallthrough]]; /*FALLTHRU*/ /* FALLTHROUGH */ case 16: errs() << "Running split-compare-pass " << 16 << "\n"; splitCompares(M, 16); -- cgit 1.4.1