This is an archive of the discontinued LLVM Phabricator instance.

[DeclPrinter] Handle built-in C++ types in -ast-print.
AbandonedPublic

Authored by tra on Jan 5 2018, 11:23 AM.

Details

Reviewers
arphaman
Summary

Fixes a crash in clang when it crashed with -ast-print on code that contained decltype(nullptr).

Event Timeline

tra created this revision.Jan 5 2018, 11:23 AM
tra abandoned this revision.Jan 5 2018, 1:11 PM

Never mind. There must be something else going on in the case where I've discovered the crash. the test case in this patch does not really reproduce the issue by itself. :-(