Index: clang/lib/Index/USRGeneration.cpp =================================================================== --- clang/lib/Index/USRGeneration.cpp +++ clang/lib/Index/USRGeneration.cpp @@ -895,7 +895,7 @@ } // Unhandled type. - Out << ' '; + Out << '?'; break; } while (true); } Index: clang/test/Index/unsupported.cpp =================================================================== --- /dev/null +++ clang/test/Index/unsupported.cpp @@ -0,0 +1,10 @@ +// RUN: %clang_extdef_map %s -- | FileCheck %s + +struct X { + bool f(char *); +}; + +typedef bool (X::*XFP)(char *); + +// CHECK-NOT: {{ [^ ]+ }} +void f(XFP xfp) {}