diff --git a/sandboxed_api/tools/clang_generator/emitter.cc b/sandboxed_api/tools/clang_generator/emitter.cc index 79aad7c..99b962e 100644 --- a/sandboxed_api/tools/clang_generator/emitter.cc +++ b/sandboxed_api/tools/clang_generator/emitter.cc @@ -130,7 +130,7 @@ absl::StatusOr ReformatGoogleStyle(const std::string& filename, } clang::tooling::Replacements replacements = clang::format::reformat( - style, code, llvm::makeArrayRef(clang::tooling::Range(0, code.size())), + style, code, llvm::ArrayRef(clang::tooling::Range(0, code.size())), filename); llvm::Expected formatted_header =