|
Instantiator
Generate c++ template instantiations
|
Functions | |
| bool | is_cached (const clang::tooling::CompilationDatabase &db, const std::filesystem::path &filename, const std::filesystem::path &tmpdir) |
| std::vector< std::string > | parseTemplateArgs (const clang::TemplateArgumentList *TAL, clang::PrintingPolicy pp) |
| std::vector< Param > | parseFunctionArgs (std::vector< clang::ParmVarDecl * > Args, clang::PrintingPolicy pp) |
Namespace for internal functions.
| bool internal::is_cached | ( | const clang::tooling::CompilationDatabase & | db, |
| const std::filesystem::path & | filename, | ||
| const std::filesystem::path & | tmpdir ) |
Helper function to detect whether the AST for filename is cached on disk.
true if the AST is cached, false if not.| db | : clang::tooling::CompilationDatabase to be able to invoke the compiler for getting the dependencies. |
| filename | : Name of the source file |
Definition at line 29 of file ASTCreation.cpp.
| std::vector< Param > internal::parseFunctionArgs | ( | std::vector< clang::ParmVarDecl * > | Args, |
| clang::PrintingPolicy | pp ) |
Helper function to load function parameters.
| Args | Array of clang::ParmVarDecl. |
| pp | clang::PrintingPolicy which controls how strings are created. |
Definition at line 69 of file Parsing.cpp.
| std::vector< std::string > internal::parseTemplateArgs | ( | const clang::TemplateArgumentList * | TAL, |
| clang::PrintingPolicy | pp ) |
Helper function to load template arguments.
std::vector<std::string> with the names of all types of template arguments. | TAL | Pointer to a clang::TemplateArgumentList. |
| pp | clang::PrintingPolicy which controls how strings are created. |
Definition at line 9 of file Parsing.cpp.