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
1 changed files with 3 additions and 3 deletions

View File

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