File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -384,7 +384,7 @@ namespace attributes {
384384
385385 bool invisible () const {
386386 Param invisibleParam = paramNamed (kExportInvisible );
387- if (!invisibleParam.empty ())
387+ if (!invisibleParam.empty ())
388388 return invisibleParam.value () == kParamValueTrue || // #nocov
389389 invisibleParam.value () == kParamValueTRUE ; // #nocov
390390 else
@@ -2435,13 +2435,13 @@ namespace attributes {
24352435 std::string name = attribute.exportedName ();
24362436
24372437 // determine if return invisible
2438- bool invisible = function.type ().isVoid () || attribute.invisible ();
2438+ bool isInvisibleOrVoid = function.type ().isVoid () || attribute.invisible ();
24392439
24402440 // write the function
24412441 ostr () << name << " <- function(" << args << " ) {"
24422442 << std::endl;
24432443 ostr () << " " ;
2444- if (invisible )
2444+ if (isInvisibleOrVoid )
24452445 ostr () << " invisible(" ; // #nocov
24462446 ostr () << " .Call(" ;
24472447 if (!registration_)
@@ -2459,7 +2459,7 @@ namespace attributes {
24592459 for (size_t i = 0 ; i<arguments.size (); i++)
24602460 ostr () << " , " << arguments[i].name (); // #nocov
24612461 ostr () << " )" ;
2462- if (invisible )
2462+ if (isInvisibleOrVoid )
24632463 ostr () << " )" ; // #nocov
24642464 ostr () << std::endl;
24652465
You can’t perform that action at this time.
0 commit comments