Searched refs:cast_or_null (Results 26 - 50 of 64) sorted by relevance
123
/external/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 312 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 D | ASTReaderDecl.cpp | 1074 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 D | ASTWriterDecl.cpp | 165 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 D | CanonicalType.h | 76 return cast_or_null<T>(Stored.getTypePtrOrNull());
|
H A D | Decl.h | 2865 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 D | ExprCXX.h | 164 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 D | Expr.h | 3790 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 D | ExprObjC.h | 626 return cast_or_null<ObjCMethodDecl>(PropertyOrGetter.getPointer());
|
H A D | DeclCXX.h | 653 return cast_or_null<CXXRecordDecl>(
|
/external/clang/lib/AST/ |
H A D | CXXInheritance.cpp | 149 cast_or_null<CXXRecordDecl>(Ty->getDecl()->getDefinition());
|
H A D | Stmt.cpp | 953 return cast_or_null<Expr>(RetExpr); 956 return cast_or_null<Expr>(RetExpr);
|
H A D | DeclCXX.cpp | 1933 return cast_or_null<NamespaceDecl>(NominatedNamespace);
|
/external/llvm/lib/MC/MCAnalysis/ |
H A D | MCObjectDisassembler.cpp | 366 cast_or_null<MCTextAtom>(Module->findFirstAtomAfter(BeginAddr)))
|
/external/llvm/lib/MC/MCParser/ |
H A D | ELFAsmParser.cpp | 540 cast_or_null<MCSectionELF>(CurrentSection.first))
|
/external/clang/include/clang/Serialization/ |
H A D | ASTReader.h | 1612 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 D | SemaTemplate.cpp | 2526 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 D | SemaLookup.cpp | 2330 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 D | SemaStmt.cpp | 2328 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 D | SemaDecl.cpp | 11301 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 D | SemaExprMember.cpp | 516 cast_or_null<CXXRecordDecl>(computeDeclContext(BaseType));
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMAsmPrinter.cpp | 738 if (auto WCharWidthValue = cast_or_null<ConstantInt>( 749 if (auto EnumWidthValue = cast_or_null<ConstantInt>(
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CallEvent.cpp | 394 const CallExpr *CE = cast_or_null<CallExpr>(getOriginExpr());
|
H A D | ExprEngineC.cpp | 543 if (const BinaryOperator *Term = cast_or_null<BinaryOperator>(T.getStmt())) {
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopUnswitch.cpp | 318 const SwitchInst *NewInst = cast_or_null<SwitchInst>(NewI);
|
/external/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 1089 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