| 418 | |
| 419 | void AssignVar::setName(std::string VarName) { this->VarName = VarName; } |
| 420 | void AssignVar::setType(Type &FTGType) { |
| 421 | const Type *ObjectTy = FTGType.getRealType(/*getArrayPointee=*/true); |
| 422 | if (ObjectTy->isFixedLengthArrayPtr() && ObjectTy->isStringType()) { |
| 423 | ObjectTy = ObjectTy->getPointeeType(); |
| 424 | TypeStr = util::stripConstExpr(ObjectTy->getASTTypeName()); |
| 425 | } else |
| 426 | TypeStr = util::getFuzzInputTypeString(ObjectTy->getASTTypeName()); |
| 427 | } |
| 428 | void AssignVar::setNameSpace(std::string NameSpace) { |
| 429 | this->NameSpace = NameSpace; |
| 430 | } |
no test coverage detected