[cfe-commits] r80164 - /cfe/trunk/include/clang/Basic/PartialDiagnostic.h

Anders Carlsson andersca at mac.com
Wed Aug 26 15:31:45 PDT 2009


Author: andersca
Date: Wed Aug 26 17:31:44 2009
New Revision: 80164

URL: http://llvm.org/viewvc/llvm-project?rev=80164&view=rev
Log:
The PartialDiagnostic constructor doesn't need to be explicit.

Modified:
    cfe/trunk/include/clang/Basic/PartialDiagnostic.h

Modified: cfe/trunk/include/clang/Basic/PartialDiagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/PartialDiagnostic.h?rev=80164&r1=80163&r2=80164&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/PartialDiagnostic.h (original)
+++ cfe/trunk/include/clang/Basic/PartialDiagnostic.h Wed Aug 26 17:31:44 2009
@@ -84,7 +84,7 @@
   void operator=(const PartialDiagnostic &); // DO NOT IMPLEMENT
 
 public:
-  explicit PartialDiagnostic(unsigned DiagID)
+  PartialDiagnostic(unsigned DiagID)
     : DiagID(DiagID), DiagStorage(0) { }
 
   PartialDiagnostic(const PartialDiagnostic &Other) 





More information about the cfe-commits mailing list