Skip to content

Commit

Permalink
Use C++17 [[fallthrough]] in 1 file inc ../xplat/hermes/lib/Parser/JS…
Browse files Browse the repository at this point in the history
…ParserImpl.cpp

Reviewed By: dmm-fb

Differential Revision: D58818996

fbshipit-source-id: da378ab27ab61fec5d68a1a25bb349ea44c88d26
  • Loading branch information
r-barnes authored and facebook-github-bot committed Jun 20, 2024
1 parent 0d6d1a8 commit 372c2cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Parser/JSParserImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4709,7 +4709,7 @@ Optional<ESTree::ClassBodyNode *> JSParserImpl::parseClassBody(SMLoc startLoc) {
isStatic = true;
advance();
}
// intentional fallthrough
LLVM_FALLTHROUGH;
default: {
// ClassElement
auto optElem = parseClassElement(
Expand Down

0 comments on commit 372c2cc

Please sign in to comment.