/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | ProTypeStaticCastDowncastCheck.cpp | 32 const auto *SourceDecl = SourceType->getPointeeCXXRecordDecl(); in check() local 33 if (!SourceDecl) // The cast is from object to reference in check() 34 SourceDecl = SourceType->getAsCXXRecordDecl(); in check() 35 if (!SourceDecl) in check() 38 if (SourceDecl->isPolymorphic()) in check()
|
D | ProTypeCstyleCastCheck.cpp | 53 const auto *SourceDecl = SourceType->getPointeeCXXRecordDecl(); in check() local 54 if (!SourceDecl) // The cast is from object to reference. in check() 55 SourceDecl = SourceType->getAsCXXRecordDecl(); in check() 56 if (!SourceDecl) in check() 59 if (SourceDecl->isPolymorphic()) { in check()
|
/external/llvm-project/clang/include/clang/AST/ |
D | AbstractBasicWriter.h | 180 asImpl().writeDeclRef(esi.SourceDecl); in writeExceptionSpecInfo() 183 asImpl().writeDeclRef(esi.SourceDecl); in writeExceptionSpecInfo()
|
D | AbstractBasicReader.h | 196 esi.SourceDecl = asImpl().readFunctionDeclRef(); in readExceptionSpecInfo() 199 esi.SourceDecl = asImpl().readFunctionDeclRef(); in readExceptionSpecInfo()
|
D | Type.h | 3945 FunctionDecl *SourceDecl = nullptr; 4145 Result.SourceDecl = getExceptionSpecDecl(); 4148 Result.SourceDecl = getExceptionSpecDecl();
|
/external/llvm-project/clang/lib/AST/ |
D | ExternalASTMerger.cpp | 533 for (const Decl *SourceDecl : SourceDC.get()->decls()) { in FindExternalLexicalDecls() local 534 if (IsKindWeWant(SourceDecl->getKind())) { in FindExternalLexicalDecls() 535 auto ImportedDeclOrErr = Forward.Import(SourceDecl); in FindExternalLexicalDecls()
|
D | Type.cpp | 3207 slot[0] = epi.ExceptionSpec.SourceDecl; in FunctionProtoType() 3215 slot[0] = epi.ExceptionSpec.SourceDecl; in FunctionProtoType() 3356 ID.AddPointer(epi.ExceptionSpec.SourceDecl->getCanonicalDecl()); in Profile()
|
D | TextNodeDumper.cpp | 1609 OS << " noexcept-unevaluated " << EPI.ExceptionSpec.SourceDecl; in VisitFunctionDecl()
|
D | ASTImporter.cpp | 1272 ToEPI.ExceptionSpec.SourceDecl = in VisitFunctionProtoType() 1273 importChecked(Err, FromEPI.ExceptionSpec.SourceDecl); in VisitFunctionProtoType() 3312 if (FromEPI.ExceptionSpec.SourceDecl || in VisitFunctionDecl()
|
/external/clang/lib/Sema/ |
D | SemaExceptionSpec.cpp | 156 FunctionDecl *SourceDecl = FPT->getExceptionSpecDecl(); in ResolveExceptionSpec() local 158 SourceDecl->getType()->castAs<FunctionProtoType>(); in ResolveExceptionSpec() 166 EvaluateImplicitExceptionSpec(Loc, cast<CXXMethodDecl>(SourceDecl)); in ResolveExceptionSpec() 168 InstantiateExceptionSpec(Loc, SourceDecl); in ResolveExceptionSpec() 171 SourceDecl->getType()->castAs<FunctionProtoType>(); in ResolveExceptionSpec()
|
D | SemaDeclCXX.cpp | 5321 EPI.ExceptionSpec.SourceDecl = MD; in getImplicitMethodEPI() 5494 EPI.ExceptionSpec.SourceDecl = MD; in CheckExplicitlyDefaultedSpecialMember() 9291 EPI.ExceptionSpec.SourceDecl = DerivedCtor; in findInheritingConstructor() 9658 EPI.ExceptionSpec.SourceDecl = Destructor; in AdjustDestructorExceptionSpec()
|
D | SemaTemplateInstantiateDecl.cpp | 3449 EPI.ExceptionSpec.SourceDecl = New; in InitFunctionInstantiation()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExceptionSpec.cpp | 212 FunctionDecl *SourceDecl = FPT->getExceptionSpecDecl(); in ResolveExceptionSpec() local 214 SourceDecl->getType()->castAs<FunctionProtoType>(); in ResolveExceptionSpec() 222 EvaluateImplicitExceptionSpec(Loc, SourceDecl); in ResolveExceptionSpec() 224 InstantiateExceptionSpec(Loc, SourceDecl); in ResolveExceptionSpec() 227 SourceDecl->getType()->castAs<FunctionProtoType>(); in ResolveExceptionSpec()
|
D | SemaDeclCXX.cpp | 7189 EPI.ExceptionSpec.SourceDecl = MD; in getImplicitMethodEPI() 7394 EPI.ExceptionSpec.SourceDecl = MD; in CheckExplicitlyDefaultedSpecialMember() 8487 EPI.ExceptionSpec.SourceDecl = FD; in CheckExplicitlyDefaultedComparison() 13121 EPI.ExceptionSpec.SourceDecl = DerivedCtor; in findInheritingConstructor() 13434 EPI.ExceptionSpec.SourceDecl = Destructor; in AdjustDestructorExceptionSpec()
|
D | SemaTemplateInstantiateDecl.cpp | 4537 EPI.ExceptionSpec.SourceDecl = New; in InitFunctionInstantiation()
|
/external/clang/include/clang/AST/ |
D | Type.h | 3149 SourceDecl(nullptr), SourceTemplate(nullptr) {} 3152 : Type(EST), NoexceptExpr(nullptr), SourceDecl(nullptr), 3163 FunctionDecl *SourceDecl; 3296 EPI.ExceptionSpec.SourceDecl = getExceptionSpecDecl(); 3299 EPI.ExceptionSpec.SourceDecl = getExceptionSpecDecl();
|
/external/clang/lib/AST/ |
D | Type.cpp | 2719 slot[0] = epi.ExceptionSpec.SourceDecl; in FunctionProtoType() 2728 slot[0] = epi.ExceptionSpec.SourceDecl; in FunctionProtoType() 2853 ID.AddPointer(epi.ExceptionSpec.SourceDecl->getCanonicalDecl()); in Profile()
|
D | ASTDumper.cpp | 1144 OS << " noexcept-unevaluated " << EPI.ExceptionSpec.SourceDecl; in VisitFunctionDecl()
|
D | ASTImporter.cpp | 1757 ToEPI.ExceptionSpec.SourceDecl = cast_or_null<FunctionDecl>( in VisitFunctionProtoType() 1758 Importer.Import(FromEPI.ExceptionSpec.SourceDecl)); in VisitFunctionProtoType() 3011 if (FromEPI.ExceptionSpec.SourceDecl || in VisitFunctionDecl()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 5696 ESI.SourceDecl = ReadDeclAs<FunctionDecl>(ModuleFile, Record, Idx); in readExceptionSpec() 5699 ESI.SourceDecl = ReadDeclAs<FunctionDecl>(ModuleFile, Record, Idx); in readExceptionSpec()
|