[cfe-dev] Where to declare CharUnits wrapper of RoundUpToAlignment()?
daniel at zuster.org
Wed Jan 27 12:16:34 PST 2010
Why not make it part of CharUnits?
On Wed, Jan 27, 2010 at 11:36 AM, Ken Dyck <Ken.Dyck at onsemi.com> wrote:
> I'd like to add a wrapper function for the llvm::RoundUpToAlignment()
> function. It would take and return values in CharUnits. Any
> recommendations for which header file should hold its declaration?
> All of the calls to llvm::RoundUpToAlignment() occur in the CodeGen and
> AST libraries, so somewhere in AST seems appropriate. But where? In
> ASTContext.h, maybe? Or would a new ASTExtras.h be more appropriate?
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
More information about the cfe-dev