llvm-project/clang/unittests
Krasimir Georgiev a2e7d0dee3 [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
2017-08-29 13:51:38 +00:00
..
AST [analyzer] Make StmtDataCollector customizable 2017-08-23 16:28:26 +00:00
ASTMatchers PR19668, PR23034: Fix handling of move constructors and deleted copy 2017-08-16 01:49:53 +00:00
Analysis [analyzer] Reland r299544 "Add a modular constraint system to the CloneDetector" 2017-04-06 14:34:07 +00:00
Basic [Basic] Add a DiagnosticError llvm::ErrorInfo subclass 2017-08-25 15:48:00 +00:00
CodeGen ClangCodeGenTests: Update libdeps. 2017-08-27 11:46:05 +00:00
Driver Use class to pass information about executable name 2017-08-29 05:22:26 +00:00
Format [clang-format] Do not format likely xml 2017-08-29 13:51:38 +00:00
Frontend [Frontend] Fix printing policy for AST context loaded from file 2017-08-25 18:07:03 +00:00
Lex [Lexer] Finding beginning of token with escaped new line 2017-08-10 10:06:16 +00:00
Rename Use add_clang_unittest in the CMakeLists.txt for the moved unittest 2017-06-30 16:43:00 +00:00
Rewrite Remove autoconf support 2016-01-26 21:30:40 +00:00
Sema [Sema] Allow an external sema source to handle delayed typo corrections. 2016-05-19 10:46:10 +00:00
StaticAnalyzer Add a method to get the list of registered static analyzer checkers. 2016-11-08 07:23:32 +00:00
Tooling Avoid missing std error code in RefactoringActionRulesTest.cpp 2017-08-28 12:03:08 +00:00
libclang Fixed more signed/unsigned mismatch warnings introduced in my change at r279076 2016-08-18 20:56:48 +00:00
CMakeLists.txt [refactor] Move clang-rename into the clang repository 2017-06-30 16:36:09 +00:00