HazardyKnusperkeks added inline comments.

================
Comment at: clang/lib/Format/Format.cpp:3542
+
+    // Prefix found, and at start of file or preceded by white space?
+    if (PrefixPos != StringRef::npos &&
----------------
I understand the reasoning, but the check down below I think does not match 
this. You only look if there is exactly one whitespace character before your 
`Prefix`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145435/new/

https://reviews.llvm.org/D145435

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to