Displaying 2 results from an estimated 2 matches for "r148553".
2012 Feb 07
5
[LLVMdev] Static ctors in llvm::Attribute
Hi Kostya,
One unexpected piece of fallout in your recent attributes change (r148553) was that it introduced a bunch of static constructors into .o files that #include Attributes.h, due to stuff like this:
const Attributes None (0); ///< No attributes have been set
const Attributes ZExt (1<<0); ///< Zero extended before/after call
const Attributes SExt...
2012 Feb 07
0
[LLVMdev] Static ctors in llvm::Attribute
...roblem.
Let me try to come up with a solution that does not involve constructors
but also does not sacrifice type safety.
On Tue, Feb 7, 2012 at 12:01 PM, Chris Lattner <clattner at apple.com> wrote:
> Hi Kostya,
>
> One unexpected piece of fallout in your recent attributes change (r148553)
> was that it introduced a bunch of static constructors into .o files that
> #include Attributes.h, due to stuff like this:
>
> const Attributes None (0); ///< No attributes have been set
> const Attributes ZExt (1<<0); ///< Zero extended before/after call...