Mercurial > hg > CbC > CbC_llvm
comparison clang-tools-extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.h @ 173:0572611fdcc8 llvm10 llvm12
reorgnization done
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 11:55:54 +0900 |
parents | 1d019706d866 |
children | 2e18cbf3894f |
comparison
equal
deleted
inserted
replaced
172:9fbae9c8bf63 | 173:0572611fdcc8 |
---|---|
28 "LegacyResourceProducers", "::malloc;::aligned_alloc;::realloc;" | 28 "LegacyResourceProducers", "::malloc;::aligned_alloc;::realloc;" |
29 "::calloc;::fopen;::freopen;::tmpfile")), | 29 "::calloc;::fopen;::freopen;::tmpfile")), |
30 LegacyResourceConsumers(Options.get( | 30 LegacyResourceConsumers(Options.get( |
31 "LegacyResourceConsumers", "::free;::realloc;::freopen;::fclose")) { | 31 "LegacyResourceConsumers", "::free;::realloc;::freopen;::fclose")) { |
32 } | 32 } |
33 bool isLanguageVersionSupported(const LangOptions &LangOpts) const override { | |
34 return LangOpts.CPlusPlus11; | |
35 } | |
33 | 36 |
34 /// Make configuration of checker discoverable. | 37 /// Make configuration of checker discoverable. |
35 void storeOptions(ClangTidyOptions::OptionMap &Opts) override; | 38 void storeOptions(ClangTidyOptions::OptionMap &Opts) override; |
36 | 39 |
37 void registerMatchers(ast_matchers::MatchFinder *Finder) override; | 40 void registerMatchers(ast_matchers::MatchFinder *Finder) override; |