This is an archive of the discontinued LLVM Phabricator instance.

[analyzer][NFC] Add partial specializations for ProgramStateTraits
ClosedPublic

Authored by steakhal on Jun 1 2022, 11:53 AM.

Diff Detail

Event Timeline

steakhal created this revision.Jun 1 2022, 11:53 AM
Herald added a project: Restricted Project. · View Herald Transcript
steakhal requested review of this revision.Jun 1 2022, 11:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 1 2022, 11:53 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Nice!

clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h
279–280

How is it different than the partial specialization for integral types? Could we have the 2 contracted?

steakhal updated this revision to Diff 433734.Jun 2 2022, 7:08 AM
steakhal marked an inline comment as done.
  • host common implementation
martong accepted this revision.Jun 2 2022, 7:26 AM

LGTM!

clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h
292
This revision is now accepted and ready to land.Jun 2 2022, 7:26 AM
This revision was automatically updated to reflect the committed changes.
steakhal marked an inline comment as done.