File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -234,11 +234,11 @@ void QualifiedAutoCheck::check(const MatchFinder::MatchResult &Result) {
234234 }
235235
236236 const std::string ReplStr = [&] {
237- const llvm:: StringRef PtrConst =
237+ const StringRef PtrConst =
238238 isPointerConst (Var->getType ()) ? " const " : " " ;
239- const llvm:: StringRef LocalConst = IsLocalConst ? " const " : " " ;
240- const llvm:: StringRef LocalVol = IsLocalVolatile ? " volatile " : " " ;
241- const llvm:: StringRef LocalRestrict =
239+ const StringRef LocalConst = IsLocalConst ? " const " : " " ;
240+ const StringRef LocalVol = IsLocalVolatile ? " volatile " : " " ;
241+ const StringRef LocalRestrict =
242242 IsLocalRestrict ? " __restrict " : " " ;
243243 return (PtrConst + " auto *" + LocalConst + LocalVol + LocalRestrict)
244244 .str ();
You can’t perform that action at this time.
0 commit comments