Home
last modified time | relevance | path

Searched refs:IsDefinition (Results 1 – 18 of 18) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DCodeCompletionHandler.h48 virtual void CodeCompleteMacroName(bool IsDefinition) { } in CodeCompleteMacroName() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp835 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createFunction() local
837 /*IsDistinct=*/IsDefinition, VMContext, getNonCompileUnitScope(Context), in createFunction()
839 SPFlags, IsDefinition ? CUNode : nullptr, TParams, Decl, nullptr, in createFunction()
842 if (IsDefinition) in createFunction()
854 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createTempFunctionFwdDecl() local
858 IsDefinition ? CUNode : nullptr, TParams, in createTempFunctionFwdDecl()
873 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createMethod() local
875 /*IsDistinct=*/IsDefinition, VMContext, cast<DIScope>(Context), Name, in createMethod()
877 Flags, SPFlags, IsDefinition ? CUNode : nullptr, TParams, nullptr, in createMethod()
880 if (IsDefinition) in createMethod()
H A DLLVMContextImpl.h854 static bool isDeclarationOfODRMember(bool IsDefinition, const Metadata *Scope,
859 if (IsDefinition || !Scope || !LinkageName)
872 return IsDefinition == RHS->isDefinition() && Scope == RHS->getRawScope() &&
1054 bool IsDefinition;
1062 bool IsLocalToUnit, bool IsDefinition,
1067 IsDefinition(IsDefinition),
1075 IsLocalToUnit(N->isLocalToUnit()), IsDefinition(N->isDefinition()),
1085 IsDefinition == RHS->isDefinition() &&
1102 IsLocalToUnit, IsDefinition, /* AlignInBits, */
H A DDebugInfoMetadata.cpp1022 DISubprogram::toSPFlags(bool IsLocalToUnit, bool IsDefinition, bool IsOptimized, in toSPFlags() argument
1032 (IsDefinition ? SPFlagDefinition : SPFlagZero) | in toSPFlags()
1270 Metadata *Type, bool IsLocalToUnit, bool IsDefinition, in getImpl() argument
1279 (Scope, Name, LinkageName, File, Line, Type, IsLocalToUnit, IsDefinition, in getImpl()
1291 (Line, IsLocalToUnit, IsDefinition, AlignInBits), Ops); in getImpl()
H A DDebugInfo.cpp1027 pack_into_DISPFlags(bool IsLocalToUnit, bool IsDefinition, bool IsOptimized) { in pack_into_DISPFlags() argument
1028 return DISubprogram::toSPFlags(IsLocalToUnit, IsDefinition, IsOptimized); in pack_into_DISPFlags()
1117 LLVMBool IsLocalToUnit, LLVMBool IsDefinition, in LLVMDIBuilderCreateFunction() argument
1123 pack_into_DISPFlags(IsLocalToUnit, IsDefinition, IsOptimized), nullptr, in LLVMDIBuilderCreateFunction()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp775 bool Decl::canBeWeakImported(bool &IsDefinition) const { in canBeWeakImported()
776 IsDefinition = false; in canBeWeakImported()
781 IsDefinition = true; in canBeWeakImported()
789 IsDefinition = true; in canBeWeakImported()
805 bool IsDefinition; in isWeakImported() local
806 if (!canBeWeakImported(IsDefinition)) in isWeakImported()
H A DODRHash.cpp409 const bool IsDefinition = Method->isThisDeclarationADefinition(); in VisitObjCMethodDecl() local
410 Hash.AddBoolean(IsDefinition); in VisitObjCMethodDecl()
411 if (IsDefinition) { in VisitObjCMethodDecl()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h1650 static DISPFlags toSPFlags(bool IsLocalToUnit, bool IsDefinition,
3104 bool IsDefinition;
3107 bool IsLocalToUnit, bool IsDefinition, uint32_t AlignInBits,
3110 IsLocalToUnit(IsLocalToUnit), IsDefinition(IsDefinition) {}
3116 bool IsLocalToUnit, bool IsDefinition,
3122 IsLocalToUnit, IsDefinition, StaticDataMemberDeclaration,
3129 bool IsLocalToUnit, bool IsDefinition,
3146 unsigned Line, DIType *Type, bool IsLocalToUnit, bool IsDefinition,
3149 (Scope, Name, LinkageName, File, Line, Type, IsLocalToUnit, IsDefinition,
3154 unsigned Line, Metadata *Type, bool IsLocalToUnit, bool IsDefinition,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp879 bool IsDefinition = false; in parsePattern() local
911 IsDefinition = (VarEndIdx != StringRef::npos); in parsePattern()
912 SubstNeeded = !IsDefinition; in parsePattern()
913 if (IsDefinition) { in parsePattern()
962 IsDefinition = true; in parsePattern()
975 if (IsDefinition) { in parsePattern()
1006 if (IsDefinition) in parsePattern()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAsmPrinter.h846 bool IsDefinition = true) const;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h366 LLVMBool IsLocalToUnit, LLVMBool IsDefinition,
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp2302 void Parser::CodeCompleteMacroName(bool IsDefinition) { in CodeCompleteMacroName() argument
2303 Actions.CodeCompletePreprocessorMacroName(IsDefinition); in CodeCompleteMacroName()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h782 bool canBeWeakImported(bool &IsDefinition) const;
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp7150 bool IsDefinition) { in checkDLLAttributeRedeclaration() argument
7159 IsDefinition = false; in checkDLLAttributeRedeclaration()
7227 IsDefinition = VD->isThisDeclarationADefinition(S.Context) != in checkDLLAttributeRedeclaration()
7238 if (IsMicrosoftABI && IsDefinition) { in checkDLLAttributeRedeclaration()
7255 assert(!IsDefinition); in checkDLLAttributeRedeclaration()
9103 bool IsDefinition = ExtraArgs.D.isFunctionDefinition(); in DiagnoseInvalidRedeclaration() local
9192 << Name << NewDC << IsDefinition); in DiagnoseInvalidRedeclaration()
9205 << Name << NewDC << IsDefinition << NewFD->getLocation(); in DiagnoseInvalidRedeclaration()
11003 bool IsDefinition) { in getImplicitCodeSegOrSectionAttrForFunction() argument
11006 if (!FD->hasAttr<SectionAttr>() && IsDefinition && in getImplicitCodeSegOrSectionAttrForFunction()
H A DSemaCodeComplete.cpp9995 void Sema::CodeCompletePreprocessorMacroName(bool IsDefinition) { in CodeCompletePreprocessorMacroName() argument
9998 IsDefinition ? CodeCompletionContext::CCC_MacroName in CodeCompletePreprocessorMacroName()
10000 if (!IsDefinition && CodeCompleter->includeMacros()) { in CodeCompletePreprocessorMacroName()
10014 } else if (IsDefinition) { in CodeCompletePreprocessorMacroName()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp4027 bool IsDefinition) const { in emitVisibility()
4033 if (IsDefinition) in emitVisibility()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h3711 void CodeCompleteMacroName(bool IsDefinition) override;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3023 bool IsDefinition);
13807 void CodeCompletePreprocessorMacroName(bool IsDefinition);