bugfinder.processing.cleaning.replace_litterals
- class bugfinder.processing.cleaning.replace_litterals.ReplaceLitterals(dataset, deprecation_warning=None)
Bases:
AbstractCppFileProcessing
Replace unrecognized litterals in the test cases
- execute()
Execute the processing
- process_file(filepath)
Replace litteral in a single file
- replacements = {'(.*)L"([^"]*)"(.*)': '\\g<1>L("\\g<2>")\\g<3>', "(.*)L\\'([^\\']*)\\'(.*)": "\\g<1>L('\\g<2>')\\g<3>"}