Skip to content

Commit

Permalink
hfuzz-cc: add clang-19
Browse files Browse the repository at this point in the history
  • Loading branch information
robertswiecki committed Jul 21, 2024
1 parent 02f8a7f commit b4f72b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hfuzz_cc/hfuzz-cc.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ static int execCC(int argc, char** argv) {
if (isCXX) {
/* Try the default one, then the newest ones (hopefully) in order */
hf_execvp("clang++", argv);
hf_execvp("clang++-19.0", argv);
hf_execvp("clang++-19", argv);
hf_execvp("clang++-18.0", argv);
hf_execvp("clang++-18", argv);
hf_execvp("clang++-17.0", argv);
Expand Down Expand Up @@ -216,6 +218,8 @@ static int execCC(int argc, char** argv) {
} else {
/* Try the default one, then the newest ones (hopefully) in order */
hf_execvp("clang", argv);
hf_execvp("clang-19.0", argv);
hf_execvp("clang-19", argv);
hf_execvp("clang-18.0", argv);
hf_execvp("clang-18", argv);
hf_execvp("clang-17.0", argv);
Expand Down

0 comments on commit b4f72b4

Please sign in to comment.