Skip to content

Commit ec2c950

Browse files
committed
Add missed case
1 parent 793b762 commit ec2c950

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Parse/ParsePragma.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,8 +1420,8 @@ bool Parser::HandlePragmaLoopHint(LoopHint &Hint) {
14201420
// Return a valid hint if pragma unroll or nounroll were specified
14211421
// without an argument.
14221422
auto IsLoopHint = llvm::StringSwitch<bool>(PragmaNameInfo->getName())
1423-
.Cases("unroll", "nounroll", "unroll_and_jam",
1424-
"nounroll_and_jam", true)
1423+
.Cases({"unroll", "nounroll", "unroll_and_jam",
1424+
"nounroll_and_jam"}, true)
14251425
.Default(false);
14261426

14271427
if (Toks.empty() && IsLoopHint) {

0 commit comments

Comments
 (0)