diff options
author | Eric Liu <ioeric@google.com> | 2018-05-18 18:33:08 +0000 |
---|---|---|
committer | Eric Liu <ioeric@google.com> | 2018-05-18 18:33:08 +0000 |
commit | 1edf4bc68c57f4a69b9dfeea03b7f59bb6da90ea (patch) | |
tree | 8662b014d8156d5df575262fe58bbcff36bf3f31 /clang/lib/Tooling/Inclusions/IncludeStyle.cpp | |
parent | 24b61ac832c79fc1cd2c04437dadca171cda63ed (diff) | |
download | bcm5719-llvm-1edf4bc68c57f4a69b9dfeea03b7f59bb6da90ea.tar.gz bcm5719-llvm-1edf4bc68c57f4a69b9dfeea03b7f59bb6da90ea.zip |
Revert "Move #include manipulation code to new lib/Tooling/Inclusions."
This reverts commit r332720. This break build bot with modules. Need to
investigate. Revert the change to unbreak bots.
llvm-svn: 332751
Diffstat (limited to 'clang/lib/Tooling/Inclusions/IncludeStyle.cpp')
-rw-r--r-- | clang/lib/Tooling/Inclusions/IncludeStyle.cpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/clang/lib/Tooling/Inclusions/IncludeStyle.cpp b/clang/lib/Tooling/Inclusions/IncludeStyle.cpp deleted file mode 100644 index 3597710f1f6..00000000000 --- a/clang/lib/Tooling/Inclusions/IncludeStyle.cpp +++ /dev/null @@ -1,31 +0,0 @@ -//===--- IncludeStyle.cpp - Style of C++ #include directives -----*- C++-*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#include "clang/Tooling/Inclusions/IncludeStyle.h" - -using clang::tooling::IncludeStyle; - -namespace llvm { -namespace yaml { - -void MappingTraits<IncludeStyle::IncludeCategory>::mapping( - IO &IO, IncludeStyle::IncludeCategory &Category) { - IO.mapOptional("Regex", Category.Regex); - IO.mapOptional("Priority", Category.Priority); -} - -void ScalarEnumerationTraits<IncludeStyle::IncludeBlocksStyle>::enumeration( - IO &IO, IncludeStyle::IncludeBlocksStyle &Value) { - IO.enumCase(Value, "Preserve", IncludeStyle::IBS_Preserve); - IO.enumCase(Value, "Merge", IncludeStyle::IBS_Merge); - IO.enumCase(Value, "Regroup", IncludeStyle::IBS_Regroup); -} - -} // namespace yaml -} // namespace llvm |