This fixes bug: https://llvm.org/bugs/show_bug.cgi?id=27325
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Yes. We can't simply change the type of DeclStmt when we only look one of the VarDecls and how it is initialized.
Comment Actions
Also, all tests still pass. Alex, do you have any particular concern with this approach?
Comment Actions
Even if we can't easily provide an automated fix (we could teach the check to split declarations, but it might not worth the effort), we could still emit a warning. WDYT?
Comment Actions
Sounds good. Done. We now still issue the warning, but don't issue fixes when it's not a single decl.