Add parens to silence warning

MSVCUndecoratedNameParser.cpp:25:36: warning: '&&' within '||' [-Wlogical-op-parentheses]

llvm-svn: 346220
This commit is contained in:
Benjamin Kramer 2018-11-06 10:13:37 +00:00
parent 80a3c561a7
commit 98d9647d55
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ MSVCUndecoratedNameParser::MSVCUndecoratedNameParser(llvm::StringRef name) {
// Do not treat `operator<' and `operator<<' as templates
// (sometimes they represented as `<' and `<<' in the name).
if (i == last_base_start ||
i == last_base_start + 1 && name[last_base_start] == '<')
(i == last_base_start + 1 && name[last_base_start] == '<'))
break;
stack.push(i);