[cfe-commits] r124349 - /cfe/trunk/lib/AST/ASTImporter.cpp

John McCall rjmccall at apple.com
Wed Jan 26 18:37:01 PST 2011


Author: rjmccall
Date: Wed Jan 26 20:37:01 2011
New Revision: 124349

URL: http://llvm.org/viewvc/llvm-project?rev=124349&view=rev
Log:
Import three interesting bits that apply only to C++ methods.


Modified:
    cfe/trunk/lib/AST/ASTImporter.cpp

Modified: cfe/trunk/lib/AST/ASTImporter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTImporter.cpp?rev=124349&r1=124348&r2=124349&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTImporter.cpp (original)
+++ cfe/trunk/lib/AST/ASTImporter.cpp Wed Jan 26 20:37:01 2011
@@ -2396,6 +2396,9 @@
   }
   ToFunction->setAccess(D->getAccess());
   ToFunction->setLexicalDeclContext(LexicalDC);
+  ToFunction->setVirtualAsWritten(D->isVirtualAsWritten());
+  ToFunction->setTrivial(D->isTrivial());
+  ToFunction->setPure(D->isPure());
   Importer.Imported(D, ToFunction);
 
   // Set the parameters.





More information about the cfe-commits mailing list