forked from OSchip/llvm-project
Add 'getConditionType()' and 'getArrayIndexType()'
to SValBuilder. These two query methods are useful for constructing SVals. llvm-svn: 122467
This commit is contained in:
parent
08cbe57d00
commit
c9b76e4b6e
|
@ -95,6 +95,14 @@ public:
|
|||
const ASTContext &getContext() const { return Context; }
|
||||
|
||||
GRStateManager &getStateManager() { return StateMgr; }
|
||||
|
||||
QualType getConditionType() const {
|
||||
return getContext().IntTy;
|
||||
}
|
||||
|
||||
QualType getArrayIndexType() const {
|
||||
return ArrayIndexTy;
|
||||
}
|
||||
|
||||
BasicValueFactory &getBasicValueFactory() { return BasicVals; }
|
||||
const BasicValueFactory &getBasicValueFactory() const { return BasicVals; }
|
||||
|
|
Loading…
Reference in New Issue