Commit bbfd6ea2 authored by 4ast's avatar 4ast Committed by GitHub

Merge pull request #1505 from iovisor/yhs_dev

fix a compilation error with latest llvm/clang trunk
parents bb3e873f c0d1694e
......@@ -160,7 +160,7 @@ bool TracepointTypeVisitor::VisitFunctionDecl(FunctionDecl *D) {
auto type = arg->getType();
if (type->isPointerType() &&
type->getPointeeType()->isStructureOrClassType()) {
auto type_name = QualType::getAsString(type.split());
auto type_name = type->getPointeeType().getAsString();
string tp_cat, tp_evt;
if (_is_tracepoint_struct_type(type_name, tp_cat, tp_evt)) {
string tp_struct = GenerateTracepointStruct(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment