[llvm] r303375 - LLVM_FALLTHROUGH instead of fall-through comment.
Galina Kistanova via llvm-commits
llvm-commits at lists.llvm.org
Thu May 18 13:01:52 PDT 2017
Author: gkistanova
Date: Thu May 18 15:01:52 2017
New Revision: 303375
URL: http://llvm.org/viewvc/llvm-project?rev=303375&view=rev
Log:
LLVM_FALLTHROUGH instead of fall-through comment.
Modified:
llvm/trunk/lib/Demangle/ItaniumDemangle.cpp
Modified: llvm/trunk/lib/Demangle/ItaniumDemangle.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Demangle/ItaniumDemangle.cpp?rev=303375&r1=303374&r2=303375&view=diff
==============================================================================
--- llvm/trunk/lib/Demangle/ItaniumDemangle.cpp (original)
+++ llvm/trunk/lib/Demangle/ItaniumDemangle.cpp Thu May 18 15:01:52 2017
@@ -1947,7 +1947,7 @@ static const char *parse_type(const char
break;
}
}
- // falls through
+ LLVM_FALLTHROUGH;
default:
// must check for builtin-types before class-enum-types to avoid
// ambiguities with operator-names
More information about the llvm-commits
mailing list