pass by reference, not by value

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36721 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-05-04 00:45:24 +00:00
parent 62bbeea8ea
commit 2020ca2414

View File

@ -94,7 +94,7 @@ public:
const std::vector<const BasicBlock*> &getBasicBlocks() const {
return BasicBlocks;
}
const std::vector<const ParamAttrsList*> getParamAttrs() const {
const std::vector<const ParamAttrsList*> &getParamAttrs() const {
return ParamAttrs;
}