Searched refs:enum_decl (Results 1 – 10 of 10) sorted by relevance
73 } else if (EnumDecl* enum_decl = dyn_cast<EnumDecl>(tag)) { in CheckTag() local74 SourceLocation enum_location = enum_decl->getInnerLocStart(); in CheckTag()78 std::string base_name = enum_decl->getNameAsString(); in CheckTag()82 CheckChromeEnum(enum_location, enum_decl); in CheckTag()
248 EnumDecl* enum_decl) { in CheckChromeEnum() argument256 for (iter = enum_decl->enumerator_begin(); in CheckChromeEnum()257 iter != enum_decl->enumerator_end(); in CheckChromeEnum()274 for (iter = enum_decl->enumerator_begin(); in CheckChromeEnum()275 iter != enum_decl->enumerator_end(); in CheckChromeEnum()
72 clang::EnumDecl* enum_decl) { in CheckChromeEnum() argument
62 clang::EnumDecl* enum_decl) override;
178 enum_decl = ['enum UNIQUE_VALIDATION_ERROR_CODE {']182 enum_decl.append(' %s = %d,' % (enum, int(enum.split('_')[-1])))184 …enum_decl.append(' %sMAX_ENUM = %d,' % (validation_error_enum_name, int(enum.split('_')[-1]) + …185 enum_decl.append('};')187 file_contents.extend(enum_decl)
28 {% from "enum_macros.tmpl" import enum_decl -%}33 {{enum_decl(enum)|indent(2)}}
1 {% from "enum_macros.tmpl" import enum_decl -%}13 {{enum_decl(enum)|indent(2)}}
4 {%- macro enum_decl(enum) %}
15 {%- from "enum_macros.tmpl" import enum_decl %}95 {{enum_decl(enum)}}
55 std::string enum_decl; member505 code += std::string("public ") + lang_.enum_decl + enum_def.name; in GenEnum()