diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/syz-declextract/syz-declextract.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-declextract/syz-declextract.cpp b/tools/syz-declextract/syz-declextract.cpp index 8ab77f0d3..c348eb16d 100644 --- a/tools/syz-declextract/syz-declextract.cpp +++ b/tools/syz-declextract/syz-declextract.cpp @@ -444,7 +444,7 @@ public: isSyscallParam); // NOTE: The fieldType contains information we need, don't use field instead. case clang::Type::Enum: { const auto &enumDecl = llvm::dyn_cast<EnumType>(field)->getDecl(); - auto name = enumDecl->getNameAsString(); + auto name = "auto_" + enumDecl->getNameAsString(); flags.push_back(name); includes.push_back(std::filesystem::relative(SM->getFilename(enumDecl->getSourceRange().getBegin()).str())); const char *sep = " = "; |
