MyDeveloperDay added a comment.

I recently hit this issue where I was clang-formatting generated code out of a 
source tree, which was then copied into a source tree. This failed my post 
build clang-format validation check and I couldn't understand why. it was only 
later I realised that unless I have the same .clang-format file locally when I 
clang-format the generated files or if I only clang-format them after I've 
copied them in will this work.

A patch like this (and this isn't the only one I've seen like this that lets me 
point clang-format to a specifc .clang-format file would have helped here.) are 
you interested in this patch or something like this still?  (I realize its a 
long time since you got a response)


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

https://reviews.llvm.org/D34252



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

Reply via email to