[PATCH] D32113: Add path from clang to doxygen document include header

Raphael Isemann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 16 11:51:43 PDT 2017


teemperor added a comment.

@yamaguchi  Did you test the latest revision of this patch and get the desired output paths? I just tested it and it seems on my system doxygen can't handle the `@abs_srcdir@/../`.

At least on my system it gets correctly generated as:

  STRIP_FROM_PATH        = /home/teemperor/llvm/trunk/tools/clang/docs/../

However, because doxygen seems to be only doing string-matching, it doesn't understand that `/home/teemperor/llvm/trunk/tools/clang/` equals `/home/teemperor/llvm/trunk/tools/clang/docs/../` (at least on my system). If I manually remove `docs/../` I get the correct result.

In theory we could just replace the `@abs_srcdir@/../`with another CMake variable that is already correctly replaced by the real path, but I fear we loose autoconf support that way unless we have a separate `doxygen-cmake.conf.in` or something ugly like that.


https://reviews.llvm.org/D32113





More information about the cfe-commits mailing list