@@ -9,7 +9,7 @@ namespace cppcodegen {
9
9
10
10
namespace {
11
11
12
- static void emitAttribute (std::uint32_t attr, std::ostream& stm)
12
+ static void EmitAttribute (std::uint32_t attr, std::ostream& stm)
13
13
{
14
14
if (attr & cppast::CppIdentifierAttrib::STATIC)
15
15
stm << " static " ;
@@ -28,7 +28,7 @@ static void emitAttribute(std::uint32_t attr, std::ostream& stm)
28
28
stm << " mutable " ;
29
29
}
30
30
31
- static void emitTypeModifier (const cppast::CppTypeModifier& modifier, std::ostream& stm)
31
+ static void EmitTypeModifier (const cppast::CppTypeModifier& modifier, std::ostream& stm)
32
32
{
33
33
std::uint8_t constBit = 0 ;
34
34
for (constBit = 0 ; constBit < modifier.ptrLevel_ ; ++constBit)
@@ -297,15 +297,15 @@ void CppWriter::emitUsingNamespace(const cppast::CppUsingNamespaceDecl& usingNsO
297
297
void CppWriter::emitVarType (const cppast::CppVarType& varTypeObj, std::ostream& stm) const
298
298
{
299
299
const auto attr = varTypeObj.typeAttr () | (IsConst (varTypeObj) ? cppast::CppIdentifierAttrib::CONST : 0 );
300
- emitAttribute (attr, stm);
300
+ EmitAttribute (attr, stm);
301
301
if (varTypeObj.compound ())
302
302
emit (*varTypeObj.compound (), stm, CppIndent (), true );
303
303
else
304
304
stm << varTypeObj.baseType ();
305
305
const auto & origTypeModifier = varTypeObj.typeModifier ();
306
306
const cppast::CppTypeModifier typeModifier {
307
307
origTypeModifier.refType_ , origTypeModifier.ptrLevel_ , origTypeModifier.constBits_ & ~1 };
308
- emitTypeModifier (typeModifier, stm);
308
+ EmitTypeModifier (typeModifier, stm);
309
309
if (varTypeObj.parameterPack ())
310
310
stm << " ..." ;
311
311
}
@@ -378,7 +378,7 @@ void CppWriter::emitVarList(const cppast::CppVarList& varListObj, std::ostream&
378
378
{
379
379
stm << " , " ;
380
380
const auto & decl = varDeclList[i];
381
- emitTypeModifier (decl, stm);
381
+ EmitTypeModifier (decl, stm);
382
382
emitVarDecl (stm, decl, false );
383
383
}
384
384
0 commit comments