]> granicus.if.org Git - clang/commitdiff
Quieting an MSVC warning about converting negative integer constants to unsigned...
authorAaron Ballman <aaron@aaronballman.com>
Wed, 26 Jun 2013 12:54:49 +0000 (12:54 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 26 Jun 2013 12:54:49 +0000 (12:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184941 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Comment.h

index 613ad5308f0d59edc7db2d81324f8c9eabc3aae7..d943ad2454c0cba3fca42670466b7bcc053c84bb 100644 (file)
@@ -701,7 +701,7 @@ private:
 public:
   enum {
     InvalidParamIndex = ~0U,
-    VarArgParamIndex = InvalidParamIndex - 1U
+    VarArgParamIndex = ~0U/*InvalidParamIndex*/ - 1U
   };
 
   ParamCommandComment(SourceLocation LocBegin,