summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/regutils.h
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2013-04-03 02:11:36 +0000
committerRichard Trieu <rtrieu@google.com>2013-04-03 02:11:36 +0000
commit981de5cef3ef4bf2502717bbeeaa772cdb870237 (patch)
tree4eecb53fed53131777e8c4cd12a4fbb2d323e9ea /llvm/lib/Support/regutils.h
parent43fe217b119998264be04a773c4770592663c306 (diff)
downloadbcm5719-llvm-981de5cef3ef4bf2502717bbeeaa772cdb870237.tar.gz
bcm5719-llvm-981de5cef3ef4bf2502717bbeeaa772cdb870237.zip
Fix a crasher in Template Diffing.
Value depenedent expressions for default arguments cannot be evaluated. Instead, use the desugared template type to get an argument expression that can be used. This is needed for both integer and declaration arguements. Also, move this common code into a separate function. Patch by Olivier Goffart! llvm-svn: 178609
Diffstat (limited to 'llvm/lib/Support/regutils.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud