Skip to content

Commit 9a7f54b

Browse files
committed
[clang-fuzzer-dictionary] Skip EmptySpellingName after #89358
The dictionary entry `=""` is invalid.
1 parent da928c6 commit 9a7f54b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/tools/clang-fuzzer/dictionary/dictionary.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121

2222
static void emit(const char *Name, const char *Spelling) {
2323
static char Hex[] = "0123456789abcdef";
24+
// Skip EmptySpellingName for IsDeducible.
25+
if (!Name[0]) return;
2426

2527
printf("%s=\"", Name);
2628
unsigned char C;

0 commit comments

Comments
 (0)