Empty undefined static variable -> local variable.

Resolves a -Wundefined-internal warning from clang.

llvm-svn: 250510
This commit is contained in:
Benjamin Kramer 2015-10-16 12:11:15 +00:00
parent 166935764b
commit 1487a3de40
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
};