/// with this AST context, if any.
ExternalASTSource *getExternalSource() const { return ExternalSource.get(); }
- TargetInfo& getTargetInfo() const { return Target; }
-
void PrintStats() const;
const std::vector<Type*>& getTypes() const { return Types; }
// Utility methods.
BasicValueFactory& getBasicVals() { return StateMgr.getBasicVals(); }
ASTContext& getContext() { return StateMgr.getContext(); }
- TargetInfo& getTargetInfo() { return getContext().getTargetInfo(); }
+
SymbolManager& getSymbolManager() { return StateMgr.getSymbolManager(); }
const GRState* AddRegionView(const GRState* St,
// getTypeWidth - compute the width of the type. Should pass in
// canonical type.
static unsigned getTypeWidth(ASTContext& Ctx, QualType T) {
- TargetInfo& Target = Ctx.getTargetInfo();
+ TargetInfo& Target = Ctx.Target;
QualType CanT = Ctx.getCanonicalType(T);
if (CanT->isPointerType())