diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-03-25 06:23:34 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-03-25 06:23:34 +0000 |
commit | d1baa252c41322d3a38d4360ba1dbcc20c0badf9 (patch) | |
tree | 711a7cb3a81f2b77e31f880ef784382f7cb0c691 /lib/MC/MachObjectWriter.cpp | |
parent | f906cb933e4daa4b77c27941365b79cca1b697e9 (diff) |
Fix evil TableGen bug in template parameters with defaults.
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99492 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MachObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions