TOT broken by R220956 - Differential Revision: http://reviews/llvm.org/D6066
authorShawn Best <sbest@blueshiftinc.com>
Fri, 31 Oct 2014 23:20:13 +0000 (23:20 +0000)
committerShawn Best <sbest@blueshiftinc.com>
Fri, 31 Oct 2014 23:20:13 +0000 (23:20 +0000)
llvm-svn: 221018

lldb/source/Symbol/ClangASTContext.cpp

index c795e4e..686b502 100644 (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);
 }