davidvc1 added a comment.
Herald added a project: All.

@curdeius , the PR description mentions the reason: when you pipe input from 
stdin, clang-format has to run through the "is it objective C?" codepath, and 
this is the codepath with the bug.

On the other hand, when you pass a .cpp file as a file path input, it doesn't 
need to figure out whether the code is objective C.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114837

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

Reply via email to