]> granicus.if.org Git - clang/commitdiff
Update a comment to match the recently-changed code
authorDouglas Gregor <dgregor@apple.com>
Wed, 10 Aug 2011 16:09:55 +0000 (16:09 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 10 Aug 2011 16:09:55 +0000 (16:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137216 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaDeclAttr.cpp

index 419adefa12923436a999a6feb1c58f003731f97d..4856278cf461053f9073ed7da429ea4eeb6016c4 100644 (file)
@@ -1504,7 +1504,7 @@ static void handleAvailabilityAttr(Sema &S, Decl *D,
   AvailabilityChange Obsoleted = Attr.getAvailabilityObsoleted();
   bool IsUnavailable = Attr.getUnavailableLoc().isValid();
 
-  // Ensure that Introduced < Deprecated < Obsoleted (although not all
+  // Ensure that Introduced <= Deprecated <= Obsoleted (although not all
   // of these steps are needed).
   if (Introduced.isValid() && Deprecated.isValid() &&
       !(Introduced.Version <= Deprecated.Version)) {