Home
last modified time | relevance | path

Searched refs:Closest (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/tool/
H A DClangTidyMain.cpp395 StringRef Closest; in closest() local
399 Closest = Item; in closest()
403 return Closest; in closest()
452 llvm::StringRef Closest = closest(Cur, AllChecks); in verifyChecks() local
453 if (!Closest.empty()) in verifyChecks()
454 Output << "; did you mean '" << Closest << '\''; in verifyChecks()
574 llvm::StringRef Closest = closest(Key, Valid.Options); in clangTidyMain() local
575 if (!Closest.empty()) in clangTidyMain()
576 Output << "; did you mean '" << Closest << '\''; in clangTidyMain()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DClangTidyCheck.cpp161 StringRef Closest; in getEnumInt() local
170 Closest = NameAndEnum.second; in getEnumInt()
178 Closest = NameAndEnum.second; in getEnumInt()
182 diagnoseBadEnumOption(Iter->getKey(), Iter->getValue().Value, Closest); in getEnumInt()