Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion thrift/common/test/universal_name_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <thrift/common/universal_name.h>

#include <regex>
#include <fmt/core.h>
#include <fmt/format.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>

Expand Down
2 changes: 1 addition & 1 deletion thrift/common/tree_printer.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <utility>
#include <vector>

#include <fmt/core.h>
#include <fmt/format.h>

namespace apache::thrift::tree_printer {

Expand Down
1 change: 0 additions & 1 deletion thrift/common/universal_name.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <cctype>
#include <stdexcept>
#include <boost/container/small_vector.hpp>
#include <fmt/core.h>
#include <fmt/format.h>

namespace apache::thrift {
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/ast/scope_identifier.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

#include <cassert>
#include <fmt/core.h>
#include <fmt/format.h>

#include <thrift/compiler/ast/scope_identifier.h>

Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/ast/t_const.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <algorithm>

#include <fmt/core.h>
#include <fmt/format.h>
#include <thrift/compiler/ast/t_const.h>
#include <thrift/compiler/ast/t_const_value.h>

Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/ast/t_include.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#pragma once

#include <fmt/core.h>
#include <fmt/format.h>
#include <thrift/compiler/ast/t_node.h>

namespace apache::thrift::compiler {
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/ast/t_named.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <thrift/compiler/ast/t_type.h>
#include <thrift/compiler/ast/uri.h>

#include <fmt/core.h>
#include <fmt/format.h>

namespace apache::thrift::compiler {

Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/ast/t_program.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <utility>
#include <vector>

#include <fmt/core.h>
#include <fmt/format.h>

#include <thrift/compiler/ast/node_list.h>
#include <thrift/compiler/ast/program_scope.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/ast/thrift_ast_debug_tree_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "thrift/compiler/ast/thrift_ast_debug_tree_utils.h"

#include <string>
#include <fmt/core.h>
#include <fmt/format.h>

#include "thrift/common/tree_printer.h"
#include "thrift/compiler/ast/t_program_bundle.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <optional>
#include <string>
#include <string_view>
#include <fmt/core.h>
#include <fmt/format.h>
#include <glog/logging.h>
#include <thrift/compiler/ast/ast_visitor.h>
#include <thrift/compiler/ast/t_program_bundle.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <optional>
#include <string_view>
#include <fmt/core.h>
#include <fmt/format.h>
#include <thrift/compiler/ast/ast_visitor.h>
#include <thrift/compiler/ast/t_map.h>
#include <thrift/compiler/ast/t_program_bundle.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <string>
#include <string_view>
#include <fmt/core.h>
#include <fmt/format.h>
#include <thrift/compiler/ast/ast_visitor.h>
#include <thrift/compiler/ast/t_program_bundle.h>
#include <thrift/compiler/ast/t_struct.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <string>
#include <string_view>
#include <fmt/core.h>
#include <fmt/format.h>
#include <thrift/compiler/ast/ast_visitor.h>
#include <thrift/compiler/ast/t_program_bundle.h>
#include <thrift/compiler/ast/t_struct.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <string>
#include <string_view>
#include <fmt/core.h>
#include <fmt/format.h>
#include <thrift/compiler/ast/ast_visitor.h>
#include <thrift/compiler/ast/t_program_bundle.h>
#include <thrift/compiler/ast/t_struct.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/codemod/annotate_required_fields.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <string>
#include <string_view>
#include <fmt/core.h>
#include <fmt/format.h>
#include <thrift/compiler/ast/ast_visitor.h>
#include <thrift/compiler/ast/t_program_bundle.h>
#include <thrift/compiler/ast/t_struct.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/codemod/codemod.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <fmt/core.h>
#include <fmt/format.h>
#include <thrift/compiler/codemod/codemod.h>
#include <thrift/compiler/compiler.h>
#include <thrift/compiler/parse/parse_ast.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/codemod/file_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

#include <string>
#include <fmt/core.h>
#include <fmt/format.h>
#include <glog/logging.h>
#include <folly/FileUtil.h>

Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/codemod/file_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <optional>
#include <set>
#include <unordered_set>
#include <fmt/core.h>
#include <fmt/format.h>

#include <folly/FileUtil.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <string>
#include <vector>

#include <fmt/core.h>
#include <fmt/format.h>

#include <thrift/compiler/ast/t_program.h>
#include <thrift/compiler/ast/t_program_bundle.h>
Expand Down
1 change: 0 additions & 1 deletion thrift/compiler/codemod/package_generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include <utility>

#include <boost/algorithm/string.hpp>
#include <fmt/core.h>
#include <fmt/format.h>
#include <re2/re2.h>
#include <thrift/compiler/ast/t_program.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/codemod/relative_include.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <set>
#include <string>

#include <fmt/core.h>
#include <fmt/format.h>
#include <thrift/compiler/ast/t_include.h>
#include <thrift/compiler/ast/t_program.h>
#include <thrift/compiler/ast/uri.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/codemod/remove_duplicate_namespaces.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <set>
#include <string>
#include <fmt/core.h>
#include <fmt/format.h>
#include <thrift/compiler/ast/t_program.h>
#include <thrift/compiler/ast/t_program_bundle.h>
#include <thrift/compiler/codemod/codemod.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/codemod/specify_implicit_field_id.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <fmt/core.h>
#include <fmt/format.h>

#include <thrift/compiler/ast/ast_visitor.h>
#include <thrift/compiler/codemod/codemod.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/codemod/specify_implicit_func_param_id.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <fmt/core.h>
#include <fmt/format.h>

#include <thrift/compiler/ast/ast_visitor.h>
#include <thrift/compiler/codemod/codemod.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/codemod/structure_annotations.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <string>
#include <string_view>
#include <fmt/core.h>
#include <fmt/format.h>
#include <range/v3/view.hpp>

#include <thrift/compiler/ast/ast_visitor.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/diagnostic.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <utility>
#include <vector>

#include <fmt/core.h>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include <thrift/compiler/detail/pluggable_functions.h>
#include <thrift/compiler/metrics/metrics.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/generate/cpp/orderable_type_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <unordered_set>

#include <fmt/core.h>
#include <fmt/format.h>
#include <thrift/compiler/ast/t_program.h>
#include <thrift/compiler/ast/t_structured.h>
#include <thrift/compiler/ast/uri.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/generate/cpp/util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <openssl/evp.h>
#include <openssl/sha.h>

#include <fmt/core.h>
#include <fmt/format.h>

#include <thrift/compiler/ast/t_field.h>
#include <thrift/compiler/ast/t_list.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/generate/csharp/util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <thrift/compiler/generate/csharp/util.h>

#include <fmt/core.h>
#include <fmt/format.h>
#include <thrift/compiler/ast/t_container.h>
#include <thrift/compiler/ast/t_primitive_type.h>
#include <thrift/compiler/ast/t_structured.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/generate/go/util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <cctype>
#include <utility>
#include <boost/algorithm/string.hpp>
#include <fmt/core.h>
#include <fmt/format.h>
#include <thrift/compiler/ast/t_type.h>
#include <thrift/compiler/generate/go/util.h>

Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/generate/json.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <thrift/compiler/ast/t_const_value.h>
#include <thrift/compiler/generate/json.h>

#include <fmt/core.h>
#include <fmt/format.h>

#include <algorithm>
#include <cstdint>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/generate/schema_populator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <string>
#include <type_traits>
#include <utility>
#include <fmt/core.h>
#include <fmt/format.h>
#include <folly/io/IOBuf.h>

#include <thrift/compiler/ast/t_const.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/generate/t_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <stdexcept>
#include <utility>

#include <fmt/core.h>
#include <fmt/format.h>

namespace apache::thrift::compiler {

Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/generate/t_mstch_cpp2_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <vector>

#include <boost/algorithm/string/split.hpp>
#include <fmt/core.h>
#include <fmt/format.h>

#include <thrift/compiler/ast/t_const.h>
#include <thrift/compiler/ast/t_field.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/generate/t_mstch_java_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string/replace.hpp>

#include <fmt/core.h>
#include <fmt/format.h>

#include <openssl/evp.h>
#include <thrift/compiler/ast/t_typedef.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/parse/lexer.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <functional>
#include <optional>

#include <fmt/core.h>
#include <fmt/format.h>

#include <thrift/compiler/parse/token.h>
#include <thrift/compiler/source_location.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/parse/token.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <thrift/compiler/parse/token.h>

#include <fmt/core.h>
#include <fmt/format.h>

#include <algorithm>
#include <cassert>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/sema/schematizer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <filesystem>
#include <string>
#include <string_view>
#include <fmt/core.h>
#include <fmt/format.h>
#include <openssl/evp.h>
#include <openssl/md5.h>
#include <openssl/sha.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/source_location.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <thrift/compiler/detail/system.h>
#include <thrift/compiler/source_location.h>

#include <fmt/core.h>
#include <fmt/format.h>
#include <fmt/std.h>

#include <algorithm>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/test/token_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <gtest/gtest.h>
#include <thrift/compiler/parse/token.h>

#include <fmt/core.h>
#include <fmt/format.h>

using namespace apache::thrift::compiler; // NOLINT

Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/whisker/ast.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <thrift/compiler/whisker/detail/overload.h>
#include <thrift/compiler/whisker/detail/string.h>

#include <fmt/core.h>
#include <fmt/format.h>
#include <fmt/ranges.h>

#include <cassert>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/whisker/dsl.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <thrift/compiler/whisker/managed_ptr.h>
#include <thrift/compiler/whisker/object.h>

#include <fmt/core.h>
#include <fmt/format.h>

#include <algorithm>
#include <concepts>
Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/whisker/eval_context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <iterator>
#include <utility>

#include <fmt/core.h>
#include <fmt/format.h>

namespace w = whisker::make;

Expand Down
2 changes: 1 addition & 1 deletion thrift/compiler/whisker/lexer.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <utility>
#include <vector>

#include <fmt/core.h>
#include <fmt/format.h>

namespace whisker {

Expand Down
Loading