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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to