@@ -9,7 +9,7 @@ namespace cppcodegen {
99
1010namespace {
1111
12- static void emitAttribute (std::uint32_t attr, std::ostream& stm)
12+ static void EmitAttribute (std::uint32_t attr, std::ostream& stm)
1313{
1414 if (attr & cppast::CppIdentifierAttrib::STATIC)
1515 stm << " static " ;
@@ -28,7 +28,7 @@ static void emitAttribute(std::uint32_t attr, std::ostream& stm)
2828 stm << " mutable " ;
2929}
3030
31- static void emitTypeModifier (const cppast::CppTypeModifier& modifier, std::ostream& stm)
31+ static void EmitTypeModifier (const cppast::CppTypeModifier& modifier, std::ostream& stm)
3232{
3333 std::uint8_t constBit = 0 ;
3434 for (constBit = 0 ; constBit < modifier.ptrLevel_ ; ++constBit)
@@ -297,15 +297,15 @@ void CppWriter::emitUsingNamespace(const cppast::CppUsingNamespaceDecl& usingNsO
297297void CppWriter::emitVarType (const cppast::CppVarType& varTypeObj, std::ostream& stm) const
298298{
299299 const auto attr = varTypeObj.typeAttr () | (IsConst (varTypeObj) ? cppast::CppIdentifierAttrib::CONST : 0 );
300- emitAttribute (attr, stm);
300+ EmitAttribute (attr, stm);
301301 if (varTypeObj.compound ())
302302 emit (*varTypeObj.compound (), stm, CppIndent (), true );
303303 else
304304 stm << varTypeObj.baseType ();
305305 const auto & origTypeModifier = varTypeObj.typeModifier ();
306306 const cppast::CppTypeModifier typeModifier {
307307 origTypeModifier.refType_ , origTypeModifier.ptrLevel_ , origTypeModifier.constBits_ & ~1 };
308- emitTypeModifier (typeModifier, stm);
308+ EmitTypeModifier (typeModifier, stm);
309309 if (varTypeObj.parameterPack ())
310310 stm << " ..." ;
311311}
@@ -378,7 +378,7 @@ void CppWriter::emitVarList(const cppast::CppVarList& varListObj, std::ostream&
378378 {
379379 stm << " , " ;
380380 const auto & decl = varDeclList[i];
381- emitTypeModifier (decl, stm);
381+ EmitTypeModifier (decl, stm);
382382 emitVarDecl (stm, decl, false );
383383 }
384384
0 commit comments