Kaydet (Commit) 62828c9e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Make changes of interface method parameter names a hard failure

...instead of a warning, now that all the deliberate changes have been
addressed.

Change-Id: I6075a36a560bd68826c6840992eefb8f51b939ba
üst 8a97f996
...@@ -537,12 +537,13 @@ void checkMap( ...@@ -537,12 +537,13 @@ void checkMap(
} }
if (k->name != l->name) { if (k->name != l->name) {
std::cerr std::cerr
<< "Warning: interface type " << name << "interface type " << name
<< " direct method " << i->name << " direct method " << i->name
<< " parameter #" << " parameter #"
<< k - i->parameters.begin() + 1 << k - i->parameters.begin() + 1
<< " changed name from " << k->name << " changed name from " << k->name
<< " to " << l->name << std::endl; << " to " << l->name << std::endl;
std::exit(EXIT_FAILURE);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment