aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2008-12-26 15:00:45 +0000
committerDouglas Gregor <dgregor@apple.com>2008-12-26 15:00:45 +0000
commit70316a065bcf11c88143e22c88d530ebd320832f (patch)
treee74e3cd758435693f175a7bea8892c69db747b30 /lib/Sema/SemaDecl.cpp
parent4bcd44d3b38a9aece40142ea54c07288eb0517f6 (diff)
Add support for out-of-line definitions of conversion functions and member operators
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61442 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r--lib/Sema/SemaDecl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp
index bb0dd4d07c..1f6cbc4f32 100644
--- a/lib/Sema/SemaDecl.cpp
+++ b/lib/Sema/SemaDecl.cpp
@@ -1186,8 +1186,7 @@ Sema::ActOnDeclarator(Scope *S, Declarator &D, DeclTy *lastDecl,
} else {
InvalidDecl = InvalidDecl || CheckConversionDeclarator(D, R, SC);
- NewFD = CXXConversionDecl::Create(Context,
- cast<CXXRecordDecl>(DC),
+ NewFD = CXXConversionDecl::Create(Context, cast<CXXRecordDecl>(DC),
D.getIdentifierLoc(), Name, R,
isInline, isExplicit);