r178453 - Fix typo. This method isn't used anywhere.

Benjamin Kramer benny.kra at googlemail.com
Sun Mar 31 13:14:25 PDT 2013


Author: d0k
Date: Sun Mar 31 15:14:24 2013
New Revision: 178453

URL: http://llvm.org/viewvc/llvm-project?rev=178453&view=rev
Log:
Fix typo. This method isn't used anywhere.

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

Modified: cfe/trunk/include/clang/Basic/Diagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Diagnostic.h?rev=178453&r1=178452&r2=178453&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Diagnostic.h (original)
+++ cfe/trunk/include/clang/Basic/Diagnostic.h Sun Mar 31 15:14:24 2013
@@ -436,8 +436,8 @@ public:
   ///
   /// If this and IgnoreAllWarnings are both set, then that one wins.
   void setEnableAllWarnings(bool Val) { EnableAllWarnings = Val; }
-  bool getEnableAllWarnngs() const { return EnableAllWarnings; }
-  
+  bool getEnableAllWarnings() const { return EnableAllWarnings; }
+
   /// \brief When set to true, any warnings reported are issued as errors.
   void setWarningsAsErrors(bool Val) { WarningsAsErrors = Val; }
   bool getWarningsAsErrors() const { return WarningsAsErrors; }





More information about the cfe-commits mailing list