diff options
author | Krasimir Georgiev <krasimir@google.com> | 2017-08-29 13:51:38 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2017-08-29 13:51:38 +0000 |
commit | a2e7d0dee30d60bb212b6f362d54c1840427abe9 (patch) | |
tree | 90a0d2d1143dfc54f7961fc59a191c8dc1627bf9 /llvm/lib/CodeGen/AtomicExpandPass.cpp | |
parent | 81341d70222cffeff4e7fd4ddee31d80120755b3 (diff) | |
download | bcm5719-llvm-a2e7d0dee30d60bb212b6f362d54c1840427abe9.tar.gz bcm5719-llvm-a2e7d0dee30d60bb212b6f362d54c1840427abe9.zip |
[clang-format] Do not format likely xml
Summary:
This patch detects the leading '<' in likely xml files and stops formatting in
that case. A recent use of a Qt xml file with a .ts extension triggered this:
http://doc.qt.io/qt-4.8/linguist-ts-file-format.html
Reviewers: djasper
Reviewed By: djasper
Subscribers: sammccall, cfe-commits, klimek
Differential Revision: https://reviews.llvm.org/D37136
llvm-svn: 311999
Diffstat (limited to 'llvm/lib/CodeGen/AtomicExpandPass.cpp')
0 files changed, 0 insertions, 0 deletions