TOT broken by R220956 - Differential Revision: http://reviews/llvm.org/D6066

llvm-svn: 221018
This commit is contained in:
Shawn Best
2014-10-31 23:20:13 +00:00
parent da00cf5f73
commit 3ab672d7ef

View File

@@ -1739,7 +1739,7 @@ ClangASTContext::CreateFunctionDeclaration (DeclContext *decl_ctx,
DeclarationName (&ast->Idents.get(name)),
function_clang_type.GetQualType(),
nullptr,
(FunctionDecl::StorageClass)storage,
(clang::StorageClass)storage,
is_inline,
hasWrittenPrototype,
isConstexprSpecified);
@@ -1753,7 +1753,7 @@ ClangASTContext::CreateFunctionDeclaration (DeclContext *decl_ctx,
DeclarationName (),
function_clang_type.GetQualType(),
nullptr,
(FunctionDecl::StorageClass)storage,
(clang::StorageClass)storage,
is_inline,
hasWrittenPrototype,
isConstexprSpecified);
@@ -1805,7 +1805,7 @@ ClangASTContext::CreateParameterDeclaration (const char *name, const ClangASTTyp
name && name[0] ? &ast->Idents.get(name) : nullptr,
param_type.GetQualType(),
nullptr,
(VarDecl::StorageClass)storage,
(clang::StorageClass)storage,
nullptr);
}