Sema::DiagnoseSwiftName uses the constant 12 instead of the
corresponding enumerator ExpectedFunctionWithProtoType. This is
fragile and will fail if a new value gets added in the middle of the
enum.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
clang-format: please reformat the code