/// \brief Map from a byte index to the previous byte which starts a column.
int startOfPreviousColumn(int N) const {
assert(0 < N && N < static_cast<int>(m_columnToByte.size()));
- while (byteToColumn(N--) == -1) {}
+ while (byteToColumn(--N) == -1) {}
return N;
}
--- /dev/null
+// RUN: %clang_cc1 -fsyntax-only -fmessage-length 100 %s 2>&1 | FileCheck -strict-whitespace %s
+// REQUIRES: asserts
+
+int main() {
+ "É#x#p\v)6Ò\13)ѽ\8a$û\9e>U êhÑüÃö|\9f থϻg\14\9fY|`\19?ò;\ 2\1e\11;Æ¿V\1djÇ\\\13ù\80\87ûݪW9úÐ\ 2¢:Ì\8aO EøÛ\90\ 5y?SKªy¦¹\87Øài&n";
+}
+
+// CHECK-NOT:Assertion