[polly] r230666 - Change argument "class" keyword to "const"
Johannes Doerfert
doerfert at cs.uni-saarland.de
Thu Feb 26 11:33:43 PST 2015
Author: jdoerfert
Date: Thu Feb 26 13:33:42 2015
New Revision: 230666
URL: http://llvm.org/viewvc/llvm-project?rev=230666&view=rev
Log:
Change argument "class" keyword to "const"
Modified:
polly/trunk/lib/Support/SCEVValidator.cpp
Modified: polly/trunk/lib/Support/SCEVValidator.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Support/SCEVValidator.cpp?rev=230666&r1=230665&r2=230666&view=diff
==============================================================================
--- polly/trunk/lib/Support/SCEVValidator.cpp (original)
+++ polly/trunk/lib/Support/SCEVValidator.cpp Thu Feb 26 13:33:42 2015
@@ -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);
}
More information about the llvm-commits
mailing list