summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-04-29 07:47:42 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-04-29 07:47:42 +0000
commitefd5671a27e12dc8723be1d7b14fae45a8b0068b (patch)
tree9fe4522a6e90de6c5526a7727b719be15b6d75a7 /llvm/test
parente1bd40cfbd618e1ebeba288e844d424df10c601d (diff)
downloadbcm5719-llvm-efd5671a27e12dc8723be1d7b14fae45a8b0068b.tar.gz
bcm5719-llvm-efd5671a27e12dc8723be1d7b14fae45a8b0068b.zip
Don't assume that the AST methods will only be invoked on C++ types.
Teaches isLiteralType and isTrivialType to behave plausibly and most importantly not crash on normal RecordDecls. Sadly I have no real way to test this. I stumbled onto it by mis-implementing a warning. llvm-svn: 130483
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud