Searched refs:cast_or_null (Results 26 - 50 of 64) sorted by relevance

123

/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp312 S->setAsmString(cast_or_null<StringLiteral>(Reader.ReadSubStmt()));
324 Constraints.push_back(cast_or_null<StringLiteral>(Reader.ReadSubStmt()));
331 Clobbers.push_back(cast_or_null<StringLiteral>(Reader.ReadSubStmt()));
714 if (InitListExpr *SyntForm = cast_or_null<InitListExpr>(Reader.ReadSubStmt()))
826 E->setSubStmt(cast_or_null<CompoundStmt>(Reader.ReadSubStmt()));
1111 S->setCatchStmt(I, cast_or_null<ObjCAtCatchStmt>(Reader.ReadSubStmt()));
1980 return cast_or_null<Expr>(ReadStmt(F));
1984 return cast_or_null<Expr>(ReadSubStmt());
H A DASTReaderDecl.cpp1074 BD->setBody(cast_or_null<CompoundStmt>(Reader.ReadStmt(F)));
1570 NamedDecl *TemplatedDecl = cast_or_null<NamedDecl>(Reader.GetDecl(PatternID));
1988 T *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID));
3138 add(cast_or_null<ObjCCategoryDecl>(
H A DASTWriterDecl.cpp165 Writer.AddDeclRef(cast_or_null<Decl>(D->getDeclContext()), Record);
166 Writer.AddDeclRef(cast_or_null<Decl>(D->getLexicalDeclContext()), Record);
/external/clang/include/clang/AST/
H A DCanonicalType.h76 return cast_or_null<T>(Stored.getTypePtrOrNull());
H A DDecl.h2865 return cast_or_null<EnumDecl>(
2880 return cast_or_null<EnumDecl>(TagDecl::getDefinition());
3084 return cast_or_null<RecordDecl>(
3148 return cast_or_null<RecordDecl>(TagDecl::getDefinition());
H A DExprCXX.h164 return cast_or_null<CallExpr>(getPreArg(CONFIG));
166 CallExpr *getConfig() { return cast_or_null<CallExpr>(getPreArg(CONFIG)); }
821 const Expr *getSubExpr() const { return cast_or_null<Expr>(Op); }
822 Expr *getSubExpr() { return cast_or_null<Expr>(Op); }
H A DExpr.h3790 return cast_or_null<Expr>(InitExprs[Init]);
3795 return cast_or_null<Expr>(InitExprs[Init]);
4299 return cast_or_null<Expr>(Exprs[Init]);
4304 return cast_or_null<Expr>(Exprs[Init]);
H A DExprObjC.h626 return cast_or_null<ObjCMethodDecl>(PropertyOrGetter.getPointer());
H A DDeclCXX.h653 return cast_or_null<CXXRecordDecl>(
/external/clang/lib/AST/
H A DCXXInheritance.cpp149 cast_or_null<CXXRecordDecl>(Ty->getDecl()->getDefinition());
H A DStmt.cpp953 return cast_or_null<Expr>(RetExpr);
956 return cast_or_null<Expr>(RetExpr);
H A DDeclCXX.cpp1933 return cast_or_null<NamespaceDecl>(NominatedNamespace);
/external/llvm/lib/MC/MCAnalysis/
H A DMCObjectDisassembler.cpp366 cast_or_null<MCTextAtom>(Module->findFirstAtomAfter(BeginAddr)))
/external/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp540 cast_or_null<MCSectionELF>(CurrentSection.first))
/external/clang/include/clang/Serialization/
H A DASTReader.h1612 return cast_or_null<T>(GetLocalDecl(F, LocalID));
1644 return cast_or_null<T>(GetDecl(ReadDeclID(F, R, I)));
/external/clang/lib/Sema/
H A DSemaTemplate.cpp2526 cast_or_null<VarTemplatePartialSpecializationDecl>(PrevDecl);
3546 TempParm = cast_or_null<TemplateTemplateParmDecl>(
6132 = cast_or_null<ClassTemplatePartialSpecializationDecl>(PrevDecl);
7200 = cast_or_null<ClassTemplateSpecializationDecl>(
7210 Def = cast_or_null<ClassTemplateSpecializationDecl>(
7297 = cast_or_null<CXXRecordDecl>(Record->getPreviousDecl());
7315 = cast_or_null<CXXRecordDecl>(Record->getDefinition());
7321 = cast_or_null<CXXRecordDecl>(Pattern->getDefinition());
7334 RecordDef = cast_or_null<CXXRecordDecl>(Record->getDefinition());
H A DSemaLookup.cpp2330 return cast_or_null<ObjCProtocolDecl>(D);
2552 return cast_or_null<CXXConstructorDecl>(Result->getMethod());
2564 return cast_or_null<CXXConstructorDecl>(Result->getMethod());
2574 return cast_or_null<CXXConstructorDecl>(Result->getMethod());
H A DSemaStmt.cpp2328 RangeDS, cast_or_null<DeclStmt>(BeginEndDecl.get()), NotEqExpr.get(),
3037 VarDecl *Var = cast_or_null<VarDecl>(Parm);
3140 CXXCatchStmt(CatchLoc, cast_or_null<VarDecl>(ExDecl), HandlerBlock);
H A DSemaDecl.cpp11301 cast_or_null<EnumDecl>(PrevDecl), ScopedEnum,
11348 cast_or_null<CXXRecordDecl>(PrevDecl));
11354 cast_or_null<RecordDecl>(PrevDecl));
11712 FieldDecl *Res = HandleField(S, cast_or_null<RecordDecl>(TagD),
12858 cast_or_null<EnumConstantDecl>(lastEnumConst);
13011 EnumConstantDecl *ECD = cast_or_null<EnumConstantDecl>(Elements[i]);
13106 cast_or_null<EnumConstantDecl>(Elements[i]);
13133 cast_or_null<EnumConstantDecl>(Elements[i]);
13249 EnumConstantDecl *ECD = cast_or_null<EnumConstantDecl>(Elements[i]);
H A DSemaExprMember.cpp516 cast_or_null<CXXRecordDecl>(computeDeclContext(BaseType));
/external/llvm/lib/Target/ARM/
H A DARMAsmPrinter.cpp738 if (auto WCharWidthValue = cast_or_null<ConstantInt>(
749 if (auto EnumWidthValue = cast_or_null<ConstantInt>(
/external/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp394 const CallExpr *CE = cast_or_null<CallExpr>(getOriginExpr());
H A DExprEngineC.cpp543 if (const BinaryOperator *Term = cast_or_null<BinaryOperator>(T.getStmt())) {
/external/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp318 const SwitchInst *NewInst = cast_or_null<SwitchInst>(NewI);
/external/llvm/lib/AsmParser/
H A DLLParser.cpp1089 cast_or_null<GlobalValue>(M->getValueSymbolTable().lookup(Name));
2345 return cast_or_null<BasicBlock>(GetVal(Name,
2350 return cast_or_null<BasicBlock>(GetVal(ID,

Completed in 1010 milliseconds

123