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

clattner at cs.uiuc.edu clattner at cs.uiuc.edu
Wed Jul 11 09:47:19 PDT 2007


Author: clattner
Date: Wed Jul 11 11:47:19 2007
New Revision: 39703

URL: http://llvm.org/viewvc/llvm-project?rev=39703&view=rev
Log:
add an accessor

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=39703&r1=39702&r2=39703&view=diff

==============================================================================
--- cfe/cfe/trunk/include/clang/Basic/Diagnostic.h (original)
+++ cfe/cfe/trunk/include/clang/Basic/Diagnostic.h Wed Jul 11 11:47:19 2007
@@ -67,6 +67,7 @@
   //===--------------------------------------------------------------------===//
   //  Diagnostic characterization methods, used by a client to customize how
   //
+  const DiagnosticClient &getClient() const { return Client; };
 
   /// setWarningsAsErrors - When set to true, any warnings reported are issued
   /// as errors.





More information about the cfe-commits mailing list