abitidy: postone reachability attribute clearing pass

This pass deletes certain attributes unconditionally. If libabigail
perfectly reflected (non-)reachability in the attributes then this
pass would do almost nothing, if done after removing unreachable
elements. As it happens, libabigail's notion of reachability differs
from abitidy's.

In any case the overall work done should be minimised by postponing
this work until after pruning unreachable elements but just before
eliminating duplicate types.

	* tools/abitidy.cc (main): Move clear-non-reachable pass to
	just before duplicate-handling pass.

Change-Id: I00cb09838fd467903a357754713db7acee0e490c
Signed-off-by: Giuliano Procida <gprocida@google.com>
1 file changed