interface: mark add_path function static
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Sun, 19 Oct 2025 21:27:47 +0000 (19 23:27 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Sat, 22 Nov 2025 14:26:18 +0000 (22 15:26 +0100)
This was missing from isl-0.11.1-24-g1b0a443208 (update for change in
arguments of clang's HeaderSearchOptions::AddPath,
Sun Apr 7 13:20:41 2013 +0200) and becomes more important
now that this function is about to be moved to a header.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
interface/extract_interface.cc

index e9d7bb0..79cb085 100644 (file)
@@ -290,7 +290,7 @@ static void create_preprocessor(CompilerInstance *Clang)
  *
  * Do not take into account sysroot, i.e., set ignoreSysRoot to true.
  */
-void add_path(HeaderSearchOptions &HSO, std::string Path)
+static void add_path(HeaderSearchOptions &HSO, std::string Path)
 {
        HSO.AddPath(Path, frontend::Angled, false, true);
 }