diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-03-31 20:14:24 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-03-31 20:14:24 +0000 |
commit | 04863a86d15cb8de3361f8c77cedfd025819f174 (patch) | |
tree | d4939366663058cf7153648782a361cd8b04d2ae | |
parent | 9f8bd33a1c125fdf825681c61f8170c4424f6616 (diff) |
Fix typo. This method isn't used anywhere.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178453 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Basic/Diagnostic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/Diagnostic.h b/include/clang/Basic/Diagnostic.h index 0b7c54ecf5..032763672b 100644 --- a/include/clang/Basic/Diagnostic.h +++ b/include/clang/Basic/Diagnostic.h @@ -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; } |