/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | ClangTidyOptions.h | 49 struct ClangTidyOptions { struct 56 static ClangTidyOptions getDefaults(); 60 ClangTidyOptions &mergeWith(const ClangTidyOptions &Other, unsigned Order); 65 LLVM_NODISCARD ClangTidyOptions merge(const ClangTidyOptions &Other, 160 typedef std::pair<ClangTidyOptions, std::string> OptionsSource; 169 ClangTidyOptions getOptions(llvm::StringRef FileName); 177 const ClangTidyOptions &Options) in DefaultOptionsProvider() 186 ClangTidyOptions DefaultOptions; 193 typedef std::pair<std::string, std::function<llvm::ErrorOr<ClangTidyOptions>( 218 const ClangTidyOptions &DefaultOptions, [all …]
|
D | ClangTidyOptions.cpp | 23 using clang::tidy::ClangTidyOptions; 61 template <> struct MappingTraits<ClangTidyOptions::StringPair> { 62 static void mapping(IO &IO, ClangTidyOptions::StringPair &KeyValue) { in mapping() 70 NOptionMap(IO &, const ClangTidyOptions::OptionMap &OptionMap) { in NOptionMap() 75 ClangTidyOptions::OptionMap denormalize(IO &) { in denormalize() 76 ClangTidyOptions::OptionMap Map; in denormalize() 78 Map[KeyValue.first] = ClangTidyOptions::ClangTidyValue(KeyValue.second); in denormalize() 81 std::vector<ClangTidyOptions::StringPair> Options; 84 template <> struct MappingTraits<ClangTidyOptions> { 85 static void mapping(IO &IO, ClangTidyOptions &Options) { in mapping() [all …]
|
D | ClangTidy.h | 47 ClangTidyOptions::OptionMap getCheckOptions(); 57 std::vector<std::string> getCheckNames(const ClangTidyOptions &Options, 66 ClangTidyOptions::OptionMap 67 getCheckOptions(const ClangTidyOptions &Options,
|
D | ClangTidyCheck.cpp | 74 StringRef CheckName, const ClangTidyOptions::OptionMap &CheckOptions, in OptionsView() 87 static ClangTidyOptions::OptionMap::const_iterator 88 findPriorityOption(const ClangTidyOptions::OptionMap &Options, StringRef NamePrefix, in findPriorityOption() 160 void ClangTidyCheck::OptionsView::store(ClangTidyOptions::OptionMap &Options, in store() 166 void ClangTidyCheck::OptionsView::storeInt(ClangTidyOptions::OptionMap &Options, in storeInt() 174 ClangTidyOptions::OptionMap &Options, StringRef LocalName, in store()
|
D | ClangTidyCheck.h | 193 virtual void storeOptions(ClangTidyOptions::OptionMap &Options) {} in storeOptions() 204 const ClangTidyOptions::OptionMap &CheckOptions, 439 void store(ClangTidyOptions::OptionMap &Options, StringRef LocalName, 446 store(ClangTidyOptions::OptionMap &Options, StringRef LocalName, in store() 458 store(ClangTidyOptions::OptionMap &Options, StringRef LocalName, in store() 491 void storeInt(ClangTidyOptions::OptionMap &Options, StringRef LocalName, 498 const ClangTidyOptions::OptionMap &CheckOptions; 561 ClangTidyOptions::OptionMap &Options, StringRef LocalName,
|
D | ClangTidyModule.cpp | 34 ClangTidyOptions ClangTidyModule::getModuleOptions() { in getModuleOptions() 35 return ClangTidyOptions(); in getModuleOptions()
|
D | ClangTidyDiagnosticConsumer.h | 143 const ClangTidyOptions &getOptions() const; 147 ClangTidyOptions getOptionsForFile(StringRef File) const; 196 ClangTidyOptions CurrentOptions;
|
D | ClangTidy.cpp | 331 static void setStaticAnalyzerCheckerOpts(const ClangTidyOptions &Opts, in setStaticAnalyzerCheckerOpts() 469 ClangTidyOptions::OptionMap ClangTidyASTConsumerFactory::getCheckOptions() { in getCheckOptions() 470 ClangTidyOptions::OptionMap Options; in getCheckOptions() 479 getCheckNames(const ClangTidyOptions &Options, in getCheckNames() 489 ClangTidyOptions::OptionMap 490 getCheckOptions(const ClangTidyOptions &Options, in getCheckOptions() 512 ClangTidyOptions Opts = Context.getOptionsForFile(Filename); in runClangTidy()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | TidyProvider.cpp | 30 mutable std::shared_ptr<const tidy::ClangTidyOptions> Value; 35 std::shared_ptr<const tidy::ClangTidyOptions> 38 std::shared_ptr<const tidy::ClangTidyOptions> Result; in get() 45 Value = std::make_shared<const tidy::ClangTidyOptions>( in get() 77 void apply(tidy::ClangTidyOptions &Result, PathRef AbsPath) { in apply() 108 llvm::SmallVector<std::shared_ptr<const tidy::ClangTidyOptions>, 4> in apply() 147 [](tidy::ClangTidyOptions &Opts, llvm::StringRef) { Opts.User = User; }; in provideEnvironment() 150 return [](tidy::ClangTidyOptions &, llvm::StringRef) {}; in provideEnvironment() argument 164 return [](tidy::ClangTidyOptions &Opts, llvm::StringRef) { in provideDefaultChecks() 174 tidy::ClangTidyOptions &Opts, llvm::StringRef) { in addTidyChecks() [all …]
|
D | TidyProvider.h | 22 llvm::unique_function<void(tidy::ClangTidyOptions &, 27 using TidyProviderRef = llvm::function_ref<void(tidy::ClangTidyOptions &, 56 tidy::ClangTidyOptions getTidyOptionsForFile(TidyProviderRef Provider,
|
/external/llvm-project/clang-tools-extra/unittests/clang-tidy/ |
D | OptionsProviderTest.cpp | 49 ClangTidyOptions File1Options = in TEST() 51 ClangTidyOptions File2Options = in TEST() 53 ClangTidyOptions File3Options = in TEST()
|
D | ClangTidyOptionsTest.cpp | 74 llvm::ErrorOr<ClangTidyOptions> Options = in TEST() 86 llvm::ErrorOr<ClangTidyOptions> Options1 = parseConfiguration(R"( in TEST() 96 llvm::ErrorOr<ClangTidyOptions> Options2 = parseConfiguration(R"( in TEST() 106 ClangTidyOptions Options = Options1->merge(*Options2, 0); in TEST() 166 ClangTidyOptions Options; in TEST() 180 ClangTidyOptions Options; in TEST() 237 ClangTidyOptions Options; in TEST()
|
D | ClangTidyTest.h | 90 const ClangTidyOptions &ExtraOptions = ClangTidyOptions(), 94 ClangTidyOptions Options = ExtraOptions;
|
D | ReadabilityModuleTest.cpp | 240 ClangTidyOptions Options; in TEST() 487 ClangTidyOptions Opts; in TEST()
|
D | TransformerClangTidyCheckTest.cpp | 164 ClangTidyOptions Options; in TEST() 250 ClangTidyOptions Options; in TEST() 282 ClangTidyOptions Options; in TEST()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | CppCoreGuidelinesTidyModule.cpp | 99 ClangTidyOptions getModuleOptions() override { in getModuleOptions() 100 ClangTidyOptions Options; in getModuleOptions() 101 ClangTidyOptions::OptionMap &Opts = Options.CheckOptions; in getModuleOptions()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cert/ |
D | CERTTidyModule.cpp | 120 ClangTidyOptions getModuleOptions() override { in getModuleOptions() 121 ClangTidyOptions Options; in getModuleOptions() 122 ClangTidyOptions::OptionMap &Opts = Options.CheckOptions; in getModuleOptions()
|
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/ |
D | LLVMTidyModule.cpp | 43 ClangTidyOptions getModuleOptions() override { in getModuleOptions() 44 ClangTidyOptions Options; in getModuleOptions()
|
/external/llvm-project/clang-tools-extra/clang-tidy/google/ |
D | GoogleTidyModule.cpp | 84 ClangTidyOptions getModuleOptions() override { in getModuleOptions() 85 ClangTidyOptions Options; in getModuleOptions()
|
/external/llvm-project/clang-tools-extra/clang-tidy/tool/ |
D | ClangTidyMain.cpp | 290 ClangTidyOptions DefaultOptions; in createOptionsProvider() 301 ClangTidyOptions OverrideOptions; in createOptionsProvider() 317 llvm::ErrorOr<ClangTidyOptions> ParsedConfig = in createOptionsProvider() 322 ClangTidyOptions::getDefaults().merge(DefaultOptions, 0), in createOptionsProvider() 423 ClangTidyOptions EffectiveOptions = OptionsProvider->getOptions(FilePath); in clangTidyMain() 458 llvm::outs() << configurationAsText(ClangTidyOptions::getDefaults().merge( in clangTidyMain()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | ModernizeTidyModule.cpp | 103 ClangTidyOptions getModuleOptions() override { in getModuleOptions() 104 ClangTidyOptions Options; in getModuleOptions()
|
/external/llvm-project/clang-tools-extra/clang-tidy/plugin/ |
D | ClangTidyPlugin.cpp | 61 ClangTidyOptions DefaultOptions; in ParseArgs() 62 ClangTidyOptions OverrideOptions; in ParseArgs()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | RedundantDeclarationCheck.h | 25 void storeOptions(ClangTidyOptions::OptionMap &Opts) override;
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | TooSmallLoopVariableCheck.h | 34 void storeOptions(ClangTidyOptions::OptionMap &Opts) override;
|
D | MisplacedWideningCastCheck.h | 33 void storeOptions(ClangTidyOptions::OptionMap &Opts) override;
|