[llvm] cf9fa2a - [lAA] Return SmallVectorImpl& instead of SmallVector& (NFC).
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 22 03:40:23 PDT 2020
Author: Florian Hahn
Date: 2020-07-22T11:40:07+01:00
New Revision: cf9fa2aa018105313efc77c7fb6c5d9dce700297
URL: https://github.com/llvm/llvm-project/commit/cf9fa2aa018105313efc77c7fb6c5d9dce700297
DIFF: https://github.com/llvm/llvm-project/commit/cf9fa2aa018105313efc77c7fb6c5d9dce700297.diff
LOG: [lAA] Return SmallVectorImpl& instead of SmallVector& (NFC).
Added:
Modified:
llvm/include/llvm/Analysis/LoopAccessAnalysis.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Analysis/LoopAccessAnalysis.h b/llvm/include/llvm/Analysis/LoopAccessAnalysis.h
index a5237e9ba59e..663b9c9935db 100644
--- a/llvm/include/llvm/Analysis/LoopAccessAnalysis.h
+++ b/llvm/include/llvm/Analysis/LoopAccessAnalysis.h
@@ -418,7 +418,7 @@ class RuntimePointerChecking {
bool UseDependencies);
/// Returns the checks that generateChecks created.
- const SmallVector<RuntimePointerCheck, 4> &getChecks() const {
+ const SmallVectorImpl<RuntimePointerCheck> &getChecks() const {
return Checks;
}
More information about the llvm-commits
mailing list