summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclCXX.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/DeclCXX.cpp')
-rw-r--r--clang/lib/AST/DeclCXX.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/clang/lib/AST/DeclCXX.cpp b/clang/lib/AST/DeclCXX.cpp
index 6354d84784e..19f89582770 100644
--- a/clang/lib/AST/DeclCXX.cpp
+++ b/clang/lib/AST/DeclCXX.cpp
@@ -439,15 +439,6 @@ void StaticAssertDecl::Destroy(ASTContext& C) {
StaticAssertDecl::~StaticAssertDecl() {
}
-CXXTempVarDecl *CXXTempVarDecl::Create(ASTContext &C, DeclContext *DC,
- QualType T) {
- assert((T->isDependentType() ||
- isa<CXXRecordDecl>(T->getAsRecordType()->getDecl())) &&
- "CXXTempVarDecl must either have a dependent type "
- "or a C++ record type!");
- return new (C) CXXTempVarDecl(DC, T);
-}
-
static const char *getAccessName(AccessSpecifier AS) {
switch (AS) {
default:
OpenPOWER on IntegriCloud