Ericsson / clang

Cross Translation Unit analysis capability for Clang Static Analyzer. (Fork of official clang at http://llvm.org/git/clang)
http://clang.llvm.org/
Other
15 stars 10 forks source link

fix unsupported node errors on protobuf #555

Closed dkrupp closed 5 years ago

balazske commented 5 years ago

Many of the unsupported construct errors can come from this place in ASTNodeImporter::VisitMemberExpr:

  if (E->hasExplicitTemplateArgs()) {
    // FIXME: handle template arguments
    return make_error<ImportError>(ImportError::UnsupportedConstruct);
  }

In the other places there is an error message printed.

martong commented 5 years ago

I hope #565 fixes this.