Fixes a crash in cppcoreguidelines-pro-type-member-init when checking some record types with a constructor without a body. We now check to make sure the constructor has a body before looking for missing members and base initializers.
Details
Details
- Reviewers
aaron.ballman hokein alexfh - Commits
- rG257914e7c9d1: Fix a crash in cppcoreguidelines-pro-type-member-init related to missing…
rCTE266862: Fix a crash in cppcoreguidelines-pro-type-member-init related to missing…
rL266862: Fix a crash in cppcoreguidelines-pro-type-member-init related to missing…
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
You fixing is not completed. The crash still happens, the test case see https://llvm.org/bugs/show_bug.cgi?id=27419.
Could you please take a look on it? Thanks very much.