pet_codegen.c: add missing include
[pet.git] / clang.h
blobb252d312d23598eaef9723eef94e6f8210ef6f79
1 #ifndef PET_CLANG_H
2 #define PET_CLANG_H
4 #include <clang/AST/ASTContext.h>
5 #include <clang/AST/Decl.h>
6 #include <clang/AST/Expr.h>
7 #include <clang/AST/Type.h>
9 clang::QualType pet_clang_base_type(clang::QualType qt);
10 int pet_clang_array_depth(const clang::QualType qt);
11 clang::QualType pet_clang_base_or_typedef_type(clang::QualType qt);
12 clang::RecordDecl *pet_clang_record_decl(clang::QualType T);
13 clang::Expr *pet_clang_strip_casts(clang::Expr *expr);
14 int pet_clang_get_type_size(clang::QualType qt, clang::ASTContext &ast_context);
15 clang::FunctionDecl *pet_clang_find_function_decl_with_body(
16 clang::FunctionDecl *fd);
18 #endif