29 return LangOpts.CPlusPlus && LangOpts.CXXExceptions;
33 void check(
const ast_matchers::MatchFinder::MatchResult &Result)
override;
36 StringRef RawFunctionsThatShouldNotThrow;
37 StringRef RawIgnoredExceptions;
38 StringRef RawCheckedSwapFunctions;
40 const bool CheckDestructors;
41 const bool CheckMoveMemberFunctions;
43 const bool CheckNothrowFunctions;
45 llvm::StringSet<> FunctionsThatShouldNotThrow;
46 llvm::StringSet<> CheckedSwapFunctions;
Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context.