summaryrefslogtreecommitdiffstats
path: root/llvm/examples
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-08-17 20:30:52 +0000
committerJustin Bogner <mail@justinbogner.com>2016-08-17 20:30:52 +0000
commitcd1d5aaf2e317122ddb08bf8d026a6cf8b42a9d8 (patch)
treea7454511a28342557b6b2722f014529f399ecffe /llvm/examples
parentde3aea04129bcde27b025e4619519b4ff01be226 (diff)
downloadbcm5719-llvm-cd1d5aaf2e317122ddb08bf8d026a6cf8b42a9d8.tar.gz
bcm5719-llvm-cd1d5aaf2e317122ddb08bf8d026a6cf8b42a9d8.zip
Replace a few more "fall through" comments with LLVM_FALLTHROUGH
Follow up to r278902. I had missed "fall through", with a space. llvm-svn: 278970
Diffstat (limited to 'llvm/examples')
-rw-r--r--llvm/examples/BrainF/BrainF.cpp4
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) {
OpenPOWER on IntegriCloud