[llvm] r303365 - Reduce gcc-7 warnings by fall-through comments.
Galina Kistanova via llvm-commits
llvm-commits at lists.llvm.org
Thu May 18 10:53:47 PDT 2017
Author: gkistanova
Date: Thu May 18 12:53:47 2017
New Revision: 303365
URL: http://llvm.org/viewvc/llvm-project?rev=303365&view=rev
Log:
Reduce gcc-7 warnings by fall-through comments.
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=303365&r1=303364&r2=303365&view=diff
==============================================================================
--- llvm/trunk/lib/Demangle/ItaniumDemangle.cpp (original)
+++ llvm/trunk/lib/Demangle/ItaniumDemangle.cpp Thu May 18 12:53:47 2017
@@ -1947,7 +1947,7 @@ static const char *parse_type(const char
break;
}
}
- // drop through
+ // falls through
default:
// must check for builtin-types before class-enum-types to avoid
// ambiguities with operator-names
More information about the llvm-commits
mailing list