Skip to content
  • Richard Smith's avatar
    Deal with a horrible C++11 special case. If a non-literal type has a constexpr · 6331c408
    Richard Smith authored
    constructor, and that constructor is used to initialize an object of static
    storage duration such that all members and bases are initialized by constant
    expressions, constant initialization is performed. In this case, the object
    can still have a non-trivial destructor, and if it does, we must emit a dynamic
    initializer which performs no initialization and instead simply registers that
    destructor.
    
    llvm-svn: 150419
    6331c408
Loading