OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getAs
(Results
76 - 100
of
196
) sorted by null
1
2
3
4
5
6
7
8
/external/clang/tools/libclang/
IndexingContext.cpp
102
if (const ObjCObjectType *ObjectTy = Ty->
getAs
<ObjCObjectType>()) {
132
if (const TypedefType *TDT = T->
getAs
<TypedefType>()) {
135
TST = T->
getAs
<TemplateSpecializationType>()) {
137
} else if (const RecordType *RT = T->
getAs
<RecordType>()) {
167
if (QualifiedTypeLoc QL = TL.
getAs
<QualifiedTypeLoc>())
170
if (ElaboratedTypeLoc EL = TL.
getAs
<ElaboratedTypeLoc>())
172
if (DependentNameTypeLoc DL = TL.
getAs
<DependentNameTypeLoc>())
175
TL.
getAs
<DependentTemplateSpecializationTypeLoc>())
[
all
...]
/external/clang/lib/StaticAnalyzer/Core/
ExprEngineCallAndReturn.cpp
83
if (Optional<StmtPoint> SP = PP.
getAs
<StmtPoint>()) {
86
} else if (Optional<CallExitEnd> CEE = PP.
getAs
<CallExitEnd>()) {
101
} else if (Optional<BlockEdge> BE = PP.
getAs
<BlockEdge>()) {
104
} else if (Optional<CallEnter> CE = PP.
getAs
<CallEnter>()) {
127
if (!V.
getAs
<Loc>())
814
if ((*currBldrCtx->getBlock())[currStmtIdx].
getAs
<CFGTemporaryDtor>())
[
all
...]
ProgramState.cpp
215
assert(!LV.
getAs
<loc::MemRegionVal>() && "Use invalidateRegion instead.");
279
if (V.
getAs
<Loc>())
560
if (Optional<loc::MemRegionVal> X = val.
getAs
<loc::MemRegionVal>())
564
val.
getAs
<nonloc::LazyCompoundVal>())
567
if (Optional<nonloc::LocAsInteger> X = val.
getAs
<nonloc::LocAsInteger>())
576
if (Optional<nonloc::CompoundVal> X = val.
getAs
<nonloc::CompoundVal>())
/external/clang/lib/CodeGen/
CGExpr.cpp
92
if (const MemberPointerType *MPT = E->getType()->
getAs
<MemberPointerType>()) {
248
E->getType()->getBaseElementTypeUnsafe()->
getAs
<RecordType>()) {
677
if (const VectorType *VT = Base->getType()->
getAs
<VectorType>()) {
740
QualType ElemTy = E->getType()->
getAs
<ComplexType>()->getElementType();
[
all
...]
CGExprCXX.cpp
98
if (const PointerType *PTy = T->
getAs
<PointerType>())
297
cast<CXXRecordDecl>(MPT->getClass()->
getAs
<RecordType>()->getDecl());
[
all
...]
/external/clang/lib/AST/
DeclCXX.cpp
172
= cast<CXXRecordDecl>(BaseType->
getAs
<RecordType>()->getDecl());
557
Method->getParamDecl(0)->getType()->
getAs
<ReferenceType>();
745
if (const RecordType *RecordTy = T->
getAs
<RecordType>()) {
[
all
...]
DeclPrinter.cpp
111
else if (const PointerType* PTy = BaseType->
getAs
<PointerType>())
113
else if (const BlockPointerType *BPy = BaseType->
getAs
<BlockPointerType>())
117
else if (const FunctionType* FTy = BaseType->
getAs
<FunctionType>())
119
else if (const VectorType *VTy = BaseType->
getAs
<VectorType>())
121
else if (const ReferenceType *RTy = BaseType->
getAs
<ReferenceType>())
205
if (auto *PET = T->
getAs
<PackExpansionType>()) {
433
if (const FunctionType *AFT = Ty->
getAs
<FunctionType>()) {
[
all
...]
ASTDiagnostic.cpp
113
if (const TagType *UTT = Underlying->
getAs
<TagType>())
125
if (const PointerType *Ty = QT->
getAs
<PointerType>()) {
128
} else if (const LValueReferenceType *Ty = QT->
getAs
<LValueReferenceType>()) {
131
} else if (const RValueReferenceType *Ty = QT->
getAs
<RValueReferenceType>()) {
236
const VectorType *VTy = Ty->
getAs
<VectorType>();
853
Ty->
getAs
<TemplateSpecializationType>())
856
const RecordType *RT = Ty->
getAs
<RecordType>();
873
return Ty->
getAs
<TemplateSpecializationType>();
[
all
...]
APValue.cpp
360
QualType ElemTy = Ty->
getAs
<VectorType>()->getElementType();
441
if (ElemTy->
getAs
<RecordType>()) {
495
const RecordDecl *RD = Ty->
getAs
<RecordType>()->getDecl();
/external/clang/lib/Sema/
SemaAccess.cpp
296
if (const RecordType *RT = T->
getAs
<RecordType>()) {
299
= T->
getAs
<InjectedClassNameType>()) {
368
->
getAs
<FunctionProtoType>();
371
->
getAs
<FunctionProtoType>();
426
if (const RecordType *RT = Friend->
getAs
<RecordType>())
655
if (const RecordType *RT = T->
getAs
<RecordType>()) {
658
= T->
getAs
<InjectedClassNameType>()) {
[
all
...]
SemaType.cpp
[
all
...]
SemaStmtAsm.cpp
574
RT = VD->getType()->
getAs
<RecordType>();
577
RT = TD->getUnderlyingType()->
getAs
<RecordType>();
579
RT = TD->getTypeForDecl()->
getAs
<RecordType>();
CodeCompleteConsumer.cpp
412
return Function->getType()->
getAs
<FunctionType>();
416
->
getAs
<FunctionType>();
SemaCodeComplete.cpp
618
return getSimplifiedTypeClass(T->
getAs
<ReferenceType>()->getPointeeType());
679
if (const ReferenceType *Ref = T->
getAs
<ReferenceType>()) {
684
if (const PointerType *Pointer = T->
getAs
<PointerType>()) {
693
if (const BlockPointerType *Block = T->
getAs
<BlockPointerType>()) {
698
if (const FunctionType *Function = T->
getAs
<FunctionType>()) {
[
all
...]
SemaStmt.cpp
56
return StmtResult(FE.
getAs
<Stmt>());
501
Expr *ConditionExpr = CondResult.
getAs
<Expr>();
[
all
...]
/external/clang/lib/Analysis/
LiveVariables.cpp
458
elem.
getAs
<CFGAutomaticObjDtor>()) {
463
if (!elem.
getAs
<CFGStmt>())
518
if (Optional<CFGStmt> cs = bi->
getAs
<CFGStmt>()) {
/external/clang/lib/StaticAnalyzer/Checkers/
MacOSKeychainAPIChecker.cpp
221
if (Optional<loc::MemRegionVal> X = ArgV.
getAs
<loc::MemRegionVal>()) {
540
if (Optional<CallExitEnd> Exit = P.
getAs
<CallExitEnd>())
542
else if (Optional<clang::PostStmt> PS = P.
getAs
<clang::PostStmt>())
MallocChecker.cpp
708
if (!V.
getAs
<NonLoc>()) {
[
all
...]
DeadStoresChecker.cpp
216
if (VD->getType()->
getAs
<ReferenceType>())
325
if (V->getType()->
getAs
<ReferenceType>())
/external/lldb/source/Symbol/
ClangASTImporter.cpp
291
if (const TagType *tag_type = type->
getAs
<TagType>())
295
if (const ObjCObjectType *objc_object_type = type->
getAs
<ObjCObjectType>())
306
if (const AtomicType *atomic_type = type->
getAs
<AtomicType>())
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
SVals.h
86
Optional<T>
getAs
() const {
373
assert (data.first.
getAs
<Loc>());
MemRegion.h
186
template<typename RegionTy> const RegionTy*
getAs
() const;
511
if (T->
getAs
<ObjCObjectType>())
1017
assert((!Idx.
getAs
<nonloc::ConcreteInt>() ||
[
all
...]
/external/clang/lib/Frontend/Rewrite/
RewriteObjC.cpp
418
const BlockPointerType *BPT = T->
getAs
<BlockPointerType>();
458
if (const PointerType *PT = OCT->
getAs
<PointerType>()) {
559
const PointerType *PT = funcType->
getAs
<PointerType>();
[
all
...]
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
BugReporterVisitor.h
142
IsZeroCheck(!Assumption && Constraint.
getAs
<Loc>()),
/external/clang/lib/ASTMatchers/
ASTMatchFinder.cpp
757
// Type::
getAs
<...>() drills through typedefs.
758
if (TypeNode->
getAs
<DependentNameType>() != nullptr ||
759
TypeNode->
getAs
<DependentTemplateSpecializationType>() != nullptr ||
760
TypeNode->
getAs
<TemplateTypeParmType>() != nullptr)
765
TypeNode->
getAs
<TemplateSpecializationType>();
[
all
...]
Completed in 1135 milliseconds
1
2
3
4
5
6
7
8