On Apr 28, 2012, at 6:00, Benjamin Kramer wrote: > Modified: cfe/trunk/lib/AST/Type.cpp > URL: > http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Type.cpp?rev=155756&r1=155755&r2=155756&view=diff > ============================================================================== > --- cfe/trunk/lib/AST/Type.cpp (original) > +++ cfe/trunk/lib/AST/Type.cpp Sat Apr 28 05:00:42 2012 > @@ -895,6 +895,14 @@ > } > > bool QualType::isPODType(ASTContext &Context) const { > + // C++11 has a more relaxed definition of POD. > + if (Context.getLangOpts().CPlusPlus0x) > + return isCXX11PODType(Context); > + > + return isCXX98PODType(Context); > +} > +
This seems small enough to put in Type.h for inlining. Just a thought? Jordy _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
