diff options
author | Paul Hoad <mydeveloperday@gmail.com> | 2019-03-20 20:49:43 +0000 |
---|---|---|
committer | Paul Hoad <mydeveloperday@gmail.com> | 2019-03-20 20:49:43 +0000 |
commit | 701a0d7e47ca48e43a2bbdfbdd31065a9f9552a6 (patch) | |
tree | 81b6b9474ae5f0aa06f45a04643a6e6c0480548b /clang/lib/Format/Format.cpp | |
parent | 6e66512758d70dd7853719a88e6e824b6344ec9b (diff) | |
download | bcm5719-llvm-701a0d7e47ca48e43a2bbdfbdd31065a9f9552a6.tar.gz bcm5719-llvm-701a0d7e47ca48e43a2bbdfbdd31065a9f9552a6.zip |
[clang-format] BeforeHash added to IndentPPDirectives
Summary:
The option BeforeHash added to IndentPPDirectives.
Fixes Bug 36019. https://bugs.llvm.org/show_bug.cgi?id=36019
Reviewers: djasper, klimek, krasimir, sammccall, mprobst, Nicola, MyDeveloperDay
Reviewed By: klimek, MyDeveloperDay
Subscribers: kadircet, MyDeveloperDay, mnussbaum, geleji, ufna, cfe-commits
Patch by to-mix.
Differential Revision: https://reviews.llvm.org/D52150
llvm-svn: 356613
Diffstat (limited to 'clang/lib/Format/Format.cpp')
-rw-r--r-- | clang/lib/Format/Format.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index e73bcba7951..5e8a2497fea 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -174,6 +174,7 @@ struct ScalarEnumerationTraits<FormatStyle::PPDirectiveIndentStyle> { static void enumeration(IO &IO, FormatStyle::PPDirectiveIndentStyle &Value) { IO.enumCase(Value, "None", FormatStyle::PPDIS_None); IO.enumCase(Value, "AfterHash", FormatStyle::PPDIS_AfterHash); + IO.enumCase(Value, "BeforeHash", FormatStyle::PPDIS_BeforeHash); } }; |