aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Program.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/ByteCode/Program.h')
-rw-r--r--clang/lib/AST/ByteCode/Program.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/clang/lib/AST/ByteCode/Program.h b/clang/lib/AST/ByteCode/Program.h
index ce20626..23ba1bb 100644
--- a/clang/lib/AST/ByteCode/Program.h
+++ b/clang/lib/AST/ByteCode/Program.h
@@ -119,16 +119,17 @@ public:
const Type *SourceTy = nullptr,
Descriptor::MetadataSize MDSize = std::nullopt,
bool IsConst = false, bool IsTemporary = false,
- bool IsMutable = false) {
+ bool IsMutable = false,
+ bool IsVolatile = false) {
return allocateDescriptor(D, SourceTy, T, MDSize, IsConst, IsTemporary,
- IsMutable);
+ IsMutable, IsVolatile);
}
/// Creates a descriptor for a composite type.
Descriptor *createDescriptor(const DeclTy &D, const Type *Ty,
Descriptor::MetadataSize MDSize = std::nullopt,
bool IsConst = false, bool IsTemporary = false,
- bool IsMutable = false,
+ bool IsMutable = false, bool IsVolatile = false,
const Expr *Init = nullptr);
/// Context to manage declaration lifetimes.