diff options
author | serge-sans-paille <sguelton@mozilla.com> | 2023-01-06 16:56:23 +0100 |
---|---|---|
committer | serge-sans-paille <sguelton@mozilla.com> | 2023-01-09 12:15:24 +0100 |
commit | a3c248db87ebe88084386950846678c9a52dd7c0 (patch) | |
tree | 376f60d99882a89ba69a7d1c450d54d2ab4cc501 /clang/lib/Basic/Module.cpp | |
parent | 5b24d421064743fcb67be82cf1578cc3aa502faf (diff) | |
download | llvm-a3c248db87ebe88084386950846678c9a52dd7c0.zip llvm-a3c248db87ebe88084386950846678c9a52dd7c0.tar.gz llvm-a3c248db87ebe88084386950846678c9a52dd7c0.tar.bz2 |
Move from llvm::makeArrayRef to ArrayRef deduction guides - clang/ part
This is a follow-up to https://reviews.llvm.org/D140896, split into
several parts as it touches a lot of files.
Differential Revision: https://reviews.llvm.org/D141139
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
-rw-r--r-- | clang/lib/Basic/Module.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/Module.cpp b/clang/lib/Basic/Module.cpp index 2f30fa0..aa82a99 100644 --- a/clang/lib/Basic/Module.cpp +++ b/clang/lib/Basic/Module.cpp @@ -264,7 +264,7 @@ ArrayRef<const FileEntry *> Module::getTopHeaders(FileManager &FileMgr) { TopHeaderNames.clear(); } - return llvm::makeArrayRef(TopHeaders.begin(), TopHeaders.end()); + return llvm::ArrayRef(TopHeaders.begin(), TopHeaders.end()); } bool Module::directlyUses(const Module *Requested) { |