[flang-commits] [clang] [clang-tools-extra] [flang] [lldb] [llvm] [mlir] [openmp] [polly] [Docs][Doxygen] remove STRIP_FROM_INC_PATH across subprojects (PR #235506)

via flang-commits flang-commits at lists.llvm.org
Sun Oct 25 11:38:57 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: rishit53

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/235506.diff


9 Files Affected:

- (modified) bolt/docs/doxygen.cfg.in (+3-3) 
- (modified) clang-tools-extra/docs/doxygen.cfg.in (+1-1) 
- (modified) clang/docs/doxygen.cfg.in (+1-1) 
- (modified) flang/docs/doxygen.cfg.in (+3-3) 
- (modified) lldb/docs/doxygen.cfg.in (+1-1) 
- (modified) llvm/docs/doxygen.cfg.in (+2-2) 
- (modified) mlir/docs/doxygen.cfg.in (+2-2) 
- (modified) openmp/docs/doxygen.cfg.in (+1-1) 
- (modified) polly/docs/doxygen.cfg.in (+1-1) 


``````````diff
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

``````````

</details>


https://github.com/llvm/llvm-project/pull/235506


More information about the flang-commits mailing list