Home
last modified time | relevance | path

Searched refs:isRecord (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeGenInstruction.h365 bool isRecord() const { return Kind == K_Record; } in isRecord() function
369 StringRef getName() const { assert(isRecord()); return Name; } in getName()
370 Record *getRecord() const { assert(isRecord()); return R; } in getRecord()
H A DCodeGenInstruction.cpp661 if (!isRecord()) in getMINumOperands()
H A DAsmMatcherEmitter.cpp1745 if (CGA.ResultOperands[i].isRecord() && in buildAliasOperandReference()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DDefinitionsInHeadersCheck.cpp113 while (DC->isRecord()) { in check()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp3418 if (DC->isRecord()) in haveIncompatibleLanguageLinkages()
5569 Owner->isRecord()) in BuildAnonymousStructOrUnion()
6072 if (Cur->isRecord()) { in diagnoseQualifiedDeclaration()
6087 if (Cur->isRecord()) in diagnoseQualifiedDeclaration()
6114 if (Cur->isRecord()) { in diagnoseQualifiedDeclaration()
7114 if (DC->isRecord()) in shouldConsiderLinkage()
7126 if (DC->isRecord()) in shouldConsiderLinkage()
7388 if (DC->isRecord() && !CurContext->isRecord()) { in ActOnVariableDeclarator()
8969 if (!DC->isRecord() && in CreateNewFunctionDecl()
8989 if (DC->isRecord()) { in CreateNewFunctionDecl()
[all …]
H A DSemaLambda.cpp246 while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext())) in createLambdaClosureType()
295 if (LexicalDC->isRecord()) in getCurrentMangleNumberContext()
298 if (Var->getDeclContext()->isRecord()) in getCurrentMangleNumberContext()
H A DSemaTemplateInstantiateDecl.cpp40 if (DC->isRecord()) in isDeclWithinFunction()
1863 } else if (InstTemplate->getDeclContext()->isRecord() && in VisitFunctionTemplateDecl()
2325 if (Function->isOverloadedOperator() && !DC->isRecord() && in VisitFunctionDecl()
3186 bool CheckRedeclaration = Owner->isRecord(); in VisitUsingDecl()
3667 assert(ClassTemplate->getDeclContext()->isRecord() && in VisitClassTemplateSpecializationDecl()
5560 Var->getLexicalDeclContext()->isRecord()) { in InstantiateVariableDefinition()
H A DSemaCXXScopeSpec.cpp582 !(LookupCtx && LookupCtx->isRecord() && in BuildCXXNestedNameSpecifier()
H A DSemaTemplate.cpp1954 (SS.isSet() && SemanticContext && SemanticContext->isRecord() && in CheckClassTemplate()
2024 if (!Invalid && TUK != TUK_Friend && NewTemplate->getDeclContext()->isRecord()) in CheckClassTemplate()
4422 << /*is definition*/(SC != SC_Extern && !CurContext->isRecord()) in ActOnVarTemplateSpecialization()
7578 assert(VD->getDeclContext()->isRecord() && in BuildExpressionFromDeclTemplateArgument()
8131 if (S.getLangOpts().MicrosoftExt && !DC->isRecord()) in CheckTemplateSpecializationScope()
8141 if (DC->isRecord()) in CheckTemplateSpecializationScope()
9499 if (CurContext->isRecord()) { in CheckExplicitInstantiationScope()
H A DSemaDeclCXX.cpp11905 if (!getLangOpts().CPlusPlus11 && CurContext->isRecord()) in CheckUsingShadowDecl()
12018 if (CurContext->isRecord()) in CheckUsingShadowDecl()
12316 if (CurContext->isRecord()) in BuildUsingDeclaration()
12401 if (CurContext->isRecord()) { in BuildUsingDeclaration()
12546 if (CurContext->getRedeclContext()->isRecord()) { in BuildUsingEnumDeclaration()
12652 if (!CurContext->getRedeclContext()->isRecord()) { in CheckUsingDeclRedeclaration()
12757 if (!CurContext->isRecord()) { in CheckUsingDeclQualifier()
12852 if (!NamedContext->isRecord()) { in CheckUsingDeclQualifier()
17073 while (DC->isRecord()) in ActOnFriendFunctionDecl()
17151 if (!DC->isRecord()) { in ActOnFriendFunctionDecl()
[all …]
H A DSemaExprMember.cpp573 if (!DC->isRecord()) in CheckQualifiedMemberReference()
H A DSemaStmt.cpp4646 while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext())) in CreateCapturedStmtRecordDecl()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DArgumentCommentCheck.cpp210 if (Ctx == nullptr || !Ctx->isRecord()) in findMockedMethod()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclBase.cpp1108 getLexicalParent()->getRedeclContext()->isRecord()) in getLookupParent()
1811 while ((SkipRecords && Ctx->isRecord()) || Ctx->isTransparentContext()) in getRedeclContext()
1828 while (DC->isRecord()) { in getOuterLexicalRecordContext()
H A DExprClassification.cpp526 if (isa<VarDecl>(Member) && Member->getDeclContext()->isRecord()) in ClassifyMemberExpr()
H A DDecl.cpp1476 if (D->getDeclContext()->isRecord()) in computeLVForDecl()
2125 if (DC->isRecord()) in getDeclLanguageLinkage()
2141 if (DC->isRecord()) { in isDeclExternC()
4670 return isImplicit() && getDeclName() && getDeclContext()->isRecord() && in isInjectedClassName()
H A DCommentSema.cpp662 if ((!Ctx || !Ctx->isRecord()) && in checkDeprecatedCommand()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DQuality.cpp271 InClass = InClass || DC->isRecord(); in computeScope()
H A DSemanticHighlighting.cpp497 if (DC->isRecord()) in scopeModifier()
/llvm-project-15.0.7/flang/lib/Parser/
H A Dunparse.cpp457 bool isRecord{std::holds_alternative<DeclarationTypeSpec::Record>(dts.u)}; in Unparse() local
460 CHECK(!isRecord); in Unparse()
467 CHECK(!isRecord); in Unparse()
470 if (isRecord) { in Unparse()
/llvm-project-15.0.7/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp247 if (Decl->getDeclContext()->isRecord()) in VisitVarDecl()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclBase.h1983 bool isRecord() const {
H A DDecl.h376 return DC->isRecord(); in isCXXClassMember()
1200 return getKind() != Decl::ParmVar && getDeclContext()->isRecord(); in isStaticDataMember()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp1131 if (parent->isRecord()) { in CreateFunctionDecl()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseExpr.cpp2888 while (CodeDC->isRecord() || isa<EnumDecl>(CodeDC)) { in ParseParenExpression()

12