mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Replace llvm::makeArrayRef with ArrayRef constructors.
LLVM upstream is about to deprecate and remove llvm::makeArrayRef. PiperOrigin-RevId: 501106516 Change-Id: Ice610c7e0190dc8608339de1b88b7a05e7771871
This commit is contained in:
parent
f086c39f42
commit
858c407521
|
@ -130,7 +130,7 @@ absl::StatusOr<std::string> ReformatGoogleStyle(const std::string& filename,
|
||||||
}
|
}
|
||||||
|
|
||||||
clang::tooling::Replacements replacements = clang::format::reformat(
|
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);
|
filename);
|
||||||
|
|
||||||
llvm::Expected<std::string> formatted_header =
|
llvm::Expected<std::string> formatted_header =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user