mercredi 25 février 2015

Generate random useless (lorem ipsum) cpp code that compiles correctly?

I need random c++ code to test a tool that fixes minor issues detected with cpp lint.


Basically, the idea is:



  1. Generate random code.

  2. Check with cpplint

  3. Add errors randomly.

  4. Check with cpplint.

  5. Run fixer.

  6. Check with cpplint.

  7. Compare results between runs #1, #2 & #3





Aucun commentaire:

Enregistrer un commentaire