[PATCH] CodeGen: Implement the hint value for dyn_cast as described in the Itanium C++ ABI.

Benjamin Kramer benny.kra at gmail.com
Sat Feb 2 10:47:00 PST 2013



================
Comment at: lib/CodeGen/CGExprCXX.cpp:1711
@@ -1710,1 +1710,3 @@
 
+/// \brief Compute the src2dst_offset hint as described in Itanium C++ ABI 2.9.7
+static CharUnits computeOffsetHint(ASTContext &Context,
----------------
Sean Silva wrote:
> is 2.9.7 a section number or a version number of the ABI?
Section number. Do you have a suggestion how to make that more clear in the comment?


http://llvm-reviews.chandlerc.com/D364



More information about the cfe-commits mailing list