зеркало из https://github.com/microsoft/clang-1.git
Add 'getConditionType()' and 'getArrayIndexType()'
to SValBuilder. These two query methods are useful for constructing SVals. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122467 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
601fa4e4e2
Коммит
6bd8124f53
|
@ -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; }
|
||||
|
|
Загрузка…
Ссылка в новой задаче