diff options
| -rw-r--r-- | clang/lib/CodeGen/CGExprAgg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExprAgg.cpp b/clang/lib/CodeGen/CGExprAgg.cpp index b467dbc875c..2e408ede33e 100644 --- a/clang/lib/CodeGen/CGExprAgg.cpp +++ b/clang/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()) |

