[Lldb-commits] [clang-tools-extra] [lldb] [llvm] docs: fix Doxygen STRIP_FROM_INC_PATH to prevent file name collisions (PR #220027)
armandeep singh via lldb-commits
lldb-commits at lists.llvm.org
Sun Sep 6 23:22:24 PDT 2026
https://github.com/armandeep23947 updated https://github.com/llvm/llvm-project/pull/220027
>From fd213483cf7f3bfc9eaee5a029ba38e3a0fc752a Mon Sep 17 00:00:00 2001
From: armandeep <armandeepsinghbains123 at gmail.com>
Date: Mon, 31 Aug 2026 22:11:49 +0530
Subject: [PATCH] docs: fix Doxygen STRIP_FROM_INC_PATH to prevent file name
collisions
---
clang-tools-extra/docs/doxygen.cfg.in | 2 +-
lldb/docs/doxygen.cfg.in | 2 +-
llvm/docs/doxygen.cfg.in | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/clang-tools-extra/docs/doxygen.cfg.in b/clang-tools-extra/docs/doxygen.cfg.in
index 854c548b7a3d0..b25e2679bcb72 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 = ../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/lldb/docs/doxygen.cfg.in b/lldb/docs/doxygen.cfg.in
index 045660ce4f281..e07eab3a31e17 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 =
+STRIP_FROM_INC_PATH = ../include ../source
# 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 d884d92053f6a..a9b8ec6f1d9cb 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
More information about the lldb-commits
mailing list