Home
last modified time | relevance | path

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

/external/clang/unittests/Basic/
DSourceManagerTest.cpp232 bool isDefinition; // if false, it is expansion. member
234 MacroAction(SourceLocation Loc, StringRef Name, bool isDefinition) in MacroAction()
235 : Loc(Loc), Name(Name), isDefinition(isDefinition) { } in MacroAction()
306 ASSERT_TRUE(Macros[0].isDefinition); in TEST_F()
309 ASSERT_TRUE(Macros[1].isDefinition); in TEST_F()
312 ASSERT_FALSE(Macros[2].isDefinition); in TEST_F()
315 ASSERT_FALSE(Macros[3].isDefinition); in TEST_F()
318 ASSERT_TRUE(Macros[4].isDefinition); in TEST_F()
321 ASSERT_TRUE(Macros[5].isDefinition); in TEST_F()
324 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.cpp1406 if (TL.isDefinition()) in VisitTagTypeLoc()
/external/llvm/include/llvm/
DDIBuilder.h462 bool isDefinition,
493 bool isDefinition,
DDebugInfo.h491 unsigned isDefinition() const { return getUnsignedField(10); } in isDefinition() function
603 unsigned isDefinition() const { return getUnsignedField(10); } in isDefinition() function
/external/llvm/lib/VMCore/
DDIBuilder.cpp832 bool isLocalToUnit, bool isDefinition, in createFunction() argument
854 ConstantInt::get(Type::getInt1Ty(VMContext), isDefinition), in createFunction()
880 bool isDefinition, in createMethod() argument
903 ConstantInt::get(Type::getInt1Ty(VMContext), isDefinition), in createMethod()
DDebugInfo.cpp1090 if (isDefinition()) in printInternal()
1113 if (isDefinition()) in printInternal()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp1836 recordDecl(hasName("A"), isDefinition()); in TEST()
1841 varDecl(hasName("a"), isDefinition()); in TEST()
1846 methodDecl(hasName("a"), isDefinition()); in TEST()
2786 hasDescendant(recordDecl(isDefinition(), in TEST()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp277 if (!SP.isDefinition()) return; in addSubprogramNames()
317 if (SP.isDefinition() && !SP.getContext().isCompileUnit() && in updateSubprogramScopeDIE()
638 if (!SP.isDefinition()) in constructSubprogramDIE()
786 if (!SP.isDefinition()) continue; in endModule()
DDwarfCompileUnit.cpp1096 if (!SP.isDefinition()) { in getOrCreateSubprogramDIE()
1204 if (GVContext && GV.isDefinition() && !GVContext.isCompileUnit() && in createGlobalVariableDIE()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp1967 if (SP.isSubprogram() && !llvm::DISubprogram(SP).isDefinition()) in getFunctionDeclaration()
1979 if (SP.isSubprogram() && !llvm::DISubprogram(SP).isDefinition()) in getFunctionDeclaration()
2040 if (SP.isSubprogram() && llvm::DISubprogram(SP).isDefinition()) { in EmitFunctionStart()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2088 isDefinition() { in isDefinition() function
/external/clang/include/clang-c/
DIndex.h5041 int isDefinition; member
/external/clang/include/clang/AST/
DTypeLoc.h574 bool isDefinition() const { in isDefinition() function
/external/clang/tools/c-index-test/
Dc-index-test.c2383 printf(" | isDef: %d", info->isDefinition); in index_indexDeclaration()
/external/clang/lib/Sema/
DSemaDecl.cpp8245 TagTypeKind NewTag, bool isDefinition, in isAcceptableTagRedeclaration() argument
8262 if (!isDefinition || !isClassCompatTagKind(NewTag)) in isAcceptableTagRedeclaration()
8281 if (isDefinition) { in isAcceptableTagRedeclaration()
/external/clang/include/clang/Sema/
DSema.h1397 TagTypeKind NewTag, bool isDefinition,