https://github.com/Alcaro created 
https://github.com/llvm/llvm-project/pull/144219

NULL is not a representable value in type unsigned

>From ebb58a667c4cea8c9f3a138b87e93798e9fef8e5 Mon Sep 17 00:00:00 2001
From: Alcaro <float...@muncher.se>
Date: Sat, 14 Jun 2025 14:36:57 +0200
Subject: [PATCH] clang-c/Index.h: Fix typoed comment

NULL is not a representable value in type unsigned
---
 clang/include/clang-c/Index.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index e4cb4327fbaac..114c6cffe98e3 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -2390,7 +2390,7 @@ CINDEX_LINKAGE unsigned clang_isDeclaration(enum 
CXCursorKind);
  * A declaration is invalid if it could not be parsed successfully.
  *
  * \returns non-zero if the cursor represents a declaration and it is
- * invalid, otherwise NULL.
+ * invalid, otherwise zero.
  */
 CINDEX_LINKAGE unsigned clang_isInvalidDeclaration(CXCursor);
 

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to