forked from OSchip/llvm-project
parent
766004f179
commit
1ba79dfeea
|
@ -205,8 +205,6 @@ public:
|
|||
/// 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; }
|
||||
|
||||
|
|
|
@ -297,7 +297,7 @@ private:
|
|||
// 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,
|
||||
|
@ -315,7 +315,7 @@ StoreManager* clang::CreateRegionStoreManager(GRStateManager& StMgr) {
|
|||
// 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())
|
||||
|
|
Loading…
Reference in New Issue