This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] SATest: Add posibility to download source from git and zip
ClosedPublic

Authored by vsavchenko on Jun 10 2020, 6:15 AM.

Diff Detail

Event Timeline

vsavchenko created this revision.Jun 10 2020, 6:15 AM
NoQ accepted this revision.Jun 10 2020, 10:14 AM

*keeps ranting that there are no lit tests so it's much harder to figure out what the code is even supposed to do as there are no examples*

This revision is now accepted and ready to land.Jun 10 2020, 10:14 AM
xazax.hun added inline comments.Jun 10 2020, 10:44 AM
clang/utils/analyzer/ProjectMap.py
14

I was wondering what is the point of inheriting from str. I am not well-versed in Python so it is more of a curiosity.

vsavchenko marked an inline comment as done.Jun 10 2020, 11:07 AM
vsavchenko added inline comments.
clang/utils/analyzer/ProjectMap.py
14

It helps with direct assignments from strings, cross-comparisons between Enum values and strings, and most importantly - serialization.

This revision was automatically updated to reflect the committed changes.