diff options
| -rw-r--r-- | llvm/include/llvm/Support/YAMLTraits.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/YAMLTraits.h b/llvm/include/llvm/Support/YAMLTraits.h index 3ee556d7533..f63fdf9a35b 100644 --- a/llvm/include/llvm/Support/YAMLTraits.h +++ b/llvm/include/llvm/Support/YAMLTraits.h @@ -551,7 +551,7 @@ inline QuotingType needsQuotes(StringRef S) { return QuotingType::Double; // Always double quote UTF-8. - if (C & 0x80 != 0) + if ((C & 0x80) != 0) return QuotingType::Double; // The character is not safe, at least simple quoting needed. |

