Skip to content
  • Jakob Stoklund Olesen's avatar
    Fix evil TableGen bug in template parameters with defaults. · 0e457622
    Jakob Stoklund Olesen authored
    If a TableGen class has an initializer expression containing an X.Y subexpression,
    AND X depends on template parameters,
    AND those template parameters have defaults,
    AND some parameters with defaults are beyond position 1,
    THEN parts of the initializer expression are evaluated prematurely with the default values when the first explicit template parameter is substituted, before the remaining explicit template parameters have been substituted.
    
    llvm-svn: 99492
    0e457622
Loading