Issue |
95895
|
Summary |
Unexpected controlflow in `ParseTentative.cpp`
|
Labels |
good first issue,
clang:frontend,
objective-c
|
Assignees |
|
Reporter |
tbaederr
|
This code looks weird:
https://github.com/llvm/llvm-project/blob/6b4b29f85900995b2a3b817548be4a534d46763b/clang/lib/Parse/ParseTentative.cpp#L1960-L1980
The `continue` is the same as a `break` here, because of the `while(false)`. Since this is parsing an "identifier-list", I suppose the code is trying to parse a list of identifiers followed by optional commas?
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs