summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/Stmt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/Stmt.cpp')
-rw-r--r--clang/lib/AST/Stmt.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/AST/Stmt.cpp b/clang/lib/AST/Stmt.cpp
index 9b271c81acd..a80bd87d216 100644
--- a/clang/lib/AST/Stmt.cpp
+++ b/clang/lib/AST/Stmt.cpp
@@ -54,6 +54,11 @@ void *Stmt::operator new(size_t bytes, const ASTContext& C,
return ::operator new(bytes, C, alignment);
}
+void *Stmt::operator new(size_t bytes, const ASTContext* C,
+ unsigned alignment) {
+ return ::operator new(bytes, *C, alignment);
+}
+
const char *Stmt::getStmtClassName() const {
return getStmtInfoTableEntry((StmtClass) StmtBits.sClass).Name;
}
OpenPOWER on IntegriCloud