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

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


Author: sabre
Date: Wed Jul 11 11:27:58 2007
New Revision: 39140

URL: http://llvm.org/viewvc/llvm-project?rev=39140&view=rev
Log:
use default 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=39140&r1=39139&r2=39140&view=diff

==============================================================================
--- cfe/cfe/trunk/include/clang/Basic/Diagnostic.h (original)
+++ cfe/cfe/trunk/include/clang/Basic/Diagnostic.h Wed Jul 11 11:27:58 2007
@@ -119,7 +119,7 @@
   /// Report - Issue the message to the client.  DiagID is a member of the
   /// diag::kind enum.  
   void Report(SourceLocation Pos, unsigned DiagID,
-              const std::string &Extra = "");
+              const std::string &Extra = std::string());
 };
 
 /// DiagnosticClient - This is an abstract interface implemented by clients of





More information about the cfe-commits mailing list