llvm-capstone/clang/unittests
Gregory Fong e57f57841f [clang-format] fix alignment w/o binpacked args
The combination of

- AlignConsecutiveAssignments.Enabled = true
- BinPackArguments = false

would result in the first continuation line of a braced-init-list being
improperly indented (missing a shift) when in a continued function call.
Indentation was also wrong for braced-init-lists continuing a
direct-list-initialization.  Check for opening braced lists in
continuation and ensure that the correct shift occurs.

Fixes https://github.com/llvm/llvm-project/issues/55360

Reviewed By: curdeius

Differential Revision: https://reviews.llvm.org/D125162
2022-05-16 10:25:06 +02:00
..
Analysis [clang][dataflow] Add flowConditionIsTautology function 2022-05-05 03:57:43 +00:00
AST Revert "In MSVC compatibility mode, friend function declarations behave as function declarations" 2022-05-13 09:48:01 -04:00
ASTMatchers [ASTMatchers][clang-tidy][NFC] Hoist forEachTemplateArgument matcher into the core library 2022-05-13 12:55:48 +02:00
Basic [clang] NFCI: Use FileEntryRef in FileManagerTest 2022-04-15 15:16:17 +02:00
CodeGen [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00
CrossTU [analyzer][ctu] Fix wrong 'multiple definitions' errors caused by space characters in lookup names when parsing the ctu index file 2022-03-22 10:28:42 +08:00
DirectoryWatcher Revert "Re-Revert "DirectoryWatcher: add an implementation for Windows"" 2021-06-19 09:19:52 -07:00
Driver ClangDriverTests:ToolChainTest.cpp: Fix warnings. [-Wsign-compare] 2022-04-30 17:19:26 +09:00
Format [clang-format] fix alignment w/o binpacked args 2022-05-16 10:25:06 +02:00
Frontend [Frontend] Flip default of CreateInvocationOptions::ProbePrecompiled to false 2022-05-10 16:58:13 +02:00
Index [clang] Visit enum base specifiers in libIndex 2021-10-25 13:16:14 +02:00
Interpreter [clang-repl][NFC] Fix calling convention mismatch in test 2021-11-30 13:26:10 -08:00
Introspection [IntrospectionTest] Replace "return" with "GTEST_SKIP" 2022-02-04 12:35:44 -08:00
Lex [clang] Track how headers get included generally during lookup time 2022-05-04 09:52:31 -07:00
libclang
Rename Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
Rewrite
Sema [Testing] Drop clangTesting from clang's public library interface 2022-04-20 13:28:44 +02:00
Serialization [clang] createInvocationFromCommandLine -> createInvocation, delete former. NFC 2022-05-06 16:21:48 +02:00
StaticAnalyzer [Testing] Drop clangTesting from clang's public library interface 2022-04-20 13:28:44 +02:00
Tooling [clang] createInvocationFromCommandLine -> createInvocation, delete former. NFC 2022-05-06 16:21:48 +02:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00