diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-10-16 12:11:15 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-10-16 12:11:15 +0000 |
| commit | 1487a3de409f10db25c6c19441413393863bb346 (patch) | |
| tree | c94ee9bbdeea2f79c86eaf8d4bffdd8cf6272c84 /clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp | |
| parent | 166935764b114e2c7b2f82de4887d2a3a7dd22bd (diff) | |
| download | bcm5719-llvm-1487a3de409f10db25c6c19441413393863bb346.tar.gz bcm5719-llvm-1487a3de409f10db25c6c19441413393863bb346.zip | |
Empty undefined static variable -> local variable.
Resolves a -Wundefined-internal warning from clang.
llvm-svn: 250510
Diffstat (limited to 'clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp')
| -rw-r--r-- | clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp b/clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp index 3d14e1b7807..ed22830f886 100644 --- a/clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp +++ b/clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp @@ -519,8 +519,8 @@ struct LessClangTidyError { } }; struct EqualClangTidyError { - static LessClangTidyError Less; bool operator()(const ClangTidyError &LHS, const ClangTidyError &RHS) const { + LessClangTidyError Less; return !Less(LHS, RHS) && !Less(RHS, LHS); } }; |

