[clang-tools-extra] [clang-doc] Display enum type along with enum name in HTML view (PR #181347)
Paul Kirth via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 19 09:30:40 PST 2026
================
@@ -13,6 +13,7 @@
// RUN: FileCheck %s < %t/GlobalNamespace/Animals.md --check-prefix=MD-ANIMAL
// RUN: FileCheck %s < %t/Vehicles/index.md --check-prefix=MD-VEHICLES-LINE
// RUN: FileCheck %s < %t/Vehicles/index.md --check-prefix=MD-VEHICLES
+#include <cstdint>
----------------
ilovepi wrote:
You can't include standard headers in these tests, as they need to be standalone. If you look through the tests you'll see that we never include anything from the standard lib. You can use a `typedef` or `#define` to the same effect for the numeric types.
https://github.com/llvm/llvm-project/pull/181347
More information about the cfe-commits
mailing list