Home
last modified time | relevance | path

Searched refs:RemoveStars (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseAutoCheck.cpp30 size_t getTypeNameLength(bool RemoveStars, StringRef Text) { in getTypeNameLength() argument
44 (!RemoveStars && TemplateTypenameCntr == 0 && C == '*')) in getTypeNameLength()
276 RemoveStars(Options.get("RemoveStars", false)) {} in UseAutoCheck()
280 Options.store(Opts, "RemoveStars", RemoveStars); in storeOptions()
370 if (RemoveStars) { in replaceExpr()
389 if (!RemoveStars) { in replaceExpr()
402 getTypeNameLength(RemoveStars, in replaceExpr()
414 Diag << FixItHint::CreateReplacement(Range, RemoveStars ? "auto " : "auto") in replaceExpr()
H A DUseAutoCheck.h35 const bool RemoveStars; variable
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/
H A Duse-auto.rst186 If the :option:`RemoveStars` option (see below) is set to `true`, then ``*s``
191 // MinTypeNameLength = 0, RemoveStars=0
198 // MinTypeNameLength = 5, RemoveStars=0
207 // MinTypeNameLength = 5, RemoveStars=1
217 .. option:: RemoveStars
227 // RemoveStars = 0
231 // RemoveStars = 1