LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 51802 - False positive: cppcoreguidelines-pro-type-member-init
Summary: False positive: cppcoreguidelines-pro-type-member-init
Status: RESOLVED DUPLICATE of bug 32231
Alias: None
Product: clang-tools-extra
Classification: Unclassified
Component: clang-tidy (show other bugs)
Version: unspecified
Hardware: PC Linux
: P normal
Assignee: Unassigned Clang Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-09 00:47 PDT by Carlos Galvez
Modified: 2021-11-05 06:29 PDT (History)
6 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Galvez 2021-09-09 00:47:17 PDT
Clang-tidy doesn't seem to understand that delegating constructors do initialize class members:

https://godbolt.org/z/j59P4dscx
Comment 1 Jochen Topf 2021-11-05 06:29:33 PDT

*** This bug has been marked as a duplicate of bug 32231 ***