/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | VarBypassDetector.h | 24 class Decl; variable 62 bool BuildScopeInformation(const Decl *D, unsigned &ParentScope);
|
H A D | CGOpenMPRuntimeGPU.h | 362 void emitFunctionProlog(CodeGenFunction &CGF, const Decl *D) override; 454 using DeclToAddrMapTy = llvm::MapVector<const Decl *, MappedVarData>; 456 using EscapedParamsTy = llvm::SmallPtrSet<const Decl *, 4>; 497 std::pair<const Decl *, llvm::SmallVector<const ValueDecl *, 4>>
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/Index/ |
H A D | DeclOccurrence.h | 26 llvm::PointerUnion<const Decl *, const MacroInfo *> DeclOrMacro; 30 DeclOccurrence(SymbolRoleSet R, unsigned Offset, const Decl *D, in DeclOccurrence()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Parse/ |
H A D | ParseAST.cpp | 117 Decl::EnableStatistics(); in ParseAST() 168 for (Decl *D : S.WeakTopLevelDecls()) in ParseAST() 185 Decl::PrintStats(); in ParseAST()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaTemplateInstantiate.cpp | 544 Decl *D = Active->Entity; in PrintInstantiationStack() 1002 Decl *TransformDecl(SourceLocation Loc, Decl *D); 1004 void transformAttrs(Decl *Old, Decl *New) { in transformAttrs() 1008 void transformedLocalDecl(Decl *Old, ArrayRef<Decl *> NewDecls) { in transformedLocalDecl() 1045 Decl *TransformDefinition(SourceLocation Loc, Decl *D); 1216 Decl *TemplateInstantiator::TransformDecl(SourceLocation Loc, Decl *D) { in TransformDecl() 1251 Decl *TemplateInstantiator::TransformDefinition(SourceLocation Loc, Decl *D) { in TransformDefinition() 1684 Decl *TransformedDecl; in TransformFunctionParmPackRefExpr() 3549 static const Decl *getCanonicalParmVarDecl(const Decl *D) { in getCanonicalParmVarDecl() 3574 const Decl *CheckD = D; in findInstantiationOf() [all …]
|
H A D | SemaCodeComplete.cpp | 1150 (IDNS & (Decl::IDNS_Member | Decl::IDNS_Ordinary | in MaybeAddResult() 1151 Decl::IDNS_LocalExtern | Decl::IDNS_ObjCProtocol))) in MaybeAddResult() 1403 unsigned IDNS = Decl::IDNS_Ordinary | Decl::IDNS_LocalExtern; in IsOrdinaryName() 1405 IDNS |= Decl::IDNS_Tag | Decl::IDNS_Namespace | Decl::IDNS_Member; in IsOrdinaryName() 1428 unsigned IDNS = Decl::IDNS_Ordinary | Decl::IDNS_LocalExtern; in IsOrdinaryNonTypeName() 1430 IDNS |= Decl::IDNS_Tag | Decl::IDNS_Namespace | Decl::IDNS_Member; in IsOrdinaryNonTypeName() 1455 unsigned IDNS = Decl::IDNS_Ordinary | Decl::IDNS_LocalExtern; in IsOrdinaryNonValueName() 1457 IDNS |= Decl::IDNS_Tag | Decl::IDNS_Namespace; in IsOrdinaryNonValueName() 3841 case Decl::Enum: in getCursorKindForDecl() 3845 case Decl::Field: in getCursorKindForDecl() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CallEvent.h | 109 const Decl *D = nullptr; 119 RuntimeDefinition(const Decl *InD): D(InD) {} in RuntimeDefinition() 120 RuntimeDefinition(const Decl *InD, const MemRegion *InR): D(InD), R(InR) {} in RuntimeDefinition() 122 const Decl *getDecl() { return D; } in getDecl() 150 llvm::PointerUnion<const Expr *, const Decl *> Origin; 208 virtual const Decl *getDecl() const { in getDecl() 209 return Origin.dyn_cast<const Decl *>(); in getDecl() 241 const Decl *D = getDecl(); in isInSystemHeader() 387 static QualType getDeclaredResultType(const Decl *D); 392 static bool isVariadic(const Decl *D); [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/utils/TableGen/ |
H A D | SequenceToOffsetTable.h | 171 void emitStringLiteralDef(raw_ostream &OS, const llvm::Twine &Decl) const { in emitStringLiteralDef() argument 178 << Decl << " = {\n"; in emitStringLiteralDef() 180 OS << Decl << " = {\n"; in emitStringLiteralDef()
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/Serialization/ |
H A D | ASTDeserializationListener.h | 22 class Decl; variable 47 virtual void DeclRead(serialization::DeclID ID, const Decl *D) { } in DeclRead()
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | ASTTypeTraits.h | 65 static ASTNodeKind getFromNode(const Decl &D); 143 #define DECL(DERIVED, BASE) NKI_##DERIVED##Decl, 200 KIND_TO_KIND_ID(Decl) 205 #define DECL(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED##Decl) 471 T, std::enable_if_t<std::is_base_of<Decl, T>::value>> 472 : public DynCastPtrConverter<T, Decl> {};
|
H A D | ASTConsumer.h | 20 class Decl; variable 145 virtual bool shouldSkipFunctionBody(Decl *D) { return true; } in shouldSkipFunctionBody()
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/Sema/ |
H A D | AnalysisBasedWarnings.h | 22 class Decl; variable 98 const Decl *D, QualType BlockType);
|
H A D | TemplateDeduction.h | 33 class Decl; variable 297 Decl *Specialization; 302 void set(DeclAccessPair Found, Decl *Spec, DeductionFailureInfo Info) { in set()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/MC/MCParser/ |
H A D | MCAsmParser.h | 49 void *Decl; member 53 void *Decl; member 75 Label.Decl = decl; in setLabel() 80 Var.Decl = decl; in setVar()
|
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ObjCAutoreleaseWriteChecker.cpp | 52 void checkASTCodeBody(const Decl *D, 109 static void emitDiagnostics(BoundNodes &Match, const Decl *D, BugReporter &BR, in emitDiagnostics() 168 void ObjCAutoreleaseWriteChecker::checkASTCodeBody(const Decl *D, in checkASTCodeBody()
|
H A D | GCDAntipatternChecker.cpp | 50 void checkASTCodeBody(const Decl *D, 73 static bool isTest(const Decl *D) { in isTest() 203 void GCDAntipatternChecker::checkASTCodeBody(const Decl *D, in checkASTCodeBody()
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/CodeGen/ |
H A D | ModuleBuilder.h | 28 class Decl; variable 75 const Decl *GetDeclForMangledName(llvm::StringRef MangledName);
|
/netbsd/external/apache2/llvm/dist/clang/tools/libclang/ |
H A D | CXType.cpp | 230 const Decl *D = cxcursor::getCursorDecl(C); in clang_getCursorType() 311 const Decl *D = cxcursor::getCursorDecl(C); in clang_getTypedefDeclUnderlyingType() 329 const Decl *D = cxcursor::getCursorDecl(C); in clang_getEnumDeclIntegerType() 346 const Decl *D = cxcursor::getCursorDecl(C); in clang_getEnumConstantDeclValue() 362 const Decl *D = cxcursor::getCursorDecl(C); in clang_getEnumConstantDeclUnsignedValue() 378 const Decl *D = getCursorDecl(C); in clang_getFieldDeclBitWidth() 491 Decl *D = nullptr; in clang_getTypeDeclaration() 1104 const Decl *D = cxcursor::getCursorDecl(C); in clang_getDeclObjCTypeEncoding() 1259 const Decl *D = cxcursor::getCursorDecl(C); in clang_Cursor_isAnonymous() 1273 const Decl *D = cxcursor::getCursorDecl(C); in clang_Cursor_isAnonymousRecordDecl() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/ASTMatchers/ |
H A D | ASTMatchFinder.cpp | 117 if (const Decl *D = DynNode.get<Decl>()) in findMatch() 149 bool TraverseDecl(Decl *DeclNode) { in TraverseDecl() 322 bool baseTraverse(const Decl &DeclNode) { in baseTraverse() 323 return VisitorBase::TraverseDecl(const_cast<Decl*>(&DeclNode)); in baseTraverse() 484 bool TraverseDecl(Decl *DeclNode); 679 if (auto *N = Node.get<Decl>()) { in match() 869 void matchDispatch(const Decl *Node) { in matchDispatch() 996 return D->getKind() == Decl::TranslationUnit; in matchesAnyAncestorOf() 1201 bool MatchASTVisitor::TraverseDecl(Decl *DeclNode) { in TraverseDecl() 1399 if (NodeMatch.canConvertTo<Decl>()) { in addDynamicMatcher() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | ASTImporter.cpp | 123 SmallVector<Decl*, 2> getCanonicalForwardRedeclChain(Decl* D) { in getCanonicalForwardRedeclChain() 133 void updateFlags(const Decl *From, Decl *To) { in updateFlags() 265 void InitializeImportedDecl(Decl *FromD, Decl *ToD) { in InitializeImportedDecl() 283 void addDeclToContexts(Decl *FromD, Decl *ToD) { in addDeclToContexts() 388 Error ImportDefinitionIfNeeded(Decl *FromD, Decl *ToD = nullptr); 466 bool IsStructuralMatch(Decl *From, Decl *To, bool Complain); 2786 IDNS |= Decl::IDNS_Ordinary | Decl::IDNS_TagFriend; in VisitRecordDecl() 8191 Expected<Decl *> ASTImporter::ImportImpl(Decl *FromD) { in ImportImpl() 8197 void ASTImporter::RegisterImportedDecl(Decl *FromD, Decl *ToD) { in RegisterImportedDecl() 8332 Expected<Decl *> ASTImporter::Import(Decl *FromD) { in Import() [all …]
|
H A D | ParentMapContext.cpp | 71 llvm::PointerUnion<const Decl *, const Stmt *, 78 llvm::PointerUnion<const Decl *, const Stmt *, 87 if (const auto *D = U.dyn_cast<const Decl *>()) in getSingleDynTypedNodeFromParentMap() 375 if (const auto *D = ParentStack.back().get<Decl>()) in addParent() 415 bool TraverseDecl(Decl *DeclNode) { in TraverseDecl()
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/Analysis/ |
H A D | AnyCall.h | 65 const Decl *D = nullptr; 133 static Optional<AnyCall> forDecl(const Decl *D) { in forDecl() 196 const Decl *getDecl() const { in getDecl()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Serialization/ |
H A D | ASTWriterDecl.cpp | 48 uint64_t Emit(Decl *D) { in Emit() 55 void Visit(Decl *D); 57 void VisitDecl(Decl *D); 178 llvm::MapVector<ModuleFile*, const Decl*> Firsts; in AddFirstDeclFromEachModule() 229 llvm::SmallVector<const Decl*, 16> Specs; in AddTemplateSpecializations() 269 void ASTDeclWriter::Visit(Decl *D) { in Visit() 296 void ASTDeclWriter::VisitDecl(Decl *D) { in VisitDecl() 1067 D->getKind() == Decl::Var && in VisitVarDecl() 1250 Decl *Parent = cast<Decl>( in VisitNamespaceDecl() 1763 const Decl *ASTWriter::getFirstLocalDecl(const Decl *D) { in getFirstLocalDecl() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/ARCMigrate/ |
H A D | TransRetainReleaseDealloc.cpp | 53 void transformBody(Stmt *body, Decl *ParentD) { in transformBody() 187 Decl *RefD = getReferencedDecl(Rec); in isReturnedAfterAutorelease() 208 Decl *RefD = getReferencedDecl(Rec); in isPlusOneAssignBeforeOrAfterAutorelease() 219 bool isPlusOneAssignToVar(Stmt *S, Decl *RefD) { in isPlusOneAssignToVar() 289 Decl *getReferencedDecl(Expr *E) { in getReferencedDecl()
|
/netbsd/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
H A D | EvalEmitter.cpp | 124 QualType FieldTy = F.Decl->getType(); in emitRetValue() 144 QualType FieldTy = FD->Decl->getType(); in emitRetValue() 157 QualType BaseTy = Ctx.getASTContext().getRecordType(BD->Decl); in emitRetValue() 164 QualType VirtBaseTy = Ctx.getASTContext().getRecordType(VD->Decl); in emitRetValue()
|