From: Aaron Ballman Date: Wed, 26 Jun 2013 12:54:49 +0000 (+0000) Subject: Quieting an MSVC warning about converting negative integer constants to unsigned... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de2541aec4b4440ee34af29eba622df7cab9ac12;p=clang 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 --- 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,