File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ Transform::Transform(llvm::StringRef Name, const TransformOptions &Options)
85
85
Transform::~Transform () {}
86
86
87
87
bool Transform::isFileModifiable (const SourceManager &SM,
88
- const SourceLocation & Loc) const {
88
+ SourceLocation Loc) const {
89
89
if (SM.isWrittenInMainFile (Loc))
90
90
return true ;
91
91
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ class Transform {
135
135
// / \brief Tests if the file containing \a Loc is allowed to be modified by
136
136
// / the Modernizer.
137
137
bool isFileModifiable (const clang::SourceManager &SM,
138
- const clang::SourceLocation & Loc) const ;
138
+ clang::SourceLocation Loc) const ;
139
139
140
140
// / \brief Whether a transformation with a risk level of \p RiskLevel is
141
141
// / acceptable or not.
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ std::string joinParameterNames(
203
203
204
204
void formatDifferingParamsDiagnostic (
205
205
InconsistentDeclarationParameterNameCheck *Check,
206
- const SourceLocation & Location, StringRef OtherDeclarationDescription,
206
+ SourceLocation Location, StringRef OtherDeclarationDescription,
207
207
const DifferingParamsContainer &DifferingParams) {
208
208
auto ChooseOtherName =
209
209
[](const DifferingParamInfo &ParamInfo) { return ParamInfo.OtherName ; };
You can’t perform that action at this time.
0 commit comments