An open source embedding vector similarity search engine powered by Faiss, NMSLIB and Annoy - milvus/.clang-tidy-ignore at master · ly-yt/milvus
@@ -40,9 +40,8 @@ tidy-check: tidy-fix: mkdir -p ./build/tidy && \ cd build/tidy && \ cmake -DCLANG_TIDY=1 -DDISABLE_UNITY=1 -DBUILD_EXTENSIONS=parquet -DBUILD_SHELL=0 ../.. && \ cmake -DCLANG_TIDY=1 ../.. && \ python3 ../../scripts/run-clang-tidy.py -fix ...
rule do_cmd command = $cmd description = Running clang-tidy {build_rules} """ build_template = """ build {i}: do_cmd cmd = {cmd} """ def run_shell_commands_in_parallel(commands): """runs all the commands in parallel with ninja, commands is a List[List[str]]"...
Rule Types How to Create a Rule Refactoring Action Rule Requirements Selection Requirements Other Requirements Refactoring Options Using Clang Tools Overview Clang Tools Organization Core Clang Tools clang-check clang-format Extra Clang Tools clang-tidy Ideas for new Tools ClangCheck ClangFormat Standalone...
+ bool IgnoreFailedSplit; +}; + +} // namespace readability +} // namespace tidy +} // namespace clang + +#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_READABILITY_IDENTIFIERCASECHECK_H diff --git a/clang-tidy/readability/ReadabilityTidyModule.cpp b/clang-tidy/readability/ReadabilityTidyMo...
(), "")); > + } > + > + IgnoreFailedSplit = Options.get("IgnoreFailedSplit", 0); > +} > + > +void IdentifierCaseCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) > { > + auto const toString = [](CaseType Type) { > + switch (Type) { > + default: > + case ...
Brief feature description Several rules are suppressed in the roots .clang-tidy file since the C++ API is realized with empty functions. As soon as all functions are implemented, those rule suppression can be removed.
Whitespace Ignore whitespace Split Unified .clang-tidy .github/workflows clang-tidy.yaml flutter-macos.yaml flutter-windows-x64.yaml CMakeLists.txt cmake openfst.cmake sherpa-onnx/csrc CMakeLists.txt audio-tagging-label-file.cc base64-decode.cc cat.cc circular-buffer.cc ...
{ return std::nullopt; } +// Add NOLINT insert as code actions +std::optional<Fix> tryAddClangTidySuppression(const Diag *Diag) { + if (Diag->Source == Diag::ClangTidy) { + Fix F; + F.Message = llvm::formatv("ignore [{0}] for this line", Diag->Name); + TextEdit &E =...
{+return TK_IgnoreUnlessSpelledInSource;+}+};++} // namespace clang::tidy::readability++#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_READABILITY_AVOIDNestedConditionalOperatorCHECK_Hdiff --git a/clang-tools-extra/clang-tidy/readability/CMakeLists.txt b/clang-tools-extra/clang-tidy/readability/C...