Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DCollectMacros.cpp17 bool IsDefinition) { in add() argument
29 Out.MacroRefs[SID].push_back({Range, IsDefinition}); in add()
31 Out.UnknownMacros.push_back({Range, IsDefinition}); in add()
H A DCollectMacros.h26 bool IsDefinition; member
94 bool IsDefinition = false);
H A DSemanticHighlighting.cpp866 if (M.IsDefinition) in getSemanticHighlightings()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DCodeCompletionHandler.h48 virtual void CodeCompleteMacroName(bool IsDefinition) { } in CodeCompleteMacroName() argument
/llvm-project-15.0.7/llvm/lib/IR/
H A DDIBuilder.cpp851 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createFunction() local
853 /*IsDistinct=*/IsDefinition, VMContext, getNonCompileUnitScope(Context), in createFunction()
855 SPFlags, IsDefinition ? CUNode : nullptr, TParams, Decl, in createFunction()
859 if (IsDefinition) in createFunction()
871 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createTempFunctionFwdDecl() local
875 IsDefinition ? CUNode : nullptr, TParams, in createTempFunctionFwdDecl()
890 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createMethod() local
892 /*IsDistinct=*/IsDefinition, VMContext, cast<DIScope>(Context), Name, in createMethod()
894 Flags, SPFlags, IsDefinition ? CUNode : nullptr, TParams, nullptr, in createMethod()
897 if (IsDefinition) in createMethod()
H A DLLVMContextImpl.h798 static bool isDeclarationOfODRMember(bool IsDefinition, const Metadata *Scope,
803 if (IsDefinition || !Scope || !LinkageName)
816 return IsDefinition == RHS->isDefinition() && Scope == RHS->getRawScope() &&
998 bool IsDefinition;
1006 bool IsLocalToUnit, bool IsDefinition,
1011 IsDefinition(IsDefinition),
1019 IsLocalToUnit(N->isLocalToUnit()), IsDefinition(N->isDefinition()),
1029 IsDefinition == RHS->isDefinition() &&
1046 IsLocalToUnit, IsDefinition, /* AlignInBits, */
H A DDebugInfoMetadata.cpp915 DISubprogram::toSPFlags(bool IsLocalToUnit, bool IsDefinition, bool IsOptimized, in toSPFlags() argument
925 (IsDefinition ? SPFlagDefinition : SPFlagZero) | in toSPFlags()
1130 Metadata *Type, bool IsLocalToUnit, bool IsDefinition, in getImpl() argument
1139 (Scope, Name, LinkageName, File, Line, Type, IsLocalToUnit, IsDefinition, in getImpl()
1151 (Line, IsLocalToUnit, IsDefinition, AlignInBits), Ops); in getImpl()
H A DDebugInfo.cpp878 pack_into_DISPFlags(bool IsLocalToUnit, bool IsDefinition, bool IsOptimized) { in pack_into_DISPFlags() argument
879 return DISubprogram::toSPFlags(IsLocalToUnit, IsDefinition, IsOptimized); in pack_into_DISPFlags()
968 LLVMBool IsLocalToUnit, LLVMBool IsDefinition, in LLVMDIBuilderCreateFunction() argument
974 pack_into_DISPFlags(IsLocalToUnit, IsDefinition, IsOptimized), nullptr, in LLVMDIBuilderCreateFunction()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/Dynamic/
H A DRegistryTest.cpp249 const VariantMatcher IsDefinition = constructMatcher("isDefinition"); in TEST_F() local
251 constructMatcher("varDecl", IsDefinition).getTypedMatcher<Decl>(); in TEST_F()
253 constructMatcher("recordDecl", IsDefinition).getTypedMatcher<Decl>(); in TEST_F()
255 constructMatcher("functionDecl", IsDefinition).getTypedMatcher<Decl>(); in TEST_F()
/llvm-project-15.0.7/llvm/bindings/go/llvm/
H A Dir_test.go124 IsDefinition: true,
H A Ddibuilder.go202 IsDefinition bool member
223 C.LLVMBool(boolToCInt(f.IsDefinition)),
/llvm-project-15.0.7/llvm/unittests/IR/
H A DMetadataTest.cpp2273 bool IsDefinition = true; in TEST_F() local
2290 assert(!IsLocalToUnit && IsDefinition && !IsOptimized && in TEST_F()
2308 EXPECT_EQ(IsDefinition, N->isDefinition()); in TEST_F()
2663 bool IsDefinition = true; in TEST_F() local
2672 IsDefinition, StaticDataMemberDeclaration, templateParams, AlignInBits, in TEST_F()
2683 EXPECT_EQ(IsDefinition, N->isDefinition()); in TEST_F()
2688 Line, Type, IsLocalToUnit, IsDefinition, in TEST_F()
2694 Type, IsLocalToUnit, IsDefinition, in TEST_F()
2698 Line, Type, IsLocalToUnit, IsDefinition, in TEST_F()
2702 Type, IsLocalToUnit, IsDefinition, in TEST_F()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclBase.cpp689 bool Decl::canBeWeakImported(bool &IsDefinition) const { in canBeWeakImported()
690 IsDefinition = false; in canBeWeakImported()
695 IsDefinition = true; in canBeWeakImported()
703 IsDefinition = true; in canBeWeakImported()
719 bool IsDefinition; in isWeakImported() local
720 if (!canBeWeakImported(IsDefinition)) in isWeakImported()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DSymbolCollector.cpp654 bool IsDefinition = MacroRef.IsDefinition; in handleMacros() local
661 R.Kind = IsDefinition ? RefKind::Definition : RefKind::Reference; in handleMacros()
663 if (IsDefinition) { in handleMacros()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h1838 static DISPFlags toSPFlags(bool IsLocalToUnit, bool IsDefinition,
2919 bool IsDefinition;
2922 bool IsLocalToUnit, bool IsDefinition, uint32_t AlignInBits,
2925 IsLocalToUnit(IsLocalToUnit), IsDefinition(IsDefinition) {}
2931 bool IsLocalToUnit, bool IsDefinition,
2937 IsLocalToUnit, IsDefinition, StaticDataMemberDeclaration,
2944 bool IsLocalToUnit, bool IsDefinition,
2961 unsigned Line, DIType *Type, bool IsLocalToUnit, bool IsDefinition,
2964 (Scope, Name, LinkageName, File, Line, Type, IsLocalToUnit, IsDefinition,
2969 unsigned Line, Metadata *Type, bool IsLocalToUnit, bool IsDefinition,
[all …]
/llvm-project-15.0.7/llvm/lib/FileCheck/
H A DFileCheck.cpp1031 bool IsDefinition = false; in parsePattern() local
1063 IsDefinition = (VarEndIdx != StringRef::npos); in parsePattern()
1064 SubstNeeded = !IsDefinition; in parsePattern()
1065 if (IsDefinition) { in parsePattern()
1115 IsDefinition = true; in parsePattern()
1128 if (IsDefinition) { in parsePattern()
1159 if (IsDefinition) in parsePattern()
/llvm-project-15.0.7/llvm/bindings/ocaml/debuginfo/
H A Ddebuginfo_ocaml.c285 value IsDefinition, value ScopeLine, value Flags, value IsOptimized) { in llvm_dibuild_create_function_native() argument
289 Int_val(LineNo), Ty, Bool_val(IsLocalToUnit), Bool_val(IsDefinition), in llvm_dibuild_create_function_native()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DAsmPrinter.h787 bool IsDefinition = true) const;
/llvm-project-15.0.7/llvm/include/llvm-c/
H A DDebugInfo.h355 LLVMBool IsLocalToUnit, LLVMBool IsDefinition,
/llvm-project-15.0.7/clang/lib/Parse/
H A DParser.cpp2210 void Parser::CodeCompleteMacroName(bool IsDefinition) { in CodeCompleteMacroName() argument
2211 Actions.CodeCompletePreprocessorMacroName(IsDefinition); in CodeCompleteMacroName()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclBase.h736 bool canBeWeakImported(bool &IsDefinition) const;
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp6927 bool IsDefinition) { in checkDLLAttributeRedeclaration() argument
6936 IsDefinition = false; in checkDLLAttributeRedeclaration()
7004 IsDefinition = VD->isThisDeclarationADefinition(S.Context) != in checkDLLAttributeRedeclaration()
7015 if (IsMicrosoftABI && IsDefinition) { in checkDLLAttributeRedeclaration()
8733 bool IsDefinition = ExtraArgs.D.isFunctionDefinition(); in DiagnoseInvalidRedeclaration() local
8822 << Name << NewDC << IsDefinition); in DiagnoseInvalidRedeclaration()
8835 << Name << NewDC << IsDefinition << NewFD->getLocation(); in DiagnoseInvalidRedeclaration()
10563 bool IsDefinition) { in getImplicitCodeSegOrSectionAttrForFunction() argument
10566 if (!FD->hasAttr<SectionAttr>() && IsDefinition && in getImplicitCodeSegOrSectionAttrForFunction()
H A DSemaCodeComplete.cpp9832 void Sema::CodeCompletePreprocessorMacroName(bool IsDefinition) { in CodeCompletePreprocessorMacroName() argument
9835 IsDefinition ? CodeCompletionContext::CCC_MacroName in CodeCompletePreprocessorMacroName()
9837 if (!IsDefinition && CodeCompleter->includeMacros()) { in CodeCompletePreprocessorMacroName()
9851 } else if (IsDefinition) { in CodeCompletePreprocessorMacroName()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3609 bool IsDefinition) const { in emitVisibility()
3615 if (IsDefinition) in emitVisibility()
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h3475 void CodeCompleteMacroName(bool IsDefinition) override;

12