michaelwu added a comment. It shouldn't be too hard to make a test using `c-index-test`. `-test-print-type` will print out the pointee type if it's valid.
================ Comment at: tools/libclang/CXType.cpp:448 break; + case Type::Auto: + TP = cast<DeducedType>(TP)->getDeducedType().getTypePtrOrNull(); ---------------- Seems like this might make sense for `Type::DeducedTemplateSpecialization` too. https://reviews.llvm.org/D51281 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits