Fix handling of default construction where the constructor has a default arg.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| clang-tools-extra/test/clang-tidy/checkers/bugprone-unused-raii.cpp | ||
|---|---|---|
| 49–53 | Its not obvious from the code, but this should work if there are multiple default args. Can that behaviour be demonstrated? | |
Comment Actions
LG, with 1 nit.
| clang-tools-extra/test/clang-tidy/checkers/bugprone-unused-raii.cpp | ||
|---|---|---|
| 81–82 | Is this necessary? | |
Its not obvious from the code, but this should work if there are multiple default args. Can that behaviour be demonstrated?