Browse Source

Changed comment

pull/16/head
marcos henrich 12 years ago
parent
commit
83ac0cdf71
  1. 3
      src/Generator/Passes/CheckDuplicatedNamesPass.cs

3
src/Generator/Passes/CheckDuplicatedNamesPass.cs

@ -105,7 +105,8 @@ namespace CppSharp.Passes @@ -105,7 +105,8 @@ namespace CppSharp.Passes
if (AlreadyVisited(@class) || @class.IsIncomplete)
return false;
// In order to DeclarationName works, we visit methods first.
// DeclarationName should always process methods first,
// so we visit methods first.
foreach (var method in @class.Methods)
VisitMethodDecl(method);

Loading…
Cancel
Save