Index: clang/lib/Interpreter/Value.cpp =================================================================== --- clang/lib/Interpreter/Value.cpp +++ clang/lib/Interpreter/Value.cpp @@ -108,7 +108,7 @@ if (!BT || BT->isNullPtrType()) return Value::K_PtrOrObj; - switch (QT->getAs()->getKind()) { + switch (QT->castAs()->getKind()) { default: assert(false && "Type not supported"); return Value::K_Unspecified;