[PATCH] D88665: [ASTImporter][AST] Fix structural equivalency crash on dependent FieldDecl

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 1 08:51:08 PDT 2020


martong added a comment.

The added test causes the below assertion in the baseline (w/o the fix):

  ASTTests: ../../git/llvm-project/clang/lib/AST/ExprConstant.cpp:14543: llvm::APSInt clang::Expr::EvaluateKnownConstInt(const clang::ASTContext&, llvm::SmallVectorImpl<std::pair<clang::SourceLocation, clang::PartialDiagnostic> >*) const: Assertion `!isValueDependent() && "Expression evaluator can't be called on a dependent expression."' failed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88665/new/

https://reviews.llvm.org/D88665



More information about the cfe-commits mailing list