diff options
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen/CGException.cpp')
| -rw-r--r-- | contrib/llvm/tools/clang/lib/CodeGen/CGException.cpp | 13 | 
1 files changed, 7 insertions, 6 deletions
diff --git a/contrib/llvm/tools/clang/lib/CodeGen/CGException.cpp b/contrib/llvm/tools/clang/lib/CodeGen/CGException.cpp index e65fa863fe31..40ae0921098c 100644 --- a/contrib/llvm/tools/clang/lib/CodeGen/CGException.cpp +++ b/contrib/llvm/tools/clang/lib/CodeGen/CGException.cpp @@ -1649,18 +1649,19 @@ void CodeGenFunction::startOutlinedSEHHelper(CodeGenFunction &ParentCGF,      // parameters. Win32 filters take no parameters.      if (IsFilter) {        Args.push_back(ImplicitParamDecl::Create( -          getContext(), nullptr, StartLoc, +          getContext(), /*DC=*/nullptr, StartLoc,            &getContext().Idents.get("exception_pointers"), -          getContext().VoidPtrTy)); +          getContext().VoidPtrTy, ImplicitParamDecl::Other));      } else {        Args.push_back(ImplicitParamDecl::Create( -          getContext(), nullptr, StartLoc, +          getContext(), /*DC=*/nullptr, StartLoc,            &getContext().Idents.get("abnormal_termination"), -          getContext().UnsignedCharTy)); +          getContext().UnsignedCharTy, ImplicitParamDecl::Other));      }      Args.push_back(ImplicitParamDecl::Create( -        getContext(), nullptr, StartLoc, -        &getContext().Idents.get("frame_pointer"), getContext().VoidPtrTy)); +        getContext(), /*DC=*/nullptr, StartLoc, +        &getContext().Idents.get("frame_pointer"), getContext().VoidPtrTy, +        ImplicitParamDecl::Other));    }    QualType RetTy = IsFilter ? getContext().LongTy : getContext().VoidTy;  | 
