Skip to content

Commit

Permalink
Simplified xref query
Browse files Browse the repository at this point in the history
  • Loading branch information
tjarvstrand committed May 18, 2013
1 parent 7f74e2d commit 7aab9a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/edts/src/edts_xref.erl
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,9 @@ wait_until_started() ->

get_undefined_function_calls([]) -> [];
get_undefined_function_calls(Modules) ->
do_query("(XLin) ((XC - UC) || (XU - X - B) * XC | ~p : Mod)", [Modules]).
%% This query means: external calls (XC) from Modules to unknown function (U)
%% and local functions (L).
do_query("(XLin) ((XC | ~p : Mod) || (U + L))", [Modules]).

get_unused_exports([]) -> [];
get_unused_exports(Modules) ->
Expand Down

0 comments on commit 7aab9a7

Please sign in to comment.