diff options
-rw-r--r-- | include/clang/AST/Type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index ffcc9f6457..60ae34b146 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -93,6 +93,7 @@ public: : Value(const_cast<Type*>(Ptr), Quals) {} unsigned getCVRQualifiers() const { return Value.getInt(); } + void setCVRQualifiers(unsigned Quals) { Value.setInt(Quals); } Type *getTypePtr() const { return Value.getPointer(); } void *getAsOpaquePtr() const { return Value.getOpaqueValue(); } |