add back support for older versions of clang
commitb38a4bd422c3741f28f35ed951786f3ae7fa1812
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 5 Jun 2017 18:36:37 +0000 (5 20:36 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Tue, 6 Jun 2017 06:28:21 +0000 (6 08:28 +0200)
tree02cbf8f370586e45209cfd4ed6089283df777f45
parent26430a4199342c269cd379e0bab0b5ee96a7971e
add back support for older versions of clang

Commit 4cb06c8 (support inlining of non-outermost call expressions,
Thu Mar 2 18:37:43 2017 +0100) introduced the first use of the getReturnType
method, but this method was called getResultType in earlier versions
of clang.  Resort to that method if getReturnType cannot be found.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
inlined_calls.cc
m4/ax_detect_clang.m4