9 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_OPENMP_EXCEPTIONESCAPECHECK_H 10 #define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_OPENMP_EXCEPTIONESCAPECHECK_H 12 #include "../ClangTidy.h" 13 #include "../utils/ExceptionAnalyzer.h" 29 void check(
const ast_matchers::MatchFinder::MatchResult &
Result)
override;
32 std::string RawIgnoredExceptions;
41 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_OPENMP_EXCEPTIONESCAPECHECK_H Base class for all clang-tidy checks.
void check(const ast_matchers::MatchFinder::MatchResult &Result) override
ClangTidyChecks that register ASTMatchers should do the actual work in here.
Analyzes OpenMP Structured Blocks and checks that no exception escapes out of the Structured Block it...
This class analysis if a FunctionDecl can in principle throw an exception, either directly or indirec...
static constexpr llvm::StringLiteral Name
std::map< std::string, std::string > OptionMap
ExceptionEscapeCheck(StringRef Name, ClangTidyContext *Context)
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
void registerMatchers(ast_matchers::MatchFinder *Finder) override
Override this to register AST matchers with Finder.
void storeOptions(ClangTidyOptions::OptionMap &Opts) override
Should store all options supported by this check with their current values or default values for opti...
Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context.
llvm::Optional< llvm::Expected< tooling::AtomicChanges > > Result