| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | CollectMacros.cpp | 17 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 D | CollectMacros.h | 26 bool IsDefinition; member 94 bool IsDefinition = false);
|
| H A D | SemanticHighlighting.cpp | 866 if (M.IsDefinition) in getSemanticHighlightings()
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | CodeCompletionHandler.h | 48 virtual void CodeCompleteMacroName(bool IsDefinition) { } in CodeCompleteMacroName() argument
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | DIBuilder.cpp | 851 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 D | LLVMContextImpl.h | 798 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 D | DebugInfoMetadata.cpp | 915 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 D | DebugInfo.cpp | 878 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 D | RegistryTest.cpp | 249 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 D | ir_test.go | 124 IsDefinition: true,
|
| H A D | dibuilder.go | 202 IsDefinition bool member 223 C.LLVMBool(boolToCInt(f.IsDefinition)),
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | MetadataTest.cpp | 2273 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 D | DeclBase.cpp | 689 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 D | SymbolCollector.cpp | 654 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 D | DebugInfoMetadata.h | 1838 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 D | FileCheck.cpp | 1031 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 D | debuginfo_ocaml.c | 285 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 D | AsmPrinter.h | 787 bool IsDefinition = true) const;
|
| /llvm-project-15.0.7/llvm/include/llvm-c/ |
| H A D | DebugInfo.h | 355 LLVMBool IsLocalToUnit, LLVMBool IsDefinition,
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | Parser.cpp | 2210 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 D | DeclBase.h | 736 bool canBeWeakImported(bool &IsDefinition) const;
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 6927 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 D | SemaCodeComplete.cpp | 9832 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 D | AsmPrinter.cpp | 3609 bool IsDefinition) const { in emitVisibility() 3615 if (IsDefinition) in emitVisibility()
|
| /llvm-project-15.0.7/clang/include/clang/Parse/ |
| H A D | Parser.h | 3475 void CodeCompleteMacroName(bool IsDefinition) override;
|