https://github.com/rishit53 created https://github.com/llvm/llvm-project/pull/235506
Removes STRIP_FROM_INC_PATH across all subproject Doxygen configuration files (bolt, clang, clang-tools-extra, flang, lldb, llvm, mlir, openmp, polly). This preserves full relative path context for source files and prevents Doxygen from confusing files with identical names (such as lib/IR/Use.cpp vs lib/ShadowIR/Use.cpp), ensuring correct source linking. Fixes #139512 >From db4948f4f45ab3b5ece6de177849743e709bf819 Mon Sep 17 00:00:00 2001 From: ptanhi611 <[email protected]> Date: Mon, 26 Oct 2026 00:00:40 +0530 Subject: [PATCH] [Docs][Doxygen] remove STRIP_FROM_INC_PATH across subprojects to prevent incorrect source file linking --- bolt/docs/doxygen.cfg.in | 6 +++--- clang-tools-extra/docs/doxygen.cfg.in | 2 +- clang/docs/doxygen.cfg.in | 2 +- flang/docs/doxygen.cfg.in | 6 +++--- lldb/docs/doxygen.cfg.in | 2 +- llvm/docs/doxygen.cfg.in | 4 ++-- mlir/docs/doxygen.cfg.in | 4 ++-- openmp/docs/doxygen.cfg.in | 2 +- polly/docs/doxygen.cfg.in | 2 +- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/bolt/docs/doxygen.cfg.in b/bolt/docs/doxygen.cfg.in index 79ccde79d55e0a..cb3e7a9bb346b4 100644 --- a/bolt/docs/doxygen.cfg.in +++ b/bolt/docs/doxygen.cfg.in @@ -153,9 +153,9 @@ STRIP_FROM_PATH = @abs_top_srcdir@/.. # specify the list of include paths that are normally passed to the compiler # using the -I flag. -STRIP_FROM_INC_PATH = @abs_top_srcdir@/../include -STRIP_FROM_INC_PATH += @abs_top_srcdir@/../lib -STRIP_FROM_INC_PATH += @abs_top_srcdir@/../runtime +# STRIP_FROM_INC_PATH = @abs_top_srcdir@/../include +# STRIP_FROM_INC_PATH += @abs_top_srcdir@/../lib +# STRIP_FROM_INC_PATH += @abs_top_srcdir@/../runtime # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but # less readable) file names. This can be useful is your file systems doesn't diff --git a/clang-tools-extra/docs/doxygen.cfg.in b/clang-tools-extra/docs/doxygen.cfg.in index 854c548b7a3d0f..d899f303629167 100644 --- a/clang-tools-extra/docs/doxygen.cfg.in +++ b/clang-tools-extra/docs/doxygen.cfg.in @@ -153,7 +153,7 @@ STRIP_FROM_PATH = ../.. # specify the list of include paths that are normally passed to the compiler # using the -I flag. -STRIP_FROM_INC_PATH = +# STRIP_FROM_INC_PATH = # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but # less readable) file names. This can be useful is your file systems doesn't diff --git a/clang/docs/doxygen.cfg.in b/clang/docs/doxygen.cfg.in index 5f7dd22fc77f48..583cc45c26df21 100644 --- a/clang/docs/doxygen.cfg.in +++ b/clang/docs/doxygen.cfg.in @@ -153,7 +153,7 @@ STRIP_FROM_PATH = @abs_srcdir@/.. # specify the list of include paths that are normally passed to the compiler # using the -I flag. -STRIP_FROM_INC_PATH = @abs_srcdir@/../include +# STRIP_FROM_INC_PATH = @abs_srcdir@/../include # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but # less readable) file names. This can be useful is your file systems doesn't diff --git a/flang/docs/doxygen.cfg.in b/flang/docs/doxygen.cfg.in index 78c3cdf57f343c..29d512a2fd4efe 100644 --- a/flang/docs/doxygen.cfg.in +++ b/flang/docs/doxygen.cfg.in @@ -153,9 +153,9 @@ STRIP_FROM_PATH = @abs_top_srcdir@/.. # specify the list of include paths that are normally passed to the compiler # using the -I flag. -STRIP_FROM_INC_PATH = @abs_top_srcdir@/../include -STRIP_FROM_INC_PATH += @abs_top_srcdir@/../lib -STRIP_FROM_INC_PATH += @abs_top_srcdir@/../runtime +# STRIP_FROM_INC_PATH = @abs_top_srcdir@/../include +# STRIP_FROM_INC_PATH += @abs_top_srcdir@/../lib +# STRIP_FROM_INC_PATH += @abs_top_srcdir@/../runtime # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but # less readable) file names. This can be useful is your file systems doesn't diff --git a/lldb/docs/doxygen.cfg.in b/lldb/docs/doxygen.cfg.in index 5285cd3a7cbf57..e9af6fcb171db0 100644 --- a/lldb/docs/doxygen.cfg.in +++ b/lldb/docs/doxygen.cfg.in @@ -123,7 +123,7 @@ STRIP_FROM_PATH = ../.. # definition is used. Otherwise one should specify the include paths that # are normally passed to the compiler using the -I flag. -STRIP_FROM_INC_PATH = + # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter # (but less readable) file names. This can be useful is your file systems diff --git a/llvm/docs/doxygen.cfg.in b/llvm/docs/doxygen.cfg.in index d884d92053f6a9..5a143514a4c02e 100644 --- a/llvm/docs/doxygen.cfg.in +++ b/llvm/docs/doxygen.cfg.in @@ -153,8 +153,8 @@ STRIP_FROM_PATH = @abs_top_srcdir@/.. # specify the list of include paths that are normally passed to the compiler # using the -I flag. -STRIP_FROM_INC_PATH = @abs_top_srcdir@/../include -STRIP_FROM_INC_PATH += @abs_top_srcdir@/../lib +# STRIP_FROM_INC_PATH = @abs_top_srcdir@/../include +# STRIP_FROM_INC_PATH += @abs_top_srcdir@/../lib # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but # less readable) file names. This can be useful is your file systems doesn't diff --git a/mlir/docs/doxygen.cfg.in b/mlir/docs/doxygen.cfg.in index 382ea8faaedcea..8f655044bb262d 100644 --- a/mlir/docs/doxygen.cfg.in +++ b/mlir/docs/doxygen.cfg.in @@ -153,8 +153,8 @@ STRIP_FROM_PATH = @abs_top_srcdir@/.. # specify the list of include paths that are normally passed to the compiler # using the -I flag. -STRIP_FROM_INC_PATH = @abs_top_srcdir@/../include -STRIP_FROM_INC_PATH += @abs_top_srcdir@/../lib +# STRIP_FROM_INC_PATH = @abs_top_srcdir@/../include +# STRIP_FROM_INC_PATH += @abs_top_srcdir@/../lib # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but # less readable) file names. This can be useful is your file systems doesn't diff --git a/openmp/docs/doxygen.cfg.in b/openmp/docs/doxygen.cfg.in index 2b4fd0b5c5ee13..1163ac5a682fbf 100644 --- a/openmp/docs/doxygen.cfg.in +++ b/openmp/docs/doxygen.cfg.in @@ -153,7 +153,7 @@ STRIP_FROM_PATH = @abs_srcdir@/.. # specify the list of include paths that are normally passed to the compiler # using the -I flag. -STRIP_FROM_INC_PATH = @abs_srcdir@/../include +# STRIP_FROM_INC_PATH = @abs_srcdir@/../include # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but # less readable) file names. This can be useful is your file systems doesn't diff --git a/polly/docs/doxygen.cfg.in b/polly/docs/doxygen.cfg.in index 277f86eef83cdc..15f672332a0951 100644 --- a/polly/docs/doxygen.cfg.in +++ b/polly/docs/doxygen.cfg.in @@ -153,7 +153,7 @@ STRIP_FROM_PATH = ../.. # specify the list of include paths that are normally passed to the compiler # using the -I flag. -STRIP_FROM_INC_PATH = +# STRIP_FROM_INC_PATH = # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but # less readable) file names. This can be useful is your file systems doesn't _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
