Searched refs:isDefinition (Results 1 - 21 of 21) sorted by relevance

/external/clang/unittests/Basic/
H A DSourceManagerTest.cpp241 bool isDefinition; // if false, it is expansion. member in struct:__anon17587::__anon17588::MacroAction
243 MacroAction(SourceLocation Loc, StringRef Name, bool isDefinition) argument
244 : Loc(Loc), Name(Name), isDefinition(isDefinition) { }
316 ASSERT_TRUE(Macros[0].isDefinition);
319 ASSERT_TRUE(Macros[1].isDefinition);
322 ASSERT_FALSE(Macros[2].isDefinition);
325 ASSERT_FALSE(Macros[3].isDefinition);
328 ASSERT_TRUE(Macros[4].isDefinition);
331 ASSERT_TRUE(Macros[5].isDefinition);
[all...]
/external/clang/tools/libclang/
H A DIndexingContext.h84 DeclInfo(bool isRedeclaration, bool isDefinition, bool isContainer) argument
87 this->isDefinition = isDefinition;
95 bool isRedeclaration, bool isDefinition, bool isContainer)
98 this->isDefinition = isDefinition;
114 /*isDefinition=*/!isForwardRef, /*isContainer=*/!isForwardRef) {
121 : DeclInfo(K, isRedeclaration, /*isDefinition=*/!isForwardRef,
190 /*isRedeclaration=*/false, /*isDefinition=*/false,
201 CXXClassDeclInfo(bool isRedeclaration, bool isDefinition) argument
94 DeclInfo(DInfoKind K, bool isRedeclaration, bool isDefinition, bool isContainer) argument
[all...]
H A DIndexTypeSourceInfo.cpp46 if (TL.isDefinition()) {
H A DCIndex.cpp1464 if (TL.isDefinition())
/external/chromium_org/ppapi/tests/clang/
H A Dfind_affected_interfaces.cc103 if (tag->isDefinition()) {
H A Dprint_names_and_sizes.cc129 if (tag->isDefinition()) {
/external/llvm/include/llvm/
H A DDIBuilder.h534 /// @param isDefinition True if this is a function definition.
545 bool isDefinition,
562 /// @param isDefinition True if this is a function definition.
576 bool isDefinition,
H A DDebugInfo.h389 unsigned isDefinition() const { return getUnsignedField(9); } function in class:llvm::DISubprogram
547 unsigned isDefinition() const { return getUnsignedField(10); } function in class:llvm::DIGlobalVariable
/external/llvm/lib/IR/
H A DDIBuilder.cpp913 ConstantInt::get(Type::getInt32Ty(VMContext), 1), /* isDefinition*/
947 ConstantInt::get(Type::getInt32Ty(VMContext), 1), /* isDefinition*/
1020 bool isLocalToUnit, bool isDefinition,
1039 ConstantInt::get(Type::getInt1Ty(VMContext), isDefinition),
1054 if (isDefinition)
1068 bool isDefinition,
1088 ConstantInt::get(Type::getInt1Ty(VMContext), isDefinition),
1102 if (isDefinition)
1015 createFunction(DIDescriptor Context, StringRef Name, StringRef LinkageName, DIFile File, unsigned LineNo, DICompositeType Ty, bool isLocalToUnit, bool isDefinition, unsigned ScopeLine, unsigned Flags, bool isOptimized, Function *Fn, MDNode *TParams, MDNode *Decl) argument
1062 createMethod(DIDescriptor Context, StringRef Name, StringRef LinkageName, DIFile F, unsigned LineNo, DICompositeType Ty, bool isLocalToUnit, bool isDefinition, unsigned VK, unsigned VIndex, MDNode *VTableHolder, unsigned Flags, bool isOptimized, Function *Fn, MDNode *TParam) argument
H A DDebugInfo.cpp1218 if (isDefinition())
1246 if (isDefinition())
/external/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp318 REGISTER_MATCHER(isDefinition);
/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.cpp2175 recordDecl(hasName("A"), isDefinition());
2180 varDecl(hasName("a"), isDefinition());
2185 methodDecl(hasName("a"), isDefinition());
3047 isDefinition(), decl().bind("x"), hasName("C"));
3225 recordDecl(hasName("::A"), findAll(recordDecl(isDefinition()).bind("v"))),
3415 hasDescendant(recordDecl(isDefinition(),
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp1268 if (!SP.isDefinition()) {
1410 if (GVContext && GV.isDefinition() && !GVContext.isCompileUnit() &&
H A DDwarfDebug.cpp333 if (!SP.isDefinition()) return;
387 if (SP.isDefinition() && !SP.getContext().isCompileUnit() &&
780 if (!SP.isDefinition())
938 if (!SP.isDefinition()) continue;
/external/clang/include/clang/AST/
H A DTypeLoc.h628 bool isDefinition() const { function in class:clang::TagTypeLoc
/external/clang/include/clang-c/
H A DIndex.h5438 int isDefinition; member in struct:__anon15966
/external/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1108 /* isDefinition=*/ false,
2331 if (SP.isSubprogram() && !SP.isDefinition())
2343 if (SP.isSubprogram() && !SP.isDefinition())
2428 if (SP.isSubprogram() && llvm::DISubprogram(SP).isDefinition()) {
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1697 /// recordDecl(hasName("::A"), findAll(recordDecl(isDefinition()).bind("m")))
2647 AST_POLYMORPHIC_MATCHER(isDefinition, AST_POLYMORPHIC_SUPPORTED_TYPES_3(
/external/clang/tools/c-index-test/
H A Dc-index-test.c2717 printf(" | isDef: %d", info->isDefinition);
/external/clang/lib/Sema/
H A DSemaDecl.cpp9938 TagTypeKind NewTag, bool isDefinition,
9955 if (!isDefinition || !isClassCompatTagKind(NewTag))
9974 if (isDefinition) {
9937 isAcceptableTagRedeclaration(const TagDecl *Previous, TagTypeKind NewTag, bool isDefinition, SourceLocation NewTagLoc, const IdentifierInfo &Name) argument
/external/clang/include/clang/Sema/
H A DSema.h1628 TagTypeKind NewTag, bool isDefinition,

Completed in 815 milliseconds