[llvm-branch-commits] [cfe-tag] r99674 - /cfe/tags/cremebrulee/cremebrulee-49.1/include/clang/Basic/Diagnostic.h

Ted Kremenek kremenek at apple.com
Fri Mar 26 16:42:56 PDT 2010


Author: kremenek
Date: Fri Mar 26 18:42:56 2010
New Revision: 99674

URL: http://llvm.org/viewvc/llvm-project?rev=99674&view=rev
Log:
Merge in r99667

Modified:
    cfe/tags/cremebrulee/cremebrulee-49.1/include/clang/Basic/Diagnostic.h

Modified: cfe/tags/cremebrulee/cremebrulee-49.1/include/clang/Basic/Diagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/cremebrulee/cremebrulee-49.1/include/clang/Basic/Diagnostic.h?rev=99674&r1=99673&r2=99674&view=diff
==============================================================================
--- cfe/tags/cremebrulee/cremebrulee-49.1/include/clang/Basic/Diagnostic.h (original)
+++ cfe/tags/cremebrulee/cremebrulee-49.1/include/clang/Basic/Diagnostic.h Fri Mar 26 18:42:56 2010
@@ -413,7 +413,7 @@
   inline DiagnosticBuilder Report(unsigned DiagID);
 
   /// \brief Determine whethere there is already a diagnostic in flight.
-  bool isDiagnosticInFlight() const { return CurDiagID != 0; }
+  bool isDiagnosticInFlight() const { return CurDiagID != ~0U; }
 
   /// \brief Set the "delayed" diagnostic that will be emitted once
   /// the current diagnostic completes.





More information about the llvm-branch-commits mailing list