llvm-project
29cb7273 - [analyzer][NFC] Out-line PathSensitiveBugReport call-stack-hint bodies (#246958)

Commit
3 days ago
[analyzer][NFC] Out-line PathSensitiveBugReport call-stack-hint bodies (#246958) - Move `PathSensitiveBugReport::markInvalid`, `addCallStackHint`, `hasCallStackHint` and `getCallStackMessage` bodies from `BugReporter.h` into `BugReporter.cpp`. - They instantiated `llvm::SmallSet` and `std::map` member functions in every TU including the header, i.e. every checker. Build-time impact (instructions retired, 196 `lib/StaticAnalyzer` TUs): - Total: -0.81% (run-to-run noise ~0.23%). - 161 TUs change by more than 0.15%, by -1.0% on average. Assisted-by: Claude Code
Author
Parents
Loading