From de2541aec4b4440ee34af29eba622df7cab9ac12 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Wed, 26 Jun 2013 12:54:49 +0000 Subject: [PATCH] Quieting an MSVC warning about converting negative integer constants to unsigned types. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184941 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/Comment.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clang/AST/Comment.h b/include/clang/AST/Comment.h index 613ad5308f..d943ad2454 100644 --- a/include/clang/AST/Comment.h +++ b/include/clang/AST/Comment.h @@ -701,7 +701,7 @@ private: public: enum { InvalidParamIndex = ~0U, - VarArgParamIndex = InvalidParamIndex - 1U + VarArgParamIndex = ~0U/*InvalidParamIndex*/ - 1U }; ParamCommandComment(SourceLocation LocBegin, -- 2.40.0