From: Douglas Gregor Date: Wed, 3 Oct 2012 18:36:10 +0000 (+0000) Subject: Add some FIXMEs to the ASTReader code X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d45c2bf8d41d4ca24b1e993eb943b0384210d1a;p=clang Add some FIXMEs to the ASTReader code git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165138 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Serialization/ASTReaderDecl.cpp b/lib/Serialization/ASTReaderDecl.cpp index c291b4b240..54344051dc 100644 --- a/lib/Serialization/ASTReaderDecl.cpp +++ b/lib/Serialization/ASTReaderDecl.cpp @@ -322,6 +322,8 @@ void ASTDeclReader::Visit(Decl *D) { // FunctionDecl's body was written last after all other Stmts/Exprs. // We only read it if FD doesn't already have a body (e.g., from another // module). + // FIXME: Also consider = default and = delete. + // FIXME: Can we diagnose ODR violations somehow? if (Record[Idx++] && (!Reader.getContext().getLangOpts().Modules || !FD->hasBody())) FD->setLazyBody(GetCurrentCursorOffset());