llvm-project/clang/lib
Mitchell Balan 8d7bd57526 [clang-format] Fix SpacesInSquareBrackets for Lambdas with Initial "&ref" Parameter
Summary:
This fixes an edge case in the `SpacesInSquareBrackets` option where an initial `&ref` lambda parameter is not padded with an initial space.

`int foo = [&bar ]() {}` is fixed to give `int foo = [ &bar ]() {}`

Reviewers: MyDeveloperDay, klimek, sammccall

Reviewed by: MyDeveloperDay

Subscribers: cfe-commits

Tags: #clang, #clang-format

Differential Revision: https://reviews.llvm.org/D69649
2019-10-31 11:08:05 -04:00
..
ARCMigrate Removed some questionable default arguments from setters 2019-09-12 12:16:43 +00:00
AST [Diagnostics] Warn for std::is_constant_evaluated in constexpr mode 2019-10-31 10:03:11 +01:00
ASTMatchers [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Analysis Thread safety analysis: Peel away NoOp implicit casts in initializers 2019-10-30 00:37:32 +01:00
Basic [OPENMP50]Add support for parallel master taskloop simd directive. 2019-10-30 10:23:33 -04:00
CodeGen [cfi] Add flag to always generate .debug_frame 2019-10-31 09:48:30 +00:00
CrossTU [CrossTU] Fix problem with CrossTU AST load limit and progress messages. 2019-08-12 07:15:29 +00:00
DirectoryWatcher [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Driver Build fix after 4b6597f 2019-10-31 07:43:09 -04:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format [clang-format] Fix SpacesInSquareBrackets for Lambdas with Initial "&ref" Parameter 2019-10-31 11:08:05 -04:00
Frontend [cfi] Add flag to always generate .debug_frame 2019-10-31 09:48:30 +00:00
FrontendTool [analyzer] Don't run the analyzer for -analyzer-list-enabled-checkers 2019-09-12 18:53:48 +00:00
Headers [Headers] Fix compatibility between arm_acle.h and intrin.h 2019-10-29 14:52:56 -07:00
Index [clang][Index] Replace CodegenNameGenerator with ASTNameGenerator 2019-09-05 20:33:52 +00:00
Lex Lexer::ReadToEndOfLine - fix Token uninitialised value warnings. NFCI. 2019-10-28 18:28:18 +00:00
Parse [OPENMP50]Add support for parallel master taskloop simd directive. 2019-10-30 10:23:33 -04:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema [MS] Don't reference deleted copy ctors from catchable types 2019-10-30 15:06:26 -07:00
Serialization [OPENMP50]Add support for parallel master taskloop simd directive. 2019-10-30 10:23:33 -04:00
StaticAnalyzer [clang][analyzer] Using CallDescription in StreamChecker. 2019-10-31 12:38:50 +01:00
Tooling [clang][ScanDeps] Fix shadowing warning. 2019-10-30 15:53:38 -07:00
CMakeLists.txt Reland [clang] DirectoryWatcher 2019-07-12 20:34:10 +00:00