diff options
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
-rw-r--r-- | lib/CodeGen/CGExprAgg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExprAgg.cpp b/lib/CodeGen/CGExprAgg.cpp index b467dbc875..2e408ede33 100644 --- a/lib/CodeGen/CGExprAgg.cpp +++ b/lib/CodeGen/CGExprAgg.cpp @@ -763,7 +763,7 @@ void CodeGenFunction::EmitAggregateCopy(llvm::Value *DestPtr, CXXRecordDecl *Record = cast<CXXRecordDecl>(RT->getDecl()); assert((Record->hasTrivialCopyConstructor() || Record->hasTrivialCopyAssignment() || - /*FIXME!*/getContext().getLangOptions().CPlusPlus) && + /*FIXME!*/getContext().getLangOptions().ObjC1) && "Trying to aggregate-copy a type without a trivial copy " "constructor or assignment operator"); if (Record->isEmpty()) |