summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/google/NonConstReferences.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clang-tidy/google/NonConstReferences.h')
-rw-r--r--clang-tools-extra/clang-tidy/google/NonConstReferences.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/clang-tools-extra/clang-tidy/google/NonConstReferences.h b/clang-tools-extra/clang-tidy/google/NonConstReferences.h
index 3adb1f9d40d..a665813fff0 100644
--- a/clang-tools-extra/clang-tidy/google/NonConstReferences.h
+++ b/clang-tools-extra/clang-tidy/google/NonConstReferences.h
@@ -22,10 +22,13 @@ namespace runtime {
/// https://google.github.io/styleguide/cppguide.html#Reference_Arguments
class NonConstReferences : public ClangTidyCheck {
public:
- NonConstReferences(StringRef Name, ClangTidyContext *Context)
- : ClangTidyCheck(Name, Context) {}
+ NonConstReferences(StringRef Name, ClangTidyContext *Context);
void registerMatchers(ast_matchers::MatchFinder *Finder) override;
void check(const ast_matchers::MatchFinder::MatchResult &Result) override;
+ void storeOptions(ClangTidyOptions::OptionMap &Opts) override;
+
+private:
+ const std::vector<std::string> WhiteListTypes;
};
} // namespace runtime
OpenPOWER on IntegriCloud