diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-08-10 16:09:55 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-08-10 16:09:55 +0000 |
commit | c90df6a0ad61041e976e0136c29e6d57b17cba3d (patch) | |
tree | dd5b839c60e7efea104d04e2c2b3b483030ca8ed /lib/Sema/SemaDeclAttr.cpp | |
parent | 3b6b7accb55980b149571d44e96f92dae500b0a9 (diff) |
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
Diffstat (limited to 'lib/Sema/SemaDeclAttr.cpp')
-rw-r--r-- | lib/Sema/SemaDeclAttr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |