[cfe-commits] r137216 - /cfe/trunk/lib/Sema/SemaDeclAttr.cpp

Douglas Gregor dgregor at apple.com
Wed Aug 10 09:09:55 PDT 2011


Author: dgregor
Date: Wed Aug 10 11:09:55 2011
New Revision: 137216

URL: http://llvm.org/viewvc/llvm-project?rev=137216&view=rev
Log:
Update a comment to match the recently-changed code

Modified:
    cfe/trunk/lib/Sema/SemaDeclAttr.cpp

Modified: cfe/trunk/lib/Sema/SemaDeclAttr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclAttr.cpp?rev=137216&r1=137215&r2=137216&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclAttr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclAttr.cpp Wed Aug 10 11:09:55 2011
@@ -1504,7 +1504,7 @@
   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)) {





More information about the cfe-commits mailing list