From 5e987a8bd9d6d1b327cff640158319747d503fd2 Mon Sep 17 00:00:00 2001 From: Scott Fennell Date: Mon, 25 Apr 2022 16:02:17 -0500 Subject: [PATCH] iss #1256 add new enum type description identifier 'unnamed' to strings to look for when identifying anonymous enum (#1257) --- trick_source/codegen/Interface_Code_Gen/EnumVisitor.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trick_source/codegen/Interface_Code_Gen/EnumVisitor.cpp b/trick_source/codegen/Interface_Code_Gen/EnumVisitor.cpp index 5aeb6f23..4eefbdea 100644 --- a/trick_source/codegen/Interface_Code_Gen/EnumVisitor.cpp +++ b/trick_source/codegen/Interface_Code_Gen/EnumVisitor.cpp @@ -46,7 +46,9 @@ bool EnumVisitor::VisitEnumType(clang::EnumType *et) { size_t pos ; // If this enumeration is anonymous return an error condition if ((pos = enum_type_name.find("