From 24559c4672e5e8b9c790d9ede1ad765fa374e984 Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Fri, 12 Aug 2022 22:46:53 +0000 Subject: [PATCH] doxygen: Skip libfuzzer header libfuzzer contains preprocessor magic that makes doxygen choke. Define `TESTING_LIBFUZZER_LIBFUZZER_EXPORTS_H_` so that doxygen skips over this header. We don't want to generate documentation for this non-tint code anyway. Fixed: tint:1647 Change-Id: I084a6c3db0ffe492a62a1f9dcb0c30b68cebb9e0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99040 Commit-Queue: Ben Clayton Reviewed-by: Austin Eng --- Doxyfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doxyfile b/Doxyfile index c28c2680e5..cb5c12042c 100644 --- a/Doxyfile +++ b/Doxyfile @@ -2078,7 +2078,8 @@ INCLUDE_FILE_PATTERNS = # recursively expanded use the := operator instead of the = operator. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -PREDEFINED = DOXYGEN +PREDEFINED = DOXYGEN \ + TESTING_LIBFUZZER_LIBFUZZER_EXPORTS_H_ # See: crbug.com/tint/1647 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this # tag can be used to specify a list of macro names that should be expanded. The