TOT broken in release build (issue in AST/TemplateBase.h)

The 85500 commit causes build error the build when NDEBUG is not defined.
This is due to an issue in AST/TemplateBase.h

The Kind enum is declared conditionally, but used in many places:

#ifndef NDEBUG
   enum Kind {
     K_None,
     K_DeclaratorInfo,
     K_Expression
   } Kind;
#endif

Regards
-- Jean-Daniel

Fixed in r85509; thanks for noticing this!

  - Doug

Douglas Gregor wrote:


  
The 85500 commit causes build error the build when NDEBUG is not
defined.
This is due to an issue in AST/TemplateBase.h

The Kind enum is declared conditionally, but used in many places:

#ifndef NDEBUG
  enum Kind {
    K_None,
    K_DeclaratorInfo,
    K_Expression
  } Kind;
#endif
    

Fixed in r85509; thanks for noticing this!
  

Sorry about that! I knew I should’ve kicked off a release build before going to bed.

John.