llvm-project/clang/lib
Daniel Jasper e6169665ec clang-format: Allow "single column" list layout even if that violates the
column limit.

Single-column layout basically means that we format the list with one
element per line. Not doing that when there is a column limit violation
doesn't change the fact that there is an item that doesn't fit within
the column limit.

Before (with a column limit of 30):
  std::vector<int> a = {
      aaaaaaaa, aaaaaaaa,
      aaaaaaaa, aaaaaaaa,
      aaaaaaaaaa, aaaaaaaa,
      aaaaaaaaaaaaaaaaaaaaaaaaaaa};

After:
  std::vector<int> a = {
      aaaaaaaa,
      aaaaaaaa,
      aaaaaaaa,
      aaaaaaaa,
      aaaaaaaaaa,
      aaaaaaaa,
      aaaaaaaaaaaaaaaaaaaaaaaaaaa};

(and previously we would have formatted like "After" it wasn't for the one
item that is too long)

llvm-svn: 290084
2016-12-19 07:26:11 +00:00
..
ARCMigrate Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 10:39:27 +00:00
AST [c++1z] P0195R2: Support pack-expansion of using-declarations. 2016-12-19 04:08:53 +00:00
ASTMatchers [ASTMatcher] Add hasReplacementType matcher for SubstTemplateTypeParmType 2016-12-08 11:46:22 +00:00
Analysis Fix os_log formating with arbitrary precision and field width 2016-12-15 04:02:31 +00:00
Basic Recommit r289979 [OpenCL] Allow disabling types and declarations associated with extensions 2016-12-18 05:18:55 +00:00
CodeGen [c++1z] P0195R2: Support pack-expansion of using-declarations. 2016-12-19 04:08:53 +00:00
Driver [CUDA] Add --ptxas-path= flag. 2016-12-15 18:44:57 +00:00
Edit [OpenCL] Generate opaque type for sampler_t and function call for the initializer 2016-07-28 19:26:30 +00:00
Format clang-format: Allow "single column" list layout even if that violates the 2016-12-19 07:26:11 +00:00
Frontend Add __cpp_structured_bindings feature test macro for structured bindings, per 2016-12-19 04:21:36 +00:00
FrontendTool C++ Modules TS: add frontend support for building pcm files from module 2016-08-26 00:14:38 +00:00
Headers Recommit r289979 [OpenCL] Allow disabling types and declarations associated with extensions 2016-12-18 05:18:55 +00:00
Index [index] Rename SymbolSubKind -> SymbolProperty, NFC. 2016-11-11 23:49:55 +00:00
Lex [CrashReproducer] Collect headermap files 2016-12-11 04:27:28 +00:00
Parse [c++1z] P0195R2: Support pack-expansion of using-declarations. 2016-12-19 04:08:53 +00:00
Rewrite [analyzer] Re-apply r283092, attempt no.4, chunk no.4 (last) 2016-10-07 19:25:10 +00:00
Sema [c++1z] P0195R2: Support pack-expansion of using-declarations. 2016-12-19 04:08:53 +00:00
Serialization [c++1z] P0195R2: Support pack-expansion of using-declarations. 2016-12-19 04:08:53 +00:00
StaticAnalyzer [OpenMP] Sema and parsing for 'target teams' pragma 2016-12-17 05:48:59 +00:00
Tooling Remove deprecated methods ast_matchers::BoundNodes::{getStmtAs,getDeclAs} 2016-12-13 16:19:34 +00:00
CMakeLists.txt