[cfe-commits] r39139 - /cfe/cfe/trunk/include/clang/Basic/Diagnostic.h

sabre at cs.uiuc.edu sabre at cs.uiuc.edu
Wed Jul 11 09:27:57 PDT 2007


Author: sabre
Date: Wed Jul 11 11:27:57 2007
New Revision: 39139

URL: http://llvm.org/viewvc/llvm-project?rev=39139&view=rev
Log:
this is not a converting ctor

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

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

==============================================================================
--- cfe/cfe/trunk/include/clang/Basic/Diagnostic.h (original)
+++ cfe/cfe/trunk/include/clang/Basic/Diagnostic.h Wed Jul 11 11:27:57 2007
@@ -56,7 +56,7 @@
   /// packed into two bits per diagnostic.
   unsigned char DiagMappings[(diag::NUM_DIAGNOSTICS+3)/4];
 public:
-  Diagnostic(DiagnosticClient &client);
+  explicit Diagnostic(DiagnosticClient &client);
   
   //===--------------------------------------------------------------------===//
   //  Diagnostic characterization methods, used by a client to customize how





More information about the cfe-commits mailing list