Skip to content
Commit efd5671a authored by Chandler Carruth's avatar Chandler Carruth
Browse files

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
parent e1bd40cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment