Lines Matching refs:clang

20 #include "clang/AST/AST.h"
21 #include "clang/AST/ASTConsumer.h"
22 #include "clang/AST/Attr.h"
23 #include "clang/AST/CXXInheritance.h"
24 #include "clang/AST/TypeLoc.h"
25 #include "clang/Basic/SourceManager.h"
35 FindBadConstructsConsumer(clang::CompilerInstance& instance,
39 virtual void CheckChromeClass(clang::SourceLocation record_location,
40 clang::CXXRecordDecl* record);
41 virtual void CheckChromeEnum(clang::SourceLocation enum_location,
42 clang::EnumDecl* enum_decl);
48 void CheckCtorDtorWeight(clang::SourceLocation record_location,
49 clang::CXXRecordDecl* record);
51 void CheckVirtualMethod(const clang::CXXMethodDecl* method,
54 bool InTestingNamespace(const clang::Decl* record);
55 bool IsMethodInBannedOrTestingNamespace(const clang::CXXMethodDecl* method);
57 void CheckOverriddenMethod(const clang::CXXMethodDecl* method);
58 void CheckVirtualMethods(clang::SourceLocation record_location,
59 clang::CXXRecordDecl* record,
62 void CountType(const clang::Type* type,
68 const clang::CXXRecordDecl* record,
69 clang::SourceLocation& loc);
70 clang::DiagnosticsEngine::Level getErrorLevel();
71 static bool IsRefCountedCallback(const clang::CXXBaseSpecifier* base,
72 clang::CXXBasePath& path,
74 static bool HasPublicDtorCallback(const clang::CXXBaseSpecifier* base,
75 clang::CXXBasePath& path,
77 void PrintInheritanceChain(const clang::CXXBasePath& path);
79 void CheckRefCountedDtors(clang::SourceLocation record_location,
80 clang::CXXRecordDecl* record);
82 void CheckWeakPtrFactoryMembers(clang::SourceLocation record_location,
83 clang::CXXRecordDecl* record);