diff options
Diffstat (limited to 'llvm/examples/BrainF/BrainF.cpp')
-rw-r--r-- | llvm/examples/BrainF/BrainF.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/examples/BrainF/BrainF.cpp b/llvm/examples/BrainF/BrainF.cpp index 97ecdab0fe9..91d813a6c3b 100644 --- a/llvm/examples/BrainF/BrainF.cpp +++ b/llvm/examples/BrainF/BrainF.cpp @@ -339,7 +339,7 @@ void BrainF::readloop(PHINode *phi, BasicBlock *oldbb, BasicBlock *testbb, switch(c) { case '-': direction = -1; - // Fall through + LLVM_FALLTHROUGH; case '+': if (cursym == SYM_CHANGE) { @@ -360,7 +360,7 @@ void BrainF::readloop(PHINode *phi, BasicBlock *oldbb, BasicBlock *testbb, case '<': direction = -1; - // Fall through + LLVM_FALLTHROUGH; case '>': if (cursym == SYM_MOVE) { |