We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd86abf commit 98d3d1fCopy full SHA for 98d3d1f
proxygen/lib/utils/gen_perfect_hash_table.sh
@@ -30,11 +30,6 @@ function generate_perfect_hash_table {
30
LC_ALL=C sort -u ${1?} | awk "${3?}" - "${2?}" > "${4?}"
31
32
# Generate output source file.
33
- # We also sub out the default 'FALLTHROUGH' comment statements as modern
34
- # compilers will raise warnings unless the fallthrough is explicit.
35
- LC_ALL=C sort -u ${1?} | awk "${6?}" - "${5?}" | \
36
- ${8:-gperf} -m5 -D --output-file="${7?}"
37
- perl -p -i -e "s/\/\*FALLTHROUGH\*\//[[fallthrough]];/g" "${7?}"
38
39
# Here we delete one of the comment lines gperf adds to the top of the file.
40
# i.e. /* Command-line: .../gperf -m5 --output-file=... */
0 commit comments