forked from Cisco-Talos/clamav-bytecode-compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clambc-compiler: Add type hints & fix unused function "genExe"
The genExe() function was using an undefined variable for the clang version number. I added the ClangLLVM class object as a parameter so I could just call clangLLVM.getClang() and remove the undefined variable. While at it, I got distracted and added a bunch of type hints and did a bit of assorted cleanup.
- Loading branch information
Showing
1 changed file
with
53 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters