diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-09-22 01:58:06 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-09-22 01:58:06 +0000 |
commit | f0fdefc13a58db2a8b32bb47ac23bc16efad6fda (patch) | |
tree | 35e0f8b4d19ff3c173d5df61b7a547e0a7f1522c /lib/Sema/SemaChecking.cpp | |
parent | b9d4e5e3bb235f1149e99d3c833ff7cb3474c9f1 (diff) |
When importing a FunctionProtoType::ExtProtoInfo, its ExceptionSpecDecl can point to the
FunctionDecl that we are importing the FunctionProtoType for, in which case we'll have
infinite recursion when importing.
Initially create a FunctionProtoType with null ExceptionSpecDecl/ExceptionSpecTemplate and
update the type in ASTNodeImporter::VisitFunctionDecl after the FunctionDecl has been created.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164450 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions