Lines Matching defs:decl

315   clang::Decl *decl = FromCompilerDecl(*option);
316 if (!decl)
319 return clang::Decl::castToDeclContext(decl);
465 // If we can't find a full decl for this forward ref anywhere in the debug
654 if (clang::Decl *decl = TryGetDecl(block_id))
655 return llvm::dyn_cast<clang::BlockDecl>(decl);
692 if (clang::Decl *decl = TryGetDecl(var_id))
693 return llvm::dyn_cast<clang::VarDecl>(decl);
707 if (clang::Decl *decl = TryGetDecl(var_id))
708 return llvm::dyn_cast<clang::VarDecl>(decl);
720 if (clang::Decl *decl = TryGetDecl(id))
721 return llvm::dyn_cast<clang::TypedefNameDecl>(decl);
824 // This is a forward decl. Call GetOrCreate on the full decl, then map the
825 // forward decl id to the full decl QualType.
833 // This is either a full decl, or a forward decl with no matching full decl
935 // Look up the function decl by the id index to see if we have created a
936 // function decl for a different inlinesite that refers the same function.
937 if (clang::Decl *decl = TryGetDecl(func_id))
938 return llvm::dyn_cast<clang::FunctionDecl>(decl);
1015 if (clang::Decl *decl = TryGetDecl(func_id))
1016 return llvm::dyn_cast<clang::FunctionDecl>(decl);
1330 static CVSymbolArray skipFunctionParameters(clang::Decl &decl,
1332 clang::FunctionDecl *func_decl = llvm::dyn_cast<clang::FunctionDecl>(&decl);
1389 clang::Decl *decl = clang::Decl::castFromDeclContext(&context);
1390 lldbassert(decl);
1392 auto iter = m_decl_to_status.find(decl);
1430 CompilerDecl PdbAstBuilder::ToCompilerDecl(clang::Decl &decl) {
1431 return m_clang.GetCompilerDecl(&decl);
1443 clang::Decl * PdbAstBuilder::FromCompilerDecl(CompilerDecl decl) {
1444 return ClangUtil::GetDecl(decl);