Change argument "class" keyword to "const"

llvm-svn: 230666
This commit is contained in:
Johannes Doerfert 2015-02-26 19:33:42 +00:00
parent b70ecf6eef
commit ecc33a1f67
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ public:
std::vector<const SCEV *> getParameters() { return Parameters; }
/// @brief Add the parameters of Source to this result.
void addParamsFrom(class ValidatorResult &Source) {
void addParamsFrom(const ValidatorResult &Source) {
Parameters.insert(Parameters.end(), Source.Parameters.begin(),
Source.Parameters.end());
}
@ -91,7 +91,7 @@ public:
///
/// This means to merge the parameters and to set the Type to the most
/// specific Type that matches both.
void merge(class ValidatorResult &ToMerge) {
void merge(const ValidatorResult &ToMerge) {
Type = std::max(Type, ToMerge.Type);
addParamsFrom(ToMerge);
}