Update a comment to match the recently-changed code

llvm-svn: 137216
This commit is contained in:
Douglas Gregor 2011-08-10 16:09:55 +00:00
parent 6f47e5cabf
commit 05a51ae0cf
1 changed files with 1 additions and 1 deletions

View 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)) {