interface: drop DiagnosticsEngine macro
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Sun, 19 Oct 2025 16:38:30 +0000 (19 18:38 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Sat, 22 Nov 2025 14:26:12 +0000 (22 15:26 +0100)
The define was introduced in isl-0.07-233-g87c94064e8
(interface/extract_interface.cc: adjust to rename of Diagnostic in clang,
Thu Oct 13 16:26:02 2011 +0200), but is only needed for versions of clang
before clang 3.0, while clang 3.5 is documented
as the minimal supported version.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
m4/ax_detect_clang.m4

index 6e59396..efb528f 100644 (file)
@@ -97,9 +97,6 @@ AC_EGREP_HEADER([getImmediateExpansionRange], [clang/Basic/SourceManager.h],
        [getImmediateInstantiationRange],
        [Define to getImmediateInstantiationRange for older versions of clang])]
 )
-AC_EGREP_HEADER([DiagnosticsEngine], [clang/Basic/Diagnostic.h], [],
-       [AC_DEFINE([DiagnosticsEngine], [Diagnostic],
-       [Define to Diagnostic for older versions of clang])])
 AC_EGREP_HEADER([ArrayRef], [clang/Driver/Driver.h],
        [AC_DEFINE([USE_ARRAYREF], [],
                [Define if Driver::BuildCompilation takes ArrayRef])