Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DCodeCompletionHandler.h48 virtual void CodeCompleteMacroName(bool IsDefinition) { } in CodeCompleteMacroName() argument
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp984 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createFunction() local
986 /*IsDistinct=*/IsDefinition, VMContext, getNonCompileUnitScope(Context), in createFunction()
988 SPFlags, IsDefinition ? CUNode : nullptr, TParams, Decl, nullptr, in createFunction()
1002 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createTempFunctionFwdDecl() local
1006 IsDefinition ? CUNode : nullptr, TParams, in createTempFunctionFwdDecl()
1021 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createMethod() local
1023 /*IsDistinct=*/IsDefinition, VMContext, cast<DIScope>(Context), Name, in createMethod()
1025 Flags, SPFlags, IsDefinition ? CUNode : nullptr, TParams, nullptr, in createMethod()
1026 nullptr, ThrownTypes, nullptr, "", IsDefinition && UseKeyInstructions); in createMethod()
H A DLLVMContextImpl.h1036 static bool isDeclarationOfODRMember(bool IsDefinition, const Metadata *Scope,
1041 if (IsDefinition || !Scope || !LinkageName)
1054 return IsDefinition == RHS->isDefinition() && Scope == RHS->getRawScope() &&
1236 bool IsDefinition;
1244 bool IsLocalToUnit, bool IsDefinition,
1249 IsDefinition(IsDefinition),
1257 IsLocalToUnit(N->isLocalToUnit()), IsDefinition(N->isDefinition()),
1267 IsDefinition == RHS->isDefinition() &&
1284 IsLocalToUnit, IsDefinition, /* AlignInBits, */
H A DDebugInfoMetadata.cpp1303 DISubprogram::toSPFlags(bool IsLocalToUnit, bool IsDefinition, bool IsOptimized, in toSPFlags() argument
1313 (IsDefinition ? SPFlagDefinition : SPFlagZero) | in toSPFlags()
1549 Metadata *Type, bool IsLocalToUnit, bool IsDefinition, in getImpl() argument
1558 (Scope, Name, LinkageName, File, Line, Type, IsLocalToUnit, IsDefinition, in getImpl()
1570 (Line, IsLocalToUnit, IsDefinition, AlignInBits), Ops); in getImpl()
H A DDebugInfo.cpp1060 pack_into_DISPFlags(bool IsLocalToUnit, bool IsDefinition, bool IsOptimized) { in pack_into_DISPFlags() argument
1061 return DISubprogram::toSPFlags(IsLocalToUnit, IsDefinition, IsOptimized); in pack_into_DISPFlags()
1150 LLVMBool IsLocalToUnit, LLVMBool IsDefinition, in LLVMDIBuilderCreateFunction() argument
1156 pack_into_DISPFlags(IsLocalToUnit, IsDefinition, IsOptimized), nullptr, in LLVMDIBuilderCreateFunction()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp824 bool Decl::canBeWeakImported(bool &IsDefinition) const { in canBeWeakImported()
825 IsDefinition = false; in canBeWeakImported()
830 IsDefinition = true; in canBeWeakImported()
838 IsDefinition = true; in canBeWeakImported()
854 bool IsDefinition; in isWeakImported() local
855 if (!canBeWeakImported(IsDefinition)) in isWeakImported()
H A DODRHash.cpp435 const bool IsDefinition = Method->isThisDeclarationADefinition(); in VisitObjCMethodDecl() local
436 Hash.AddBoolean(IsDefinition); in VisitObjCMethodDecl()
437 if (IsDefinition) { in VisitObjCMethodDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaCodeCompletion.h223 void CodeCompletePreprocessorMacroName(bool IsDefinition);
H A DSema.h4030 bool IsDefinition);
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h2256 LLVM_ABI static DISPFlags toSPFlags(bool IsLocalToUnit, bool IsDefinition,
3880 bool IsDefinition;
3883 bool IsLocalToUnit, bool IsDefinition, uint32_t AlignInBits,
3886 IsLocalToUnit(IsLocalToUnit), IsDefinition(IsDefinition) {}
3892 bool IsLocalToUnit, bool IsDefinition,
3898 IsLocalToUnit, IsDefinition, StaticDataMemberDeclaration,
3905 bool IsLocalToUnit, bool IsDefinition,
3922 unsigned Line, DIType *Type, bool IsLocalToUnit, bool IsDefinition,
3925 (Scope, Name, LinkageName, File, Line, Type, IsLocalToUnit, IsDefinition,
3930 unsigned Line, Metadata *Type, bool IsLocalToUnit, bool IsDefinition,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp918 bool IsDefinition = false; in parsePattern() local
950 IsDefinition = (VarEndIdx != StringRef::npos); in parsePattern()
951 SubstNeeded = !IsDefinition; in parsePattern()
952 if (IsDefinition) { in parsePattern()
1001 IsDefinition = true; in parsePattern()
1014 if (IsDefinition) { in parsePattern()
1045 if (IsDefinition) in parsePattern()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAsmPrinter.h887 bool IsDefinition = true) const;
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h384 LLVMBool IsLocalToUnit, LLVMBool IsDefinition, unsigned ScopeLine,
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp2217 void Parser::CodeCompleteMacroName(bool IsDefinition) { in CodeCompleteMacroName() argument
2218 Actions.CodeCompletion().CodeCompletePreprocessorMacroName(IsDefinition); in CodeCompleteMacroName()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h786 bool canBeWeakImported(bool &IsDefinition) const;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp7122 bool IsDefinition) { in checkDLLAttributeRedeclaration() argument
7131 IsDefinition = false; in checkDLLAttributeRedeclaration()
7199 IsDefinition = VD->isThisDeclarationADefinition(S.Context) != in checkDLLAttributeRedeclaration()
7210 if (IsMicrosoftABI && IsDefinition) { in checkDLLAttributeRedeclaration()
7227 assert(!IsDefinition); in checkDLLAttributeRedeclaration()
9165 bool IsDefinition = ExtraArgs.D.isFunctionDefinition(); in DiagnoseInvalidRedeclaration() local
9255 << Name << NewDC << IsDefinition); in DiagnoseInvalidRedeclaration()
9268 << Name << NewDC << IsDefinition << NewFD->getLocation(); in DiagnoseInvalidRedeclaration()
11117 bool IsDefinition) { in getImplicitCodeSegOrSectionAttrForFunction() argument
11120 if (!FD->hasAttr<SectionAttr>() && IsDefinition && in getImplicitCodeSegOrSectionAttrForFunction()
H A DSemaCodeComplete.cpp10243 void SemaCodeCompletion::CodeCompletePreprocessorMacroName(bool IsDefinition) { in CodeCompletePreprocessorMacroName() argument
10246 IsDefinition ? CodeCompletionContext::CCC_MacroName in CodeCompletePreprocessorMacroName()
10248 if (!IsDefinition && CodeCompleter->includeMacros()) { in CodeCompletePreprocessorMacroName()
10262 } else if (IsDefinition) { in CodeCompletePreprocessorMacroName()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp4437 bool IsDefinition) const { in emitVisibility()
4443 if (IsDefinition) in emitVisibility()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1088 void CodeCompleteMacroName(bool IsDefinition) override;