From 266135fc7a1c4fc5471b247456ebacc7ba2e9a29 Mon Sep 17 00:00:00 2001 From: Dylan McKay Date: Thu, 13 Jul 2017 08:39:46 +0000 Subject: [PATCH] [AVR] Add a 'LLVM_FALLTHROUGH' statement to the AsmParser Should fix warnings in the build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307890 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AVR/AsmParser/AVRAsmParser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Target/AVR/AsmParser/AVRAsmParser.cpp b/lib/Target/AVR/AsmParser/AVRAsmParser.cpp index cf52e552978..ed9b1b8b121 100644 --- a/lib/Target/AVR/AsmParser/AVRAsmParser.cpp +++ b/lib/Target/AVR/AsmParser/AVRAsmParser.cpp @@ -466,6 +466,7 @@ bool AVRAsmParser::parseOperand(OperandVector &Operands) { if (!tryParseRegisterOperand(Operands)) { return false; } + LLVM_FALLTHROUGH; case AsmToken::LParen: case AsmToken::Integer: case AsmToken::Dot: