diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-02-21 22:15:06 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-02-21 22:15:06 +0000 |
| commit | 36c569fb33842342d293388eef57fdd8e51e4d60 (patch) | |
| tree | 007dcbe095ea7d3a20e8f35d7f720ad7c3b6ef52 /clang/lib/CodeGen/CodeGenFunction.cpp | |
| parent | 7126183006ec694211afcf3b82b92e96afee01bc (diff) | |
| download | bcm5719-llvm-36c569fb33842342d293388eef57fdd8e51e4d60.tar.gz bcm5719-llvm-36c569fb33842342d293388eef57fdd8e51e4d60.zip | |
Eliminate the default arguments to ASTContext::getFunctionType(),
fixing up a few callers that thought they were propagating NoReturn
information but were in fact saying something about exception
specifications.
llvm-svn: 96766
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 7337590f570..f4558270561 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -197,7 +197,10 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy, Builder.SetInsertPoint(EntryBB); - QualType FnType = getContext().getFunctionType(RetTy, 0, 0, false, 0); + QualType FnType = getContext().getFunctionType(RetTy, 0, 0, false, 0, + false, false, 0, 0, + /*FIXME?*/false, + /*FIXME?*/CC_Default); // Emit subprogram debug descriptor. if (CGDebugInfo *DI = getDebugInfo()) { |

