Fixes issue #55579.
Details
Details
Diff Detail
Diff Detail
Event Timeline
clang-tools-extra/clang-tidy/bugprone/UndefinedMemoryManipulationCheck.cpp | ||
---|---|---|
27–34 | you can factor the hasDeclaration(cxxRecordDecl(isNotTriviallyCopyable())) out to avoid the copy&paste. | |
clang-tools-extra/test/clang-tidy/checkers/bugprone-undefined-memory-manipulation.cpp | ||
129 | could you please add a test with a typedef to array to ensure that those are matched as well. |
Comment Actions
Clang-Tidy tests and docs have moved to module subdirectories.
Please rebase this onto main:HEAD and:
- fold your changes into the appropriate subdirs, stripping the module prefix from new files.
- make the target check-clang-extra to validate your tests
- make the target docs-clang-tools-html to validate any docs changes
you can factor the hasDeclaration(cxxRecordDecl(isNotTriviallyCopyable())) out to avoid the copy&paste.