@@ -79,7 +79,7 @@ bool Converter::Convert(clang::QualType qual_type) {
7979 }
8080
8181 auto mapped = Mapper::Map (qual_type);
82- if (!mapped.empty () && mapped != ignore_rule_type_ ) {
82+ if (!mapped.empty () && mapped != token:: kIgnoreRule ) {
8383 StrCat (mapped);
8484 return false ;
8585 }
@@ -90,7 +90,7 @@ bool Converter::Convert(clang::QualType qual_type) {
9090
9191bool Converter::ConvertMappedType (clang::QualType qual_type) {
9292 std::string type_as_string = Mapper::Map (qual_type);
93- if (type_as_string == ignore_rule_type_ ) {
93+ if (type_as_string == token:: kIgnoreRule ) {
9494 return false ;
9595 }
9696 StrCat (type_as_string);
@@ -2853,7 +2853,7 @@ bool Converter::VisitArraySubscriptExpr(clang::ArraySubscriptExpr *expr) {
28532853}
28542854
28552855bool Converter::VisitCXXNullPtrLiteralExpr (clang::CXXNullPtrLiteralExpr *expr) {
2856- StrCat (keyword_default_ );
2856+ StrCat (token:: kDefault );
28572857 computed_expr_type_ = ComputedExprType::FreshPointer;
28582858 return false ;
28592859}
@@ -2883,7 +2883,7 @@ bool Converter::VisitVAArgExpr(clang::VAArgExpr *expr) {
28832883}
28842884
28852885bool Converter::VisitGNUNullExpr (clang::GNUNullExpr *expr) {
2886- StrCat (keyword_default_ );
2886+ StrCat (token:: kDefault );
28872887 computed_expr_type_ = ComputedExprType::FreshPointer;
28882888 return false ;
28892889}
@@ -3106,7 +3106,7 @@ void Converter::AddIncDecImpls(clang::EnumDecl *decl) {
31063106
31073107bool Converter::VisitCXXDefaultArgExpr (clang::CXXDefaultArgExpr *expr) {
31083108 if (expr->getType ()->isPointerType ()) {
3109- StrCat (keyword_default_ );
3109+ StrCat (token:: kDefault );
31103110 }
31113111 return false ;
31123112}
@@ -3427,7 +3427,7 @@ Converter::GetStructAttributes(const clang::RecordDecl *decl) {
34273427 return {" Copy" , " Clone" };
34283428 }
34293429
3430- std::vector<const char *> struct_attrs = {} ;
3430+ std::vector<const char *> struct_attrs;
34313431
34323432 if (RecordDerivesCopy (decl)) {
34333433 struct_attrs.emplace_back (" Copy" );
0 commit comments