Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/include/clang/Lex/
H A DCodeCompletionHandler.h48 virtual void CodeCompleteMacroName(bool IsDefinition) { } in CodeCompleteMacroName() argument
/src/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp862 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createFunction() local
864 /*IsDistinct=*/IsDefinition, VMContext, getNonCompileUnitScope(Context), in createFunction()
866 SPFlags, IsDefinition ? CUNode : nullptr, TParams, Decl, nullptr, in createFunction()
869 if (IsDefinition) in createFunction()
881 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createTempFunctionFwdDecl() local
885 IsDefinition ? CUNode : nullptr, TParams, in createTempFunctionFwdDecl()
900 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createMethod() local
902 /*IsDistinct=*/IsDefinition, VMContext, cast<DIScope>(Context), Name, in createMethod()
904 Flags, SPFlags, IsDefinition ? CUNode : nullptr, TParams, nullptr, in createMethod()
907 if (IsDefinition) in createMethod()
H A DLLVMContextImpl.h868 static bool isDeclarationOfODRMember(bool IsDefinition, const Metadata *Scope,
873 if (IsDefinition || !Scope || !LinkageName)
886 return IsDefinition == RHS->isDefinition() && Scope == RHS->getRawScope() &&
1068 bool IsDefinition;
1076 bool IsLocalToUnit, bool IsDefinition,
1081 IsDefinition(IsDefinition),
1089 IsLocalToUnit(N->isLocalToUnit()), IsDefinition(N->isDefinition()),
1099 IsDefinition == RHS->isDefinition() &&
1116 IsLocalToUnit, IsDefinition, /* AlignInBits, */
H A DDebugInfoMetadata.cpp1032 DISubprogram::toSPFlags(bool IsLocalToUnit, bool IsDefinition, bool IsOptimized, in toSPFlags() argument
1042 (IsDefinition ? SPFlagDefinition : SPFlagZero) | in toSPFlags()
1280 Metadata *Type, bool IsLocalToUnit, bool IsDefinition, in getImpl() argument
1289 (Scope, Name, LinkageName, File, Line, Type, IsLocalToUnit, IsDefinition, in getImpl()
1301 (Line, IsLocalToUnit, IsDefinition, AlignInBits), Ops); in getImpl()
H A DDebugInfo.cpp1032 pack_into_DISPFlags(bool IsLocalToUnit, bool IsDefinition, bool IsOptimized) { in pack_into_DISPFlags() argument
1033 return DISubprogram::toSPFlags(IsLocalToUnit, IsDefinition, IsOptimized); in pack_into_DISPFlags()
1122 LLVMBool IsLocalToUnit, LLVMBool IsDefinition, in LLVMDIBuilderCreateFunction() argument
1128 pack_into_DISPFlags(IsLocalToUnit, IsDefinition, IsOptimized), nullptr, in LLVMDIBuilderCreateFunction()
/src/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp814 bool Decl::canBeWeakImported(bool &IsDefinition) const { in canBeWeakImported()
815 IsDefinition = false; in canBeWeakImported()
820 IsDefinition = true; in canBeWeakImported()
828 IsDefinition = true; in canBeWeakImported()
844 bool IsDefinition; in isWeakImported() local
845 if (!canBeWeakImported(IsDefinition)) in isWeakImported()
H A DODRHash.cpp416 const bool IsDefinition = Method->isThisDeclarationADefinition(); in VisitObjCMethodDecl() local
417 Hash.AddBoolean(IsDefinition); in VisitObjCMethodDecl()
418 if (IsDefinition) { in VisitObjCMethodDecl()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h1708 static DISPFlags toSPFlags(bool IsLocalToUnit, bool IsDefinition,
3283 bool IsDefinition;
3286 bool IsLocalToUnit, bool IsDefinition, uint32_t AlignInBits,
3289 IsLocalToUnit(IsLocalToUnit), IsDefinition(IsDefinition) {}
3295 bool IsLocalToUnit, bool IsDefinition,
3301 IsLocalToUnit, IsDefinition, StaticDataMemberDeclaration,
3308 bool IsLocalToUnit, bool IsDefinition,
3325 unsigned Line, DIType *Type, bool IsLocalToUnit, bool IsDefinition,
3328 (Scope, Name, LinkageName, File, Line, Type, IsLocalToUnit, IsDefinition,
3333 unsigned Line, Metadata *Type, bool IsLocalToUnit, bool IsDefinition,
[all …]
/src/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaCodeCompletion.h221 void CodeCompletePreprocessorMacroName(bool IsDefinition);
H A DSema.h3600 bool IsDefinition);
/src/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp881 bool IsDefinition = false; in parsePattern() local
913 IsDefinition = (VarEndIdx != StringRef::npos); in parsePattern()
914 SubstNeeded = !IsDefinition; in parsePattern()
915 if (IsDefinition) { in parsePattern()
964 IsDefinition = true; in parsePattern()
977 if (IsDefinition) { in parsePattern()
1008 if (IsDefinition) in parsePattern()
/src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAsmPrinter.h841 bool IsDefinition = true) const;
/src/contrib/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h379 LLVMBool IsLocalToUnit, LLVMBool IsDefinition,
/src/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp2326 void Parser::CodeCompleteMacroName(bool IsDefinition) { in CodeCompleteMacroName() argument
2327 Actions.CodeCompletion().CodeCompletePreprocessorMacroName(IsDefinition); in CodeCompleteMacroName()
/src/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h782 bool canBeWeakImported(bool &IsDefinition) const;
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp6952 bool IsDefinition) { in checkDLLAttributeRedeclaration() argument
6961 IsDefinition = false; in checkDLLAttributeRedeclaration()
7029 IsDefinition = VD->isThisDeclarationADefinition(S.Context) != in checkDLLAttributeRedeclaration()
7040 if (IsMicrosoftABI && IsDefinition) { in checkDLLAttributeRedeclaration()
7057 assert(!IsDefinition); in checkDLLAttributeRedeclaration()
8951 bool IsDefinition = ExtraArgs.D.isFunctionDefinition(); in DiagnoseInvalidRedeclaration() local
9040 << Name << NewDC << IsDefinition); in DiagnoseInvalidRedeclaration()
9053 << Name << NewDC << IsDefinition << NewFD->getLocation(); in DiagnoseInvalidRedeclaration()
10895 bool IsDefinition) { in getImplicitCodeSegOrSectionAttrForFunction() argument
10898 if (!FD->hasAttr<SectionAttr>() && IsDefinition && in getImplicitCodeSegOrSectionAttrForFunction()
H A DSemaCodeComplete.cpp10095 void SemaCodeCompletion::CodeCompletePreprocessorMacroName(bool IsDefinition) { in CodeCompletePreprocessorMacroName() argument
10098 IsDefinition ? CodeCompletionContext::CCC_MacroName in CodeCompletePreprocessorMacroName()
10100 if (!IsDefinition && CodeCompleter->includeMacros()) { in CodeCompletePreprocessorMacroName()
10114 } else if (IsDefinition) { in CodeCompletePreprocessorMacroName()
/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp4048 bool IsDefinition) const { in emitVisibility()
4054 if (IsDefinition) in emitVisibility()
/src/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h3898 void CodeCompleteMacroName(bool IsDefinition) override;