Searched refs:Decl (Results 201 - 225 of 291) sorted by relevance

1234567891011>>

/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp177 void checkASTCodeBody(const Decl *D, AnalysisManager& mgr,
H A DNonNullParamChecker.cpp49 const Decl *FD = Call.getDecl();
H A DUnreachableCodeChecker.cpp61 const Decl *D = nullptr;
H A DLocalizationChecker.cpp20 #include "clang/AST/Decl.h"
83 bool isAnnotatedAsLocalized(const Decl *D) const;
565 bool NonLocalizedStringChecker::isAnnotatedAsLocalized(const Decl *D) const {
780 const Decl *D = Call.getDecl();
1022 void checkASTCodeBody(const Decl *D, AnalysisManager &Mgr,
1025 Visitor.TraverseDecl(const_cast<Decl *>(D));
H A DMacOSKeychainAPIChecker.cpp275 if (!FD || FD->getKind() != Decl::Function)
445 if (!FD || FD->getKind() != Decl::Function)
H A DUnixAPIChecker.cpp353 if (!FD || FD->getKind() != Decl::Function)
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DComment.h25 class Decl;
989 const Decl *CommentDecl;
999 const Decl *CurrentDecl;
1125 const Decl *getDecl() const LLVM_READONLY {
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DDeclSpec.h363 Decl *DeclRep;
485 Decl *getRepAsDecl() const {
629 unsigned &DiagID, Decl *Rep, bool Owned,
637 unsigned &DiagID, Decl *Rep, bool Owned,
656 void UpdateDeclRep(Decl *Rep) {
775 /// This should be kept in sync with Decl::ObjCDeclQualifier.
1168 Decl *Param;
1179 Decl *param,
1600 /// Decl object.
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDebugInfo.cpp153 llvm::DIScope *CGDebugInfo::getDeclContextDescriptor(const Decl *D) {
155 return getContextDescriptor(cast<Decl>(D->getDeclContext()),
159 llvm::DIScope *CGDebugInfo::getContextDescriptor(const Decl *Context,
2199 llvm::DIModule *CGDebugInfo::getParentModuleOrNull(const Decl *D) {
2497 VDContext = getContextDescriptor(cast<Decl>(DC), Mod ? Mod : TheCU);
2551 llvm::DINode *CGDebugInfo::getDeclarationOrDefinition(const Decl *D) {
2574 llvm::DISubprogram *CGDebugInfo::getFunctionDeclaration(const Decl *D) {
2612 llvm::DISubroutineType *CGDebugInfo::getOrCreateFunctionType(const Decl *D,
2684 const Decl *D = GD.getDecl();
2740 // as they will overwrite the actual VarDecl Decl i
[all...]
H A DTargetInfo.cpp889 void setTargetAttributes(const Decl *D, llvm::GlobalValue *GV,
1596 void X86_32TargetCodeGenInfo::setTargetAttributes(const Decl *D,
1956 void setTargetAttributes(const Decl *D, llvm::GlobalValue *GV,
1972 static void addStackProbeSizeTargetAttribute(const Decl *D,
1985 void WinX86_32TargetCodeGenInfo::setTargetAttributes(const Decl *D,
1999 void setTargetAttributes(const Decl *D, llvm::GlobalValue *GV,
2029 void WinX86_64TargetCodeGenInfo::setTargetAttributes(const Decl *D,
4833 void setTargetAttributes(const Decl *D, llvm::GlobalValue *GV,
4878 void setTargetAttributes(const Decl *D, llvm::GlobalValue *GV,
4883 const Decl *
[all...]
H A DCoverageMappingGen.cpp308 void VisitDecl(const Decl *D) {
580 void VisitDecl(const Decl *D) {
1051 void CoverageMappingGen::emitCounterMapping(const Decl *D,
1059 void CoverageMappingGen::emitEmptyMapping(const Decl *D,
H A DCodeGenAction.cpp428 if (const Decl *ND = Gen->GetDeclForMangledName(D.getFunction().getName())) {
431 << D.getStackSize() << Decl::castToDeclContext(ND);
465 if (const Decl *FD = Gen->GetDeclForMangledName(D.getFunction().getName()))
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp241 void HandleTopLevelSingleDecl(Decl *D);
242 void HandleDeclInMainFile(Decl *D);
312 void RewriteLineDirective(const Decl *D);
316 void RewriteForwardClassDecl(const SmallVectorImpl<Decl *> &DG);
324 void RewriteImplementationDecl(Decl *Dcl);
334 void RewriteForwardProtocolDecl(const SmallVectorImpl<Decl *> &DG);
341 void RewriteObjCQualifiedInterfaceTypes(Decl *Dcl);
718 void RewriteModernObjC::HandleTopLevelSingleDecl(Decl *D) {
756 SmallVector<Decl *, 8> DG;
781 SmallVector<Decl *,
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp2621 if (Decl *D = GetExistingDecl(ID))
3014 if (Decl *D = GetExistingDecl(ID))
3345 for (Decl *D : Names) {
5392 TypedefNameDecl *Decl = ReadDeclAs<TypedefNameDecl>(*Loc.F, Record, Idx); local
5396 return Context.getTypedefType(Decl, Canonical);
6226 Decl *ASTReader::GetExternalDecl(uint32_t ID) {
6231 static void completeRedeclChainForTemplateSpecialization(Decl *D) {
6236 void ASTReader::CompleteRedeclChain(const Decl *D) {
6242 PendingIncompleteDeclChains.push_back(const_cast<Decl*>(D));
6269 for (auto *DCDecl : cast<Decl>(
[all...]
H A DASTWriter.cpp20 #include "clang/AST/Decl.h"
3103 if (Decl *Redecl = D->getPreviousDecl()) {
3113 } else if (Decl *First = D->getCanonicalDecl()) {
3605 for (Decl *ChildD : cast<CXXRecordDecl>(DC)->decls())
3696 Chain->getKeyDeclaration(cast<Decl>(DC))->isFromASTFile()) {
3793 DC = cast<DeclContext>(Chain->getKeyDeclaration(cast<Decl>(DC)));
3796 RecordData::value_type Record[] = {UPDATE_VISIBLE, getDeclID(cast<Decl>(DC))};
4131 auto RegisterPredefDecl = [&] (Decl *D, PredefinedDeclIDs ID) {
4596 const Decl *D = DeclUpdate.first;
4955 void ASTWriter::AddDeclRef(const Decl *
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/
H A DExpr.cpp50 Decl *D = Ty->getDecl();
394 // Filter out cases where the found Decl is the same as the value refenenced.
472 std::string PredefinedExpr::ComputeName(IdentType IT, const Decl *CurrentDecl) {
532 const FunctionDecl *Decl = FD; local
534 Decl = Pattern;
535 const FunctionType *AFT = Decl->getType()->getAs<FunctionType>();
556 for (unsigned i = 0, e = Decl->getNumParams(); i != e; ++i) {
558 POut << Decl->getParamDecl(i)->getType().stream(Policy);
657 if (DC->isFunctionOrMethod() && (DC->getDeclKind() != Decl::Captured)) {
658 const Decl *
[all...]
H A DStmtPrinter.cpp67 void PrintRawDecl(Decl *D);
124 void StmtPrinter::PrintRawDecl(Decl *D) {
129 SmallVector<Decl*, 2> Decls(S->decls());
130 Decl::printGroup(Decls.data(), Decls.size(), OS, Policy, IndentLevel);
465 if (Decl *DS = catchStmt->getCatchParamDecl())
515 if (Decl *ExDecl = Node->getExceptionDecl())
H A DExprClassification.cpp27 static Cl::Kinds ClassifyDecl(ASTContext &Ctx, const Decl *D);
412 static Cl::Kinds ClassifyDecl(ASTContext &Ctx, const Decl *D) {
H A DRawCommentList.cpp204 const Decl *D) const {
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaLambda.cpp279 Decl *&ManglingContextDecl) {
425 Decl *ManglingContextDecl;
1131 SmallVector<Decl*, 4> Fields(Class->fields());
1510 Decl *TemplateOrNonTemplateCallOperatorDecl =
1513 : cast<Decl>(CallOperator);
1582 SmallVector<Decl*, 4> Fields(Class->fields());
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp210 static bool hasImplicitBody(const Decl *D) {
341 Decl const &getCodeDecl() { return R->getErrorNode()->getCodeDecl(); }
388 const Decl *D = N->getLocationContext()->getDecl();
601 const Decl *Caller = CE->getLocationContext()->getDecl();
1435 const Decl *D = CE->getCalleeContext()->getDecl();
1455 const Decl *Caller = CE->getLocationContext()->getDecl();
1653 const Decl *D = CalleeLC->getDecl();
1667 const Decl *Caller = CE->getLocationContext()->getDecl();
1869 const Decl *D = CalleeLC->getDecl();
2511 const Decl *
[all...]
H A DHTMLDiagnostics.cpp15 #include "clang/AST/Decl.h"
138 if (const Decl *DeclWithIssue = D.getDeclWithIssue()) {
245 const Decl *DeclWithIssue = D.getDeclWithIssue();
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Analysis/
H A DLiveVariables.cpp595 std::sort(declVec.begin(), declVec.end(), [](const Decl *A, const Decl *B) {
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExplodedGraph.h22 #include "clang/AST/Decl.h"
142 const Decl &getCodeDecl() const { return *getLocationContext()->getDecl(); }
H A DMemRegion.h21 #include "clang/AST/Decl.h"
112 // Decl Regions.
856 const Decl *D;
858 DeclRegion(const Decl *d, const MemRegion* sReg, Kind k)
861 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const Decl *D,
865 const Decl *getDecl() const { return D; }

Completed in 337 milliseconds

1234567891011>>