llvm-project/clang/unittests/Format
Krasimir Georgiev 4dea1378ea Revert "Revert "[clang-format] Keep protobuf "package" statement on one line""
Summary:
Top-level "package" and "import" statements should generally be kept on
one line, for all languages.

----

This reverts commit rL356912.
The regression from rL356835 was fixed via rC358275.

Reviewers: krasimir, sammccall, MyDeveloperDay, xinz, dchai, klimek

Reviewed By: krasimir, xinz, dchai

Subscribers: cfe-commits

Tags: #clang

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

llvm-svn: 360411
2019-05-10 09:15:11 +00:00
..
CMakeLists.txt [clang-format] Add basic support for formatting C# files 2019-03-21 13:09:22 +00:00
CleanupTest.cpp [clang-format] Regroup #includes into blocks for Google style 2019-04-03 09:25:16 +00:00
FormatTest.cpp [clang-format] Fix bug in block comment reflow that joins * and / 2019-05-03 23:15:40 +00:00
FormatTestCSharp.cpp [clang-format] Add basic support for formatting C# files 2019-03-21 13:09:22 +00:00
FormatTestComments.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FormatTestJS.cpp [clang-format] [JS] handle private members. 2019-03-19 12:28:41 +00:00
FormatTestJava.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FormatTestObjC.cpp [clang-format] Refine structured binding detection 2019-03-25 17:29:16 +00:00
FormatTestProto.cpp Revert "Revert "[clang-format] Keep protobuf "package" statement on one line"" 2019-05-10 09:15:11 +00:00
FormatTestRawStrings.cpp [clang-format] Fix indent of trailing raw string param after newline 2019-04-18 17:14:05 +00:00
FormatTestSelective.cpp [clang-format] [PR25010] AllowShortIfStatementsOnASingleLine not working if an "else" statement is present 2019-03-13 08:26:39 +00:00
FormatTestTableGen.cpp [clang-format][TableGen] Don't add spaces around items in square braces. 2019-03-01 00:12:18 +00:00
FormatTestTextProto.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FormatTestUtils.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
NamespaceEndCommentsFixerTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SortImportsTestJS.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SortImportsTestJava.cpp [clang-format] [PR41187] moves Java import statements to the wrong location if code contains statements that start with the word import 2019-03-30 13:05:40 +00:00
SortIncludesTest.cpp [clang-format] Preserve include blocks in ObjC Google style 2019-04-04 14:04:26 +00:00
UsingDeclarationsSorterTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00