OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:castAs
(Results
1 - 25
of
178
) sorted by relevancy
1
2
3
4
5
6
7
8
/src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
SimpleConstraintManager.cpp
38
Cond = SVB.evalCast(*LV, SVB.getContext().BoolTy, T).
castAs
<DefinedSVal>();
41
return assume(State, Cond.
castAs
<NonLoc>(), Assumption);
70
nonloc::SymbolVal SV = Cond.
castAs
<nonloc::SymbolVal>();
77
bool b = Cond.
castAs
<nonloc::ConcreteInt>().getValue() != 0;
83
bool IsNull = !Cond.
castAs
<nonloc::PointerToMember>().isNullMemberPointer();
89
return assume(State, Cond.
castAs
<nonloc::LocAsInteger>().getLoc(),
122
const llvm::APSInt &IntVal = Value.
castAs
<nonloc::ConcreteInt>().getValue();
SVals.cpp
280
castAs
<NonLoc>().dumpToStream(os);
283
castAs
<Loc>().dumpToStream(os);
294
const auto &Value =
castAs
<nonloc::ConcreteInt>().getValue();
300
os <<
castAs
<nonloc::SymbolVal>().getSymbol();
304
const nonloc::LocAsInteger& C =
castAs
<nonloc::LocAsInteger>();
309
const nonloc::CompoundVal& C =
castAs
<nonloc::CompoundVal>();
325
const nonloc::LazyCompoundVal &C =
castAs
<nonloc::LazyCompoundVal>();
334
castAs
<nonloc::PointerToMember>();
360
os <<
castAs
<loc::ConcreteInt>().getValue().getZExtValue() << " (Loc)";
363
os << "&&" <<
castAs
<loc::GotoLabel>().getLabel()->getName()
[
all
...]
SValBuilder.cpp
438
return evalBinOpLN(state, op, *LV, rhs.
castAs
<NonLoc>(), type);
447
return evalBinOpLN(state, op, *RV, lhs.
castAs
<NonLoc>(), type);
450
return evalBinOpNN(state, op, lhs.
castAs
<NonLoc>(), rhs.
castAs
<NonLoc>(),
467
.
castAs
<DefinedOrUnknownSVal>();
524
.
castAs
<NonLoc>();
527
NonLoc FromVal = val.
castAs
<NonLoc>();
530
evalBinOpNN(state, BO_LE, FromVal, ToTypeMaxVal, CmpTy).
castAs
<NonLoc>();
583
return evalCastKind(V.
castAs
<UndefinedVal>(), CastTy, OriginalTy);
585
return evalCastKind(V.
castAs
<UnknownVal>(), CastTy, OriginalTy)
[
all
...]
CheckerContext.cpp
108
LHSVal.
castAs
<Loc>());
119
std::tie(StTrue, StFalse) = State->assume(Eval.
castAs
<DefinedSVal>());
Store.cpp
55
Store = Bind(Store.getStore(), I.first.
castAs
<Loc>(), I.second);
401
Loc BaseL = Base.
castAs
<Loc>();
406
BaseR = cast<SubRegion>(BaseL.
castAs
<loc::MemRegionVal>().getRegion());
455
Base.
castAs
<loc::MemRegionVal>().getRegionAs<SubRegion>();
461
Offset = svalBuilder.convertToArrayIndex(Offset).
castAs
<NonLoc>();
481
BaseIdx.
castAs
<nonloc::ConcreteInt>().getValue();
494
const llvm::APSInt& OffI = Offset.
castAs
<nonloc::ConcreteInt>().getValue();
DynamicExtent.cpp
55
return ElementCount.
castAs
<DefinedOrUnknownSVal>();
SimpleSValBuilder.cpp
66
return val.
castAs
<nonloc::ConcreteInt>().evalMinus(*this);
75
return X.
castAs
<nonloc::ConcreteInt>().evalComplement(*this);
267
.
castAs
<NonLoc>();
410
auto LPTM = lhs.
castAs
<nonloc::PointerToMember>(),
411
RPTM = rhs.
castAs
<nonloc::PointerToMember>();
423
Loc lhsL = lhs.
castAs
<nonloc::LocAsInteger>().getLoc();
431
rhs.
castAs
<nonloc::LocAsInteger>().getLoc(),
442
llvm::APSInt i = rhs.
castAs
<nonloc::ConcreteInt>().getValue();
467
llvm::APSInt LHSValue = lhs.
castAs
<nonloc::ConcreteInt>().getValue();
537
SymbolRef Sym = lhs.
castAs
<nonloc::SymbolVal>().getSymbol()
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/Analysis/
ProgramPoint.cpp
63
<<
castAs
<BlockEntrance>().getBlock()->getBlockID();
98
<<
castAs
<LoopExit>().getLoopStmt()->getStmtClassName() << '\"';
102
ImplicitCallPoint PC =
castAs
<ImplicitCallPoint>();
111
ImplicitCallPoint PC =
castAs
<ImplicitCallPoint>();
121
const CXXCtorInitializer *Init =
castAs
<PostInitializer>().getInitializer();
135
const BlockEdge &E =
castAs
<BlockEdge>();
187
const Stmt *S =
castAs
<StmtPoint>().getStmt();
CocoaConventions.cpp
41
const PointerType* PT = RetTy->
castAs
<PointerType>();
/src/external/apache2/llvm/dist/clang/lib/Sema/
TypeLocBuilder.h
71
return pushImpl(T, LocalSize, LocalAlign).
castAs
<TypeSpecTypeLoc>();
94
TyLocType Loc = TypeLoc(T, nullptr).
castAs
<TyLocType>();
97
return pushImpl(T, LocalSize, LocalAlign).
castAs
<TyLocType>();
/src/external/apache2/llvm/dist/clang/include/clang/AST/
TypeLocVisitor.h
22
Visit##CLASSNAME(TyLoc.
castAs
<CLASSNAME>())
/src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
ArrayBoundCheckerV2.cpp
59
NonLoc getByteOffset() const { return byteOffset.
castAs
<NonLoc>(); }
150
NV->
castAs
<nonloc::ConcreteInt>(),
189
Size.
castAs
<nonloc::ConcreteInt>(), svalBuilder);
195
Size.
castAs
<NonLoc>(),
300
return svalBuilder.evalBinOpNN(state, BO_Add, x.
castAs
<NonLoc>(),
301
y.
castAs
<NonLoc>(),
339
index.
castAs
<NonLoc>(),
BuiltinFunctionChecker.cpp
53
state = state->assume(Arg.
castAs
<DefinedOrUnknownSVal>(), true);
95
state = setDynamicExtent(state, R, Size.
castAs
<DefinedOrUnknownSVal>(),
ArrayBoundChecker.cpp
48
DefinedOrUnknownSVal Idx = ER->getIndex().
castAs
<DefinedOrUnknownSVal>();
GTestChecker.cpp
140
BooleanArgVal = C.getState()->getSVal(BooleanArgVal.
castAs
<Loc>());
278
C.getSValBuilder().evalEQ(State, Val1.
castAs
<DefinedOrUnknownSVal>(),
279
Val2.
castAs
<DefinedOrUnknownSVal>());
285
State, ValuesEqual.
castAs
<DefinedSVal>(), true);
ReturnPointerRangeChecker.cpp
50
DefinedOrUnknownSVal Idx = ER->getIndex().
castAs
<DefinedOrUnknownSVal>();
VLASizeChecker.cpp
104
SVB.makeIntVal(EleSize.getQuantity(), SizeTy).
castAs
<NonLoc>();
112
auto SizeD = C.getSVal(SizeE).
castAs
<DefinedSVal>();
115
SVB.evalCast(SizeD, SizeTy, SizeE->getType()).
castAs
<NonLoc>();
175
DefinedSVal SizeD = SizeV.
castAs
<DefinedSVal>();
292
ArraySize.
castAs
<DefinedOrUnknownSVal>(), SVB);
ObjCContainersChecker.cpp
83
State->set<ArraySizeMap>(ArraySym, SizeV.
castAs
<DefinedSVal>()));
136
DefinedSVal Idx = IdxVal.
castAs
<DefinedSVal>();
STLAlgorithmModeling.cpp
135
StateFound = StateFound->assume(GreaterOrEqual.
castAs
<DefinedSVal>(), true);
157
StateFound = StateFound->assume(Less.
castAs
<DefinedSVal>(), true);
UndefResultChecker.cpp
48
const MemRegion *MR = Loc.
castAs
<loc::MemRegionVal>().getRegion();
53
DefinedOrUnknownSVal Idx = ER->getIndex().
castAs
<DefinedOrUnknownSVal>();
EnumCastOutOfRangeChecker.cpp
128
const EnumDecl *ED = T->
castAs
<EnumType>()->getDecl();
ObjCAtSyncChecker.cpp
62
std::tie(notNullState, nullState) = state->assume(V.
castAs
<DefinedSVal>());
ObjCSelfInitChecker.cpp
254
unsigned selfFlags = getSelfFlags(state->getSVal(argV.
castAs
<Loc>()), C);
285
addSelfFlag(state, state->getSVal(argV.
castAs
<Loc>()), prevFlags, C);
311
addSelfFlag(state, state->getSVal(location.
castAs
<Loc>()), SelfFlag_Self,
417
loc::MemRegionVal MRV = location.
castAs
<loc::MemRegionVal>();
/src/external/apache2/llvm/dist/clang/lib/AST/
VTTBuilder.cpp
68
cast<CXXRecordDecl>(I.getType()->
castAs
<RecordType>()->getDecl());
94
cast<CXXRecordDecl>(I.getType()->
castAs
<RecordType>()->getDecl());
158
cast<CXXRecordDecl>(I.getType()->
castAs
<RecordType>()->getDecl());
/src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGCXX.cpp
84
cast<CXXRecordDecl>(I.getType()->
castAs
<RecordType>()->getDecl());
108
if (BaseD->getType()->
castAs
<FunctionType>()->getCallConv() !=
109
D->getType()->
castAs
<FunctionType>()->getCallConv())
Completed in 60 milliseconds
1
2
3
4
5
6
7
8
Indexes created Wed Jun 10 00:26:05 UTC 2026