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

David Blaikie dblaikie at gmail.com
Mon Apr 15 20:06:13 PDT 2013


On Sun, Mar 31, 2013 at 1:14 PM, Benjamin Kramer
<benny.kra at googlemail.com> wrote:
> 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.

Better off just removing dead code?

>
> 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; }
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list