diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-04-29 07:47:42 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-04-29 07:47:42 +0000 |
commit | efd5671a27e12dc8723be1d7b14fae45a8b0068b (patch) | |
tree | 9fe4522a6e90de6c5526a7727b719be15b6d75a7 /llvm/test | |
parent | e1bd40cfbd618e1ebeba288e844d424df10c601d (diff) | |
download | bcm5719-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