Instantiator
Generate c++ template instantiations
Loading...
Searching...
No Matches
ASTCreation.hpp
Go to the documentation of this file.
1#ifndef AST_CREATION_H_
2#define AST_CREATION_H_
3
4#include <filesystem>
5
6#include "clang/Tooling/Tooling.h"
7
8void parseOrLoadAST(std::unique_ptr<clang::ASTUnit>& AST,
9 const clang::tooling::CompilationDatabase& db,
10 const std::filesystem::path& filename,
11 const std::filesystem::path& tmpdir);
12
13namespace internal {
22bool is_cached(const clang::tooling::CompilationDatabase& db, const std::filesystem::path& filename, const std::filesystem::path& tmpdir);
23} // namespace internal
24
25#endif
void parseOrLoadAST(std::unique_ptr< clang::ASTUnit > &AST, const clang::tooling::CompilationDatabase &db, const std::filesystem::path &filename, const std::filesystem::path &tmpdir)
bool is_cached(const clang::tooling::CompilationDatabase &db, const std::filesystem::path &filename, const std::filesystem::path &tmpdir)