From: Douglas Gregor Date: Wed, 10 Aug 2011 16:09:55 +0000 (+0000) Subject: Update a comment to match the recently-changed code X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c90df6a0ad61041e976e0136c29e6d57b17cba3d;p=clang Update a comment to match the recently-changed code git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137216 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp index 419adefa12..4856278cf4 100644 --- a/lib/Sema/SemaDeclAttr.cpp +++ b/lib/Sema/SemaDeclAttr.cpp @@ -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)) {