llvm-project
[analyzer] Fix FP for cplusplus.placement new #149240
#150161
Merged

Commits
  • fix false positive, warning is now only triggered when the place size is strictly less than target size. Add test cases for when place size == or > or < than target size.
    Aethezz committed 155 days ago
  • Merge branch 'main' into analyzer-Fix-#149240-FP-for-cplusplus.placement-new
    Aethezz committed 155 days ago
  • Fixed formatting issues and removed expected warnings from other test cases
    Aethezz committed 155 days ago
  • removed the redundant test file, update comments in placement-new.cpp test file to explain the removal of checker warning the rare case of allocating extra memory, and removed std::string explicit conversion operator
    Aethezz committed 153 days ago
  • Updated comments in test, added MSVC related links, and dropped the dangling comment
    Aethezz committed 149 days ago
Loading