Home
last modified time | relevance | path

Searched refs:ClangTidyOptions (Results 1 – 25 of 229) sorted by relevance

12345678910

/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidyOptions.h49 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 …]
DClangTidyOptions.cpp23 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 …]
DClangTidy.h47 ClangTidyOptions::OptionMap getCheckOptions();
57 std::vector<std::string> getCheckNames(const ClangTidyOptions &Options,
66 ClangTidyOptions::OptionMap
67 getCheckOptions(const ClangTidyOptions &Options,
DClangTidyCheck.cpp74 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()
DClangTidyCheck.h193 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,
DClangTidyModule.cpp34 ClangTidyOptions ClangTidyModule::getModuleOptions() { in getModuleOptions()
35 return ClangTidyOptions(); in getModuleOptions()
DClangTidyDiagnosticConsumer.h143 const ClangTidyOptions &getOptions() const;
147 ClangTidyOptions getOptionsForFile(StringRef File) const;
196 ClangTidyOptions CurrentOptions;
DClangTidy.cpp331 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/
DTidyProvider.cpp30 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 …]
DTidyProvider.h22 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/
DOptionsProviderTest.cpp49 ClangTidyOptions File1Options = in TEST()
51 ClangTidyOptions File2Options = in TEST()
53 ClangTidyOptions File3Options = in TEST()
DClangTidyOptionsTest.cpp74 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()
DClangTidyTest.h90 const ClangTidyOptions &ExtraOptions = ClangTidyOptions(),
94 ClangTidyOptions Options = ExtraOptions;
DReadabilityModuleTest.cpp240 ClangTidyOptions Options; in TEST()
487 ClangTidyOptions Opts; in TEST()
DTransformerClangTidyCheckTest.cpp164 ClangTidyOptions Options; in TEST()
250 ClangTidyOptions Options; in TEST()
282 ClangTidyOptions Options; in TEST()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DCppCoreGuidelinesTidyModule.cpp99 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/
DCERTTidyModule.cpp120 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/
DLLVMTidyModule.cpp43 ClangTidyOptions getModuleOptions() override { in getModuleOptions()
44 ClangTidyOptions Options; in getModuleOptions()
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DGoogleTidyModule.cpp84 ClangTidyOptions getModuleOptions() override { in getModuleOptions()
85 ClangTidyOptions Options; in getModuleOptions()
/external/llvm-project/clang-tools-extra/clang-tidy/tool/
DClangTidyMain.cpp290 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/
DModernizeTidyModule.cpp103 ClangTidyOptions getModuleOptions() override { in getModuleOptions()
104 ClangTidyOptions Options; in getModuleOptions()
/external/llvm-project/clang-tools-extra/clang-tidy/plugin/
DClangTidyPlugin.cpp61 ClangTidyOptions DefaultOptions; in ParseArgs()
62 ClangTidyOptions OverrideOptions; in ParseArgs()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantDeclarationCheck.h25 void storeOptions(ClangTidyOptions::OptionMap &Opts) override;
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DTooSmallLoopVariableCheck.h34 void storeOptions(ClangTidyOptions::OptionMap &Opts) override;
DMisplacedWideningCastCheck.h33 void storeOptions(ClangTidyOptions::OptionMap &Opts) override;

12345678910