[PATCH] D112013: [clang][ASTImporter] Fix for importing functions with EST_Unevaluated prototype.
Shafik Yaghmour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 19 08:41:13 PDT 2021
shafik added inline comments.
================
Comment at: clang/unittests/AST/ASTImporterTest.cpp:6180
+ ASSERT_FALSE(FromCtor->getTypeSourceInfo());
+ // Set a TypeSourceInfo for the function, this state may occur in reality.
+ TypeSourceInfo *FromTSI = FromTU->getASTContext().getTrivialTypeSourceInfo(
----------------
steakhal wrote:
> Perhaps, put here a `FIXME` to replace this with a real-world scenario.
I think it is useful to have cases that we run into in practice as a regression test but it would be nice to see a more general test as well.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112013/new/
https://reviews.llvm.org/D112013
More information about the cfe-commits
mailing list