Go to file
Krasimir Georgiev 91700e0793 [clang-format] Fixes indentation of inner text proto messages
Summary:
Consider the text proto:
```
message {
  sub { key: value }
}
```
Previously the first `{` was TT_Unknown, which caused the inner message to be
indented by the continuation width. This didn't happen for:
```
message {
  sub: { key: value }
}
```
This is because the code to mark the first `{` as a TT_DictLiteral was only
considering the case where it marches forward and reaches a `:`.

This patch updates this by looking not only for `:`, but also for `<` and `{`.

Reviewers: djasper

Reviewed By: djasper

Subscribers: klimek, cfe-commits

Differential Revision: https://reviews.llvm.org/D42500

llvm-svn: 323419
2018-01-25 14:10:43 +00:00
clang [clang-format] Fixes indentation of inner text proto messages 2018-01-25 14:10:43 +00:00
clang-tools-extra [clangd] Disable typo correction when doing code completion. 2018-01-25 09:44:06 +00:00
compiler-rt Correct typo in TSan code 2018-01-25 11:07:42 +00:00
debuginfo-tests [debuginfo-tests] Support moving debuginfo-tests to llvm/projects 2017-12-12 16:54:20 +00:00
libclc tanpi: Port from amd_builtins 2018-01-19 18:57:22 +00:00
libcxx Fix PR35564 - std::list splice/erase incorrectly throw in debug mode. 2018-01-25 00:02:48 +00:00
libcxxabi [libc++abi] Fix unused function when building with LIBCXXABI_SILENT_TERMINATE 2018-01-25 01:38:43 +00:00
libunwind [cmake] [libunwind] Fix find_path() problems when cross compiling 2018-01-22 19:15:06 +00:00
lld Remove MemRegionOffset. NFC. 2018-01-25 02:18:00 +00:00
lldb www: update lldb architecture doc 2018-01-24 19:00:08 +00:00
llgo
llvm X86 Tests: Add AVX+XOP config to SDIV combine tests 2018-01-25 14:07:33 +00:00
openmp Fix name of 'macOS' and add asteriks to brands, NFC. 2018-01-23 07:54:10 +00:00
parallel-libs
polly [ScopBuilder] Prefer PHI Write accesses in the statement the incoming value is defined. 2018-01-23 23:56:36 +00:00
README.md Add an svn project to contain the files that appear at the root of the 2017-10-19 21:09:49 +00:00

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.