Add parens to silence warning
MSVCUndecoratedNameParser.cpp:25:36: warning: '&&' within '||' [-Wlogical-op-parentheses] llvm-svn: 346220
This commit is contained in:
parent
80a3c561a7
commit
98d9647d55
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue