//===- unittests/Analysis/CFGBuildResult.h - CFG tests --------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "clang/ASTMatchers/ASTMatchFinder.h" #include "clang/Analysis/CFG.h" #include "clang/Tooling/Tooling.h" #include <memory> namespace clang { namespace analysis { class BuildResult { … }; class CFGCallback : public ast_matchers::MatchFinder::MatchCallback { … }; template <typename FuncMatcherT = ast_matchers::internal::TrueMatcher> BuildResult BuildCFG(const char *Code, CFG::BuildOptions Options = { … } } // namespace analysis } // namespace clang