forked from OSchip/llvm-project
Update a comment to match the recently-changed code
llvm-svn: 137216
This commit is contained in:
parent
6f47e5cabf
commit
05a51ae0cf
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue