summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2014-08-01 12:19:15 +0000
committerSylvestre Ledru <sylvestre@debian.org>2014-08-01 12:19:15 +0000
commit186ca7dd599969bf9f65d8a4c44d0d07c20b08c2 (patch)
tree37566d4b81aa7483473191aac4b923b96da5e4e7
parent7cc0ed48f01bfba0036181339bc811c875c4f01a (diff)
downloadbcm5719-llvm-186ca7dd599969bf9f65d8a4c44d0d07c20b08c2.tar.gz
bcm5719-llvm-186ca7dd599969bf9f65d8a4c44d0d07c20b08c2.zip
Update the code with clang changes r214450 (FunctionProtoType::ExtProtoInfo update)
llvm-svn: 214501
-rw-r--r--lldb/source/Symbol/ClangASTContext.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp
index 39fb13e8aa8..36a0aec53f4 100644
--- a/lldb/source/Symbol/ClangASTContext.cpp
+++ b/lldb/source/Symbol/ClangASTContext.cpp
@@ -1754,12 +1754,10 @@ ClangASTContext::CreateFunctionType (ASTContext *ast,
// TODO: Detect calling convention in DWARF?
FunctionProtoType::ExtProtoInfo proto_info;
proto_info.Variadic = is_variadic;
- proto_info.ExceptionSpecType = EST_None;
+ proto_info.ExceptionSpec = EST_None;
proto_info.TypeQuals = type_quals;
proto_info.RefQualifier = RQ_None;
- proto_info.NumExceptions = 0;
- proto_info.Exceptions = nullptr;
-
+
return ClangASTType (ast, ast->getFunctionType (result_type.GetQualType(),
qual_type_args,
proto_info).getAsOpaquePtr());
OpenPOWER on IntegriCloud