Skip to content

Commit

Permalink
Disable clang-based parsing in Doxygen. (#847)
Browse files Browse the repository at this point in the history
The clang-assisted parsing in Doxygen is supposed to be slower but more
accurate.

However I find that it just leads to tons of ridiculous errors, showing
a complete and radical lack of comprehension of the code it's parsing.
Seems to be failing to expand macros.
  • Loading branch information
jtv committed Jun 7, 2024
1 parent edbbe1a commit c154460
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ SKIP_FUNCTION_MACROS = NO
# generated with the -Duse_libclang=ON option for CMake.
# The default value is: NO.

CLANG_ASSISTED_PARSING = YES
# TODO: Re-enable this once clang parser gets better.
CLANG_ASSISTED_PARSING = NO

# If the CLANG_ASSISTED_PARSING tag is set to YES and the CLANG_ADD_INC_PATHS
# tag is set to YES then doxygen will add the directory of each input to the
Expand Down

0 comments on commit c154460

Please sign in to comment.