forked from OSchip/llvm-project
Empty undefined static variable -> local variable.
Resolves a -Wundefined-internal warning from clang. llvm-svn: 250510
This commit is contained in:
parent
166935764b
commit
1487a3de40
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue