llvm-project/clang/unittests
Roman Kashitsyn 650ecb53ca Fix bug 20892 - clang-format does not handle C-style comments
Summary:
http://llvm.org/bugs/show_bug.cgi?id=20892

Add support of C-style formatting enabling/disabling directives. Now the following two styles are supported:

  // clang-format on
  /* clang-format on */

The flexibility in comments (support of extra spaces and/or slashes, etc.) is deliberately avoided to simplify search in large code bases.

Reviewers: djasper

Reviewed By: djasper

Subscribers: cfe-commits, curdeius, klimek

Differential Revision: http://reviews.llvm.org/D5309

llvm-svn: 217588
2014-09-11 14:47:20 +00:00
..
AST unique_ptrify SourceManager::createFileID 2014-08-29 07:59:55 +00:00
ASTMatchers Add matcher for linkage specification 2014-09-04 08:51:06 +00:00
Basic Unique_ptrify PPCallbacks ownership. 2014-09-10 04:53:53 +00:00
CodeGen unique_ptrify SourceManager::createFileID 2014-08-29 07:59:55 +00:00
Driver [Driver] clang::driver::getARMCPUForMArch() moved to llvm::Triple::getARMCPUForArch(). 2014-07-11 23:47:48 +00:00
Format Fix bug 20892 - clang-format does not handle C-style comments 2014-09-11 14:47:20 +00:00
Frontend Revert over-eager unique_ptr conversion. 2014-09-10 09:35:49 +00:00
Lex Unique_ptrify PPCallbacks ownership. 2014-09-10 04:53:53 +00:00
Sema Recommit 213307: unique_ptr-ify ownership of ASTConsumers (reverted in r213325) 2014-08-10 19:56:51 +00:00
Tooling Tooling: Ignore file names in tooling::deduplicate. 2014-09-09 13:53:29 +00:00
libclang Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
CMakeLists.txt Don't segfault in EmitCXXGlobalInitFunc when main file is a membuf 2014-08-26 22:10:15 +00:00
Makefile Don't segfault in EmitCXXGlobalInitFunc when main file is a membuf 2014-08-26 22:10:15 +00:00