/external/clang/lib/AST/ |
RawCommentList.cpp | 145 const Decl *D) const {
|
Expr.cpp | 50 Decl *D = Ty->getDecl(); 403 // Filter out cases where the found Decl is the same as the value refenenced. 453 std::string PredefinedExpr::ComputeName(IdentType IT, const Decl *CurrentDecl) { 498 const FunctionDecl *Decl = FD; 500 Decl = Pattern; 501 const FunctionType *AFT = Decl->getType()->getAs<FunctionType>(); 521 for (unsigned i = 0, e = Decl->getNumParams(); i != e; ++i) { 523 POut << Decl->getParamDecl(i)->getType().stream(Policy); 624 if (DC->isFunctionOrMethod() && (DC->getDeclKind() != Decl::Captured)) { 625 const Decl *D = Decl::castFromDeclContext(DC) [all...] |
CXXInheritance.cpp | 230 // chain, followed by the access of the decl itself. 369 assert(((Decl *)BaseRecord)->getCanonicalDecl() == BaseRecord && 378 assert(((Decl *)BaseRecord)->getCanonicalDecl() == BaseRecord &&
|
ExprClassification.cpp | 27 static Cl::Kinds ClassifyDecl(ASTContext &Ctx, const Decl *D); 402 static Cl::Kinds ClassifyDecl(ASTContext &Ctx, const Decl *D) {
|
ItaniumMangle.cpp | 20 #include "clang/AST/Decl.h" 47 static const DeclContext *getEffectiveDeclContext(const Decl *D) { 76 return getEffectiveDeclContext(cast<Decl>(DC)); 83 static const RecordDecl *GetLocalClassDecl(const Decl *D) { 88 D = cast<Decl>(DC); 101 static const NamedDecl *getStructor(const NamedDecl *decl) { 102 const FunctionDecl *fn = dyn_cast_or_null<FunctionDecl>(decl); 103 return (fn ? getStructor(fn) : decl); 337 void mangleLocalName(const Decl *D); 458 // Don't mangle in the type if this isn't a decl we should typically mangle [all...] |
/external/clang/lib/CodeGen/ |
CGRecordLayoutBuilder.cpp | 118 /// \brief Gets the storage type for a field decl and handles storage 171 bool hasOwnStorage(const CXXRecordDecl *Decl, const CXXRecordDecl *Query); 485 bool CGRecordLowering::hasOwnStorage(const CXXRecordDecl *Decl, 487 const ASTRecordLayout &DeclLayout = Context.getASTRecordLayout(Decl); 490 for (const auto &Base : Decl->bases()) [all...] |
CodeGenFunction.h | 55 class Decl; 142 /// CurFuncDecl - Holds the Decl for the current outermost 144 const Decl *CurFuncDecl; 146 const Decl *CurCodeDecl; 196 /// \brief Lookup the captured field decl for a variable. 820 typedef llvm::DenseMap<const Decl*, llvm::Value*> DeclMapTy; [all...] |
/external/clang/lib/Sema/ |
SemaTemplateVariadic.cpp | 143 bool TraverseDecl(Decl *D) { 568 llvm::PointerUnion<Decl *, DeclArgumentPack *> *Instantiation 659 llvm::PointerUnion<Decl *, DeclArgumentPack *> *Instantiation 662 if (Instantiation->is<Decl*>()) [all...] |
AnalysisBasedWarnings.cpp | 413 static CheckFallThroughDiagnostics MakeForFunction(const Decl *Func) { 500 static void CheckFallThroughForBody(Sema &S, const Decl *D, const Stmt *Body, [all...] |
SemaExpr.cpp | 69 cast<Decl>(CurContext)->getAvailability() != AR_Unavailable) 78 const Decl *DC = cast<Decl>(S.getCurObjCLexicalContext()); 139 void Sema::NoteDeletedFunction(FunctionDecl *Decl) { 140 assert(Decl->isDeleted()); 142 CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Decl); 147 Diag(Decl->getLocation(), diag::note_implicitly_deleted); 158 if (CXXConstructorDecl *CD = dyn_cast<CXXConstructorDecl>(Decl)) { 161 Diag(Decl->getLocation(), diag::note_inherited_deleted_here); 173 Diag(Decl->getLocation(), diag::note_availability_specified_here [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
MallocSizeofChecker.cpp | 174 void checkASTCodeBody(const Decl *D, AnalysisManager& mgr,
|
UnreachableCodeChecker.cpp | 61 const Decl *D = nullptr;
|
MacOSKeychainAPIChecker.cpp | 285 if (!FD || FD->getKind() != Decl::Function) 447 if (!FD || FD->getKind() != Decl::Function)
|
UnixAPIChecker.cpp | 329 if (!FD || FD->getKind() != Decl::Function)
|
/external/clang/lib/Serialization/ |
ASTReader.cpp | [all...] |
ASTWriter.cpp | 17 #include "clang/AST/Decl.h" [all...] |
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCOpts.cpp | [all...] |
/external/clang/lib/Rewrite/Frontend/ |
RewriteModernObjC.cpp | 239 void HandleTopLevelSingleDecl(Decl *D); 240 void HandleDeclInMainFile(Decl *D); 321 void RewriteLineDirective(const Decl *D); 325 void RewriteForwardClassDecl(const SmallVectorImpl<Decl *> &DG); 333 void RewriteImplementationDecl(Decl *Dcl); 343 void RewriteForwardProtocolDecl(const SmallVectorImpl<Decl *> &DG); 350 void RewriteObjCQualifiedInterfaceTypes(Decl *Dcl); 383 // Names field decl. for ivar bitfield group. 730 void RewriteModernObjC::HandleTopLevelSingleDecl(Decl *D) { 734 // Two cases: either the decl could be in the main file, or it could be in [all...] |
RewriteObjC.cpp | 188 void HandleTopLevelSingleDecl(Decl *D); 189 void HandleDeclInMainFile(Decl *D); 271 void RewriteForwardClassDecl(const SmallVectorImpl<Decl *> &DG); 279 void RewriteImplementationDecl(Decl *Dcl); 289 void RewriteForwardProtocolDecl(const SmallVectorImpl<Decl *> &DG); 296 void RewriteObjCQualifiedInterfaceTypes(Decl *Dcl); 653 void RewriteObjC::HandleTopLevelSingleDecl(Decl *D) { 657 // Two cases: either the decl could be in the main file, or it could be in a 690 SmallVector<Decl *, 8> DG; 709 SmallVector<Decl *, 8> DG [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
BugReporter.cpp | 208 /// Returns true if the given decl has been implicitly given a body, either by 210 static bool hasImplicitBody(const Decl *D) { 341 Decl const &getCodeDecl() { return R->getErrorNode()->getCodeDecl(); } 388 const Decl *D = N->getLocationContext()->getDecl(); 605 const Decl *Caller = CE->getLocationContext()->getDecl(); [all...] |
/external/clang/lib/Analysis/ |
LiveVariables.cpp | 600 std::sort(declVec.begin(), declVec.end(), [](const Decl *A, const Decl *B) {
|
/frameworks/compile/slang/ |
slang_rs_backend.cpp | 172 if ((I->getKind() >= clang::Decl::firstFunction) && 173 (I->getKind() <= clang::Decl::lastFunction)) {
|
/external/clang/include/clang/CodeGen/ |
CGFunctionInfo.h | 30 class Decl;
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
ExplodedGraph.h | 22 #include "clang/AST/Decl.h" 144 const Decl &getCodeDecl() const { return *getLocationContext()->getDecl(); }
|
/external/clang/include/clang/AST/ |
Type.h | 3313 TagDecl * decl; member in class:clang::FunctionType::ExtInfo::FunctionProtoType::TagType [all...] |