Home
last modified time | relevance | path

Searched refs:isDefinition (Results 1 – 16 of 16) sorted by relevance

/external/clang/unittests/Basic/
DSourceManagerTest.cpp184 bool isDefinition; // if false, it is expansion. member
186 MacroAction(SourceLocation Loc, StringRef Name, bool isDefinition) in MacroAction()
187 : Loc(Loc), Name(Name), isDefinition(isDefinition) { } in MacroAction()
258 ASSERT_TRUE(Macros[0].isDefinition); in TEST_F()
261 ASSERT_TRUE(Macros[1].isDefinition); in TEST_F()
264 ASSERT_FALSE(Macros[2].isDefinition); in TEST_F()
267 ASSERT_FALSE(Macros[3].isDefinition); in TEST_F()
270 ASSERT_TRUE(Macros[4].isDefinition); in TEST_F()
273 ASSERT_TRUE(Macros[5].isDefinition); in TEST_F()
276 ASSERT_FALSE(Macros[6].isDefinition); in TEST_F()
[all …]
/external/clang/tools/libclang/
DIndexingContext.h84 DeclInfo(bool isRedeclaration, bool isDefinition, bool isContainer) in DeclInfo()
87 this->isDefinition = isDefinition; in DeclInfo()
94 bool isRedeclaration, bool isDefinition, bool isContainer) in DeclInfo()
97 this->isDefinition = isDefinition; in DeclInfo()
206 CXXClassDeclInfo(bool isRedeclaration, bool isDefinition) in CXXClassDeclInfo()
207 : DeclInfo(Info_CXXClass, isRedeclaration, isDefinition, isDefinition) { } in CXXClassDeclInfo()
DIndexTypeSourceInfo.cpp47 if (TL.isDefinition()) { in VisitTagTypeLoc()
DCIndex.cpp1388 if (TL.isDefinition()) in VisitTagTypeLoc()
/external/llvm/include/llvm/Analysis/
DDIBuilder.h458 bool isDefinition,
489 bool isDefinition,
DDebugInfo.h514 unsigned isDefinition() const { return getUnsignedField(10); } in isDefinition() function
630 unsigned isDefinition() const { return getUnsignedField(10); } in isDefinition() function
/external/llvm/lib/Analysis/
DDIBuilder.cpp828 bool isLocalToUnit, bool isDefinition, in createFunction() argument
850 ConstantInt::get(Type::getInt1Ty(VMContext), isDefinition), in createFunction()
876 bool isDefinition, in createMethod() argument
899 ConstantInt::get(Type::getInt1Ty(VMContext), isDefinition), in createMethod()
DDebugInfo.cpp787 if (isDefinition()) in print()
812 if (isDefinition()) in print()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp242 if (!SP.isDefinition()) return; in addSubprogramNames()
282 if (SP.isDefinition() && !SP.getContext().isCompileUnit() && in updateSubprogramScopeDIE()
603 if (!SP.isDefinition()) in constructSubprogramDIE()
751 if (!SP.isDefinition()) continue; in endModule()
DDwarfCompileUnit.cpp1089 if (!SP.isDefinition()) { in getOrCreateSubprogramDIE()
1197 if (GVContext && GV.isDefinition() && !GVContext.isCompileUnit() && in createGlobalVariableDIE()
/external/clang/include/clang-c/
DIndex.h4388 int isDefinition; member
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp1933 if (SP.isSubprogram() && !llvm::DISubprogram(SP).isDefinition()) in getFunctionDeclaration()
1944 if (SP.isSubprogram() && !llvm::DISubprogram(SP).isDefinition()) in getFunctionDeclaration()
2003 if (SP.isSubprogram() && llvm::DISubprogram(SP).isDefinition()) { in EmitFunctionStart()
/external/clang/include/clang/AST/
DTypeLoc.h574 bool isDefinition() const { in isDefinition() function
/external/clang/tools/c-index-test/
Dc-index-test.c1910 printf(" | isDef: %d", info->isDefinition); in index_indexDeclaration()
/external/clang/lib/Sema/
DSemaDecl.cpp7860 TagTypeKind NewTag, bool isDefinition, in isAcceptableTagRedeclaration() argument
7877 if (!isDefinition || (NewTag != TTK_Class && NewTag != TTK_Struct)) in isAcceptableTagRedeclaration()
7896 if (isDefinition) { in isAcceptableTagRedeclaration()
/external/clang/include/clang/Sema/
DSema.h1260 TagTypeKind NewTag, bool isDefinition,