Lines Matching full:clang
32 #include "clang/AST/AST.h"
33 #include "clang/AST/ASTConsumer.h"
34 #include "clang/AST/RecursiveASTVisitor.h"
35 #include "clang/Frontend/CompilerInstance.h"
42 explicit CheckIPCVisitor(clang::CompilerInstance& compiler);
44 void set_context(clang::ASTContext* context) { context_ = context; }
46 void BeginDecl(clang::Decl* decl);
49 clang::TemplateSpecializationType* spec);
50 void VisitCallExpr(clang::CallExpr* call_expr);
57 bool ValidateWriteParam(const clang::CallExpr* call_expr);
58 bool ValidateWriteParamSignature(const clang::CallExpr* call_expr);
59 bool ValidateWriteParamArgument(const clang::Expr* arg_expr);
61 const clang::TemplateSpecializationType* spec);
66 bool IsBlacklistedType(clang::QualType type) const;
67 bool IsBlacklistedTypedef(const clang::TypedefNameDecl* tdef) const;
70 clang::QualType entry_type;
71 clang::QualType exit_type;
72 llvm::SmallVector<const clang::TypedefType*, 5> typedefs;
75 bool CheckType(clang::QualType type, CheckDetails* details) const;
76 bool CheckIntegerType(clang::QualType type, CheckDetails* details) const;
77 bool CheckTemplateArgument(const clang::TemplateArgument& arg,
81 clang::SourceLocation loc,
84 clang::CompilerInstance& compiler_;
85 clang::ASTContext* context_;
92 std::vector<const clang::Decl*> decl_stack_;